Construct from an input file containing a FITS primary group hdu. Throws an exception if the datatype is not Short, FitsLong or Float
Attach to the input file, create the appropriate PrimaryGroup. Throws an exception if the datatype is not Short, FitsLong or Float
Detach from the input file
Number of dimensions
Length of i'th axis
Coordinate type
Coordinate reference value
Coordinate reference pixel
Coordinate delta
Keyword of given type
All keywords
Advance to next keyword
Number of groups
Number of parameters
Parameter type
Read the next group
Get i'th parameter
Get group data with index i, scaled and converted to Double
The destructor is fairly trivial.
Read all the data from the FITS file and create the MeasurementSet. Throws an exception when it has severe trouble interpreting the FITS file.
Read the axis info of the primary group, throws an exception if required axes are missing.
Set up the MeasurementSet, including StorageManagers and fixed columns. If useTSM is True, the Tiled Storage Manager will be used to store DATA, FLAG and WEIGHT_SPECTRUM. Use obsType to choose the tiling scheme.
Fill the Observation and ObsLog tables
Fill the main table from the Primary group data if we have enough memory try to do it in mem
Read a binary table extension of type AIPS AN and create an antenna table
fill spectralwindow table from FITS FQ table + header info
fill spectralwindow table from header
fill Field table from FITS SU table
fill Field table from header (single source fits)
fill the Feed table with minimal info needed for synthesis processing
fill the Pointing table (from Field table, all antennas are assumed to point in the field direction) and possibly the Source table.
fix up the EPOCH MEASURE_REFERENCE keywords using the value found in the (last) AN table