pySPFM.io.write_data#
Write data into NIFTI file.
- Parameters:
data ((T x S)) – Data in 2D.
filename (str or path) – Name of the output file.
masker (nilearn.maskers.NiftiMasker) – Masker.
orig_img (nibabel.nifti1.Nifti1Image or str or path) – Original data.
command (str) – pySPFM command to add to the header.
use_bids (bool, optional) – Whether to use BIDS format, by default False