functions in bear.i -
bear_faxis
|
bear_faxis Returns frequency axis for a BEAR data set in cm-1. INPUTS: fh: FITS file handle of a BEAR cube or spectrum as used in fits.i or header array as used in newfits.i. KEYWORDS: P,CEN_FREQ,FILTERLB,FILTERUB,FSR_OFF,FSR_LEN,NAXIS3,SPAXIS As keywords override FITS cards, it is not necessary to provide fh if a sufficient number of keywords are given. Necessary information is: P ; CEN_FREQ: central frequency, or indeed any frequency in the FSR, defaults to (FILTERLB+FILTERUB)/2; NAXIS3: number of points in the spectral dimension, which is determined by SPAXIS; SPAXIS: index of the spectral dimension, defaults to the last one (FITS card "NAXIS"); FSR_OFF: offset between FSR ad cube, defaults to 0; FSR_LEN: number of planes in the FSR, defaults to NAXIS3. FITS cards used: P,FILTERLB,FILTERUB,FSR_OFF,FSR_LEN,NAXISn,NAXIS |
is_bear
|
is_bear(fh) Tells if FITS header FH belongs to a BEAR data set, using FITS card "INSTRUME". |