brainstat.context.histology.read_histology_profile

brainstat.context.histology.read_histology_profile(data_dir=None, template='fsaverage', overwrite=False)[source]

Reads BigBrain histology profiles.

Parameters
  • data_dir (str, pathlib.Path, None, optional) – Path to the data directory. If data is not found here then data will be downloaded. If None, data_dir is set to the home directory, by default None.

  • template (str, optional) – Surface template. Currently allowed options are ‘fsaverage’ and ‘fslr32k’, by default ‘fsaverage’.

  • overwrite (bool, optional) – If true, existing data will be overwrriten, by default False.

Returns

numpy.ndarray – Depth-by-vertex array of BigBrain intensities.