phys2cvr.io.export_nifti

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

Export a nifti file.

Parameters:
datanp.ndarray

Data to be exported

imgnib.img

Nibabel image object

fnamestr or path

Name of the output file