29 #ifndef MS_FITSIDITOMS_H
30 #define MS_FITSIDITOMS_H
FITSIDItoMS converts a FITS-IDI file to a CASA Measurement Set.
static std::map< Int, Int > antIdFromNo
TableInfo itsTableInfo
Table info.
FITSIDItoMS1(FitsInput &in, const String &correlat, const Int &obsType=0, const Bool &initFirstMain=True)
The only constructor is from a FitsInput.
void getAxisInfo()
Read the axis info, throws an exception if required axes are missing.
Bool weather_hasElectron_p
const Table & nextRow()
Get a Table with a single row, the next row of the FITS table.
void describeColumns()
Convert FITS field descriptions to TableColumn descriptions.
Bool readFitsFile(const String &msFile)
Read all the data from the FITS file and create the MeasurementSet.
Main interface class to a read/write table.
Table itsCurRowTab
The scratch table containing the current row.
Bool fillSysCalTable()
fill the optional SysCal table with the content of SYSTEM_TEMPERATURE
void fillSpectralWindowTable()
fill the Spectral Window table with the content of FREQUENCY
void fillMSMainTable(const String &MSFileName, Int &nField, Int &nSpW)
Fill the main table from the Primary group data.
Vector< Double > refVal_p
void convertKeywords()
Build part of the keywords of the itsCurRowTab.
TableRecord & getKeywords()
Return the Table keywords (this is the same TableRecord used in any Table objects returned by this cl...
void updateTables(const String &tabName)
update the Polarization table
void fillFeedTable()
fill the Feed table with minimal info needed for synthesis processing
uInt itsNrMSKs
Buffer for storing the MSK's, MS-specific FITS keywords.
Bool handlePhaseCal()
store the information from the PHASE-CAL table in a calibration table
void fillFieldTable()
fill the Field table void fillFieldTable(Int nField);
ostream-like interface to creating log messages.
Bool uv_data_hasWeights_p
TableRecord itsKwSet
Table keyword set.
const TableDesc & getDescriptor()
Get an appropriate TableDesc (this is the same TableDesc used to construct any Table objects returned...
MFrequency::Types freqsys_p
Table oldfullTable(const String &tabName)
Get the full table, using the supplied arguments to construct the table.
Vector< Double > refPix_p
Vector< Int > itsNelem
The number of elements for each column of the BinaryTableExtension.
TableDesc itsTableDesc
Table descriptor for construction.
void fillRow()
Fill in each row as needed.
Bool isfirstMain()
is this the first UV_DATA extension
bool Bool
Define the standard types used by Casacore.
Float itsVersion
The MS version.
Table type, subtype and further info.
const Table & thisRow()
Get a Table with a single row, the current row of the FITS table.
void fixEpochReferences()
fix up the EPOCH MEASURE_REFERENCE keywords
void convertMSKeywords()
Convert the MS-specific keywords in the FITS binary table.
A hierarchical collection of named fields of various types.
void setupMeasurementSet(const String &MSFileName, Bool useTSM=True, Bool mainTbl=False, Bool addCorrMod=False, Bool addSyscal=False, Bool addWeather=False)
Set up the MeasurementSet, including StorageManagers and fixed columns.
A Table intended to hold astronomical data (a set of Measurements).
void fillAntennaTable()
Read a binary table extension of type ANTENNA and create an antenna table void fillAntennaTable(Bina...
static Vector< Double > effChBw
Bool fillFlagCmdTable()
fill the optional FlagCmd table with the content of FLAG
Float msVersion() const
Get the version of the archived MS.
Bool handleGainCurve()
store the information from the GAIN_CURVE table in a calibration table
Vector< Double > receptorAngle_p
Bool fillCorrelatorModelTable()
fill the optional Correlator Model table with the content of INTERFEROMETER_MODEL ...
A class to provide easy read-write access to MeasurementSet columns.
String: the storage and methods of handling collections of characters.
Vector< Bool > itsIsArray
For each column: is it an array?
Define the structure of a Casacore table.
Matrix< Int > corrProduct_p
Bool handleModelComps()
store the information from the MODEL_COMPS table
static std::map< Int, Int > digiLevels
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
void fillObsTables()
Fill the Observation and ObsLog tables.
Bool fillWeatherTable()
fill the optional Weather table with the content of WEATHER
Vector< String > coordType_p
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.