write

Import in python using from mcot.core.cifti import write

mcot.core.cifti.write(filename: str, arr: numpy.ndarray, axes: Tuple[nibabel.cifti2.cifti2_axes.Axis])[source]

Writes a CIFTI file guessing the extension of the filename

Parameters:
  • filename – full filename of basename
  • arr – array to be stored
  • axes – CIFTI axes describing the rows/columns of a CIFTI file