Skip to content

Hdu

Defined in: hdu/hdu.ts:16

One Header-Data Unit: its parsed FitsHeader and the location of its data within the source, without decoding the data itself.

FITS Standard v4.0 §3.3-3.4: primary HDU and extensions

readonly dataByteLength: number;

Defined in: hdu/hdu.ts:28

Data unit length in bytes, padded to the 2880 block.


readonly dataOffset: number;

Defined in: hdu/hdu.ts:26

Byte offset of the data unit from the start of the source.


readonly dataSizeKnown: boolean;

Defined in: hdu/hdu.ts:35

false when dataByteLength does not reflect the full declared data unit: a structural keyword was missing or out of domain, or the source was truncated. Reading dataOffset .. dataOffset + dataByteLength is only safe when this is true.


readonly header: FitsHeader;

Defined in: hdu/hdu.ts:20


readonly index: number;

Defined in: hdu/hdu.ts:18

Zero-based position in the file.


readonly optional name?: string;

Defined in: hdu/hdu.ts:22

EXTNAME, when present.


readonly type: HduType;

Defined in: hdu/hdu.ts:19


readonly optional version?: number;

Defined in: hdu/hdu.ts:24

EXTVER, when present.