OpenFitsOptions
Defined in: hdu/read-hdus.ts:303
Options for openFits.
Extends
Section titled “Extends”Properties
Section titled “Properties”maxHeaderBlocks?
Section titled “maxHeaderBlocks?”optional maxHeaderBlocks?: number;Defined in: hdu/read-hdus.ts:310
Cap on how many 2880-byte blocks a single header may span before
enumeration stops, used to bound the cost of a malformed source that
never emits END. Default 1000 (~36 000 cards), far beyond any
conforming header.
signal?
Section titled “signal?”optional signal?: AbortSignal;Defined in: hdu/read-hdus.ts:315
Cancels the walk. Checked before each block read, so an abort takes effect promptly and rejects with the signal’s reason.
strict?
Section titled “strict?”optional strict?: boolean;Defined in: header/parse-header.ts:16
Reject standard violations instead of recovering from them. Default
false: parse leniently and report issues on warnings, matching how
astropy and CFITSIO tolerate real-world archive files.