Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.
Akio Taniguchi edited this page Apr 3, 2017 · 1 revision

Summary

FMFITS

from astropy.io import fits
f = fits.open('sample_fmfits.fits')
f.info()
Filename: sample_fmfits.fits
No.    Name         Type      Cards   Dimensions   Format
0    PRIMARY     PrimaryHDU       4   ()
1    OBSINFO     BinTableHDU     38   4R x 9C      [3A, 3A, D, D, D, D, D, D, J]
2    FMLOLOG     BinTableHDU     27   1606R x 6C   [26A, 4A, L, D, D, D]
3    BACKEND     BinTableHDU     46   6420R x 17C   [J, 5D, D, D, D, D, D, J, J, J, D, D, D, 26A, 4A, 8A, 1024E]

PRIMARY HDU

PRIMARY HDU is a primary HDU which is essential to add at least a binary table HDU to a FITS. In FMFITS, PRIMARY HDU has no meaning and developer should not store any data in it.

Keyword Type Value Description
SIMPLE - T conforms to FITS standard
BITPIX - 8 array data type
NAXIS - 0 number of array dimensions
EXTEND - T -

OBSINFO HDU

OBSINFO HDU is a binary table HDU which stores information of an observation in header part and information of each array of a spectrometer in data part. It also declares that the FITS is a FMFITS by FITSTYPE in header part. In FMFlow, its information is used to create an fmarray.

essential keywords

Keyword Type Value (example) Description
EXTNAME - OBSINFO -
FITSTYPE - (FMFITSv0.2) -
TELESCOP - (NRO45m) -
DATE-OBS - (YYYY-mm-ddTHH:MM:SS.sss) -
OBSERVER - (Snoopy) -
OBJECT - (Ori-KL) -
RA - () -
DEC - () -
EQUINOX - (2000.0) -

functions/classes using keywords

Keyword Functions Classes Description

FMLOLOG HDU

Keyword Type Value Description

functions/classes using keywords

Keyword Functions Classes Description

BACKEND HDU

Keyword Type Value Description

functions/classes using keywords

Keyword Functions Classes Description

ANTENNA HDU

Keyword Type Value Description

functions/classes using keywords

Keyword Functions Classes Description

Clone this wiki locally