Skip to content

Function: write_vol()

ts
function write_vol(vol, filePath): Promise<void>;

Defined in: src/io/nifti.ts:30

Write a NeuroVol to a NIfTI file.

Thin wrapper over writeVol; see io.ts for the implementation.

Parameters

vol

NeuroVol

The volume to write.

filePath

string

Destination path.

Returns

Promise<void>

Released under the MIT License.