now_2023.data_generation.generate_cropped_hc_dataset

now_2023.data_generation.generate_cropped_hc_dataset(raw_dataset_folder: Path, hemi: str, output_folder: Path | None = None, verbose: bool = True) None[source]

Generate a version of the cropped HC dataset.

This function works with the raw dataset and will crop the available images.

Parameters:
  • raw_dataset_folder (Path) – The path to the raw dataset downloaded.

  • hemi (str) – Either “left” or “right”. Will crop the associated hipocampus.

  • output_folder (Path, optional) – If specified, the output dataset will be written in this folder, under a “subjects” subfolder. Otherwise, the output dataset will be written in the same folder as the raw input dataset, under “cropped/subjects”.

  • verbose (bool, optional) – If True, the function will print information to stdout.