Function: write_vol()
ts
function write_vol(vol, filePath): Promise<void>;Defined in: src/io/nifti.ts:33
Write a NeuroVol to a NIfTI file.
Thin wrapper over writeVol with default options; see io.ts for the implementation. Compression follows the extension: a .nii.gz path is gzipped and a .nii path is not.
Parameters
vol
The volume to write.
filePath
string
Destination path.
Returns
Promise<void>