findHdu
function findHdu( hdus, name, version?): Hdu | undefined;Defined in: hdu/hdu.ts:43
Find an extension by EXTNAME (case-insensitive), optionally also
matching EXTVER. An HDU with no EXTVER is treated as version 1 for
the match, following astropy. Returns the first match, or undefined.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hdus |
readonly Hdu[] |
name |
string |
version? |
number |
Returns
Section titled “Returns”Hdu | undefined