Skip to content

Interface: HeaderInfo ​

Defined in: src/io/io.ts:95

Header information from neuroimaging file.

Fields are raw header values, not the interpreted geometry or intensities that readVol produces.

Properties ​

dim ​

ts
dim: number[];

Defined in: src/io/io.ts:96


spacing ​

ts
spacing: number[];

Defined in: src/io/io.ts:102

Raw pixdim[1..3] from the header. This can differ from the voxel sizes of affine (for example when the sform's scaling disagrees with pixdim); readVol sets space.spacing from the affine's column norms instead.


origin ​

ts
origin: number[];

Defined in: src/io/io.ts:103


datatype ​

ts
datatype: string;

Defined in: src/io/io.ts:104


bitpix ​

ts
bitpix: number;

Defined in: src/io/io.ts:105


affine ​

ts
affine: number[][];

Defined in: src/io/io.ts:106


description ​

ts
description: string;

Defined in: src/io/io.ts:107


qformCode ​

ts
qformCode: number;

Defined in: src/io/io.ts:108


sformCode ​

ts
sformCode: number;

Defined in: src/io/io.ts:109


voxOffset ​

ts
voxOffset: number;

Defined in: src/io/io.ts:110


sclSlope ​

ts
sclSlope: number;

Defined in: src/io/io.ts:111


sclInter ​

ts
sclInter: number;

Defined in: src/io/io.ts:112

Released under the MIT License.