mcot.cifti.cmd¶
Functions
|
Input greyordinate image. |
|
Creates function to write provided output to a path. |
|
Reads in arrays across the vertex. |
|
Reads one or two surfaces from GIFTI files. |
|
Reads in surface parcellation from a label file. |
|
Reads in a volume from a NIFTI or CIFTI file. |
greyordinate_in¶
output¶
-
mcot.cifti.cmd.
output
(path, format=None)[source]¶ Creates function to write provided output to a path.
- Parameters
path – output filename
format –
Format of the output file. Default is based on extension:
’.gii’ -> GIFTI (use ‘@’-separator to store left and right hemisphere separately)
’.nii’ -> CIFTI
’.nii.gz’ -> NIFTI
- Returns
function writing a volume, surface, or greyordinate array
surface_arr_in¶
surface_in¶
-
mcot.cifti.cmd.
surface_in
(value)[source]¶ Reads one or two surfaces from GIFTI files.
To read both surfaces seperate them with an @ sign
- Parameters
value – input filename (or ‘@’-separated filenames)
- Returns
tuple with left and right surface