osl_dynamics.files#

Files included within osl-dynamics.


Available parcellations:

  • fMRI_parcellation_ds8mm.nii.gz

  • fmri_d100_parcellation_with_PCC_reduced_2mm_ss5mm_ds8mm.nii.gz (the ‘Giles parcellation’)

  • fmri_d100_parcellation_with_PCC_tighterMay15_v2_8mm.nii.gz

  • fmri_d100_parcellation_with_PCC_tighterMay15_v2_6mm_exclusive.nii.gz

  • fmri_d100_parcellation_with_3PCC_ips_reduced_2mm_ss5mm_ds8mm.nii.gz

  • fmri_d100_parcellation_with_3PCC_ips_reduced_2mm_ss5mm_ds8mm_adj.nii.gz

  • aal_cortical_merged_8mm_stacked.nii.gz

  • Glasser50_space-MNI152NLin6_res-8x8x8.nii.gz

  • Glasser52_binary_space-MNI152NLin6_res-8x8x8.nii.gz (the ‘Glasser parcellation’)

  • giles_39_binary.nii.gz

If you use the Glasser52_binary_space-MNI152NLin6_res-8x8x8.nii.gz parcellation, please cite:

Kohl, O., Woolrich, M., Nobre, A. C., & Quinn, A. (2023). Glasser52: A parcellation for MEG-Analysis [Data set]. Zenodo. https://doi.org/10.5281/zenodo.10401793

See the link for further info regarding the parcel name/locations.


Available masks:

  • MNI152_T1_1mm_brain.nii.gz

  • MNI152_T1_2mm_brain.nii.gz

  • MNI152_T1_8mm_brain.nii.gz

  • ft_8mm_brain_mask.nii.gz


Subpackages#

Submodules#

Package Contents#

Functions#

check_exists(filename, directory)

Looks for a file in the current working directory and in osl-dynamics.

osl_dynamics.files.check_exists(filename, directory)[source]#

Looks for a file in the current working directory and in osl-dynamics.

Parameters:
  • filename (str) – Name of file to look for or a path to a file.

  • directory (str) – Path to directory to look in.

Returns:

filename – Full path to the file if found.

Return type:

str

Raises:

FileNotFoundError – If the file could not be found.