nigsp.io.export_nifti

nigsp.io.export_nifti(data, img, fname)[source]

Export a nifti file.

Parameters:
datanumpy.ndarray

Data to be exported

imgnib.img

Nibabel image object

fnamestr or os.PathLike

Name of the output file