output¶
Import in python using from mcot.core.scripts import output
-
mcot.core.scripts.output(path, format=None)[source]¶ Creates function to write provided output to a path
Format of the output file is based on extension: - ‘.gii’ -> GIFTI (use ‘@’-separator to store left and right hemisphere separately) - ‘.nii’ -> CIFTI - ‘.nii.gz’ -> NIFTI
Parameters: path – output filename Returns: function writing a volume, surface, or greyordinate array