enigmatoolbox.datasets.write_cifti

enigmatoolbox.datasets.write_cifti(data, dpath=None, fname=None, labels=None, surface_name='conte69', hemi='lh')[source]

Writes cifti file (authors: @NicoleEic, @saratheriver)

Parameters:
  • dpath (string) – Path to location for saving file (e.g., ‘/Users/bonjour/’)
  • fname (string) – Name of file (e.g., ‘ello.dscalar.nii’) Default is None
  • labels (list) – List of region labels Default is None
  • surface_name (string) – Name of surface {‘fsa5’, ‘conte69’} Default is ‘conte69’
  • hemi (string) – Name of hemisphere {‘lh’, ‘rh’} Default is ‘lh’