aslprep.interfaces.parcellation module
Handling functional connectvity.
- class NiftiParcellate(from_file=None, resource_monitor=None, **inputs)[source]
Bases:
SimpleInterfaceExtract timeseries and compute connectivity matrices.
Write out time series using Nilearn’s NiftiLabelMasker
- Mandatory Inputs:
atlas (a pathlike object or string representing an existing file) – Atlas file.
atlas_labels (a pathlike object or string representing an existing file) – Atlas labels file.
in_file (a pathlike object or string representing an existing file) – Input file.
mask (a pathlike object or string representing an existing file) – Brain mask file.
- Optional Inputs:
min_coverage (a float) – Coverage threshold to apply to parcels. Any parcels with lower coverage than the threshold will be replaced with NaNs. Must be a value between zero and one. Default is 0.5. (Nipype default value:
0.5)- Outputs:
coverage (a pathlike object or string representing an existing file) – Parcel-wise coverage file.
timeseries (a pathlike object or string representing an existing file) – Parcellated time series file.