Go to the documentation of this file.
29 #ifndef MS_FITSIDITOMS_H
30 #define MS_FITSIDITOMS_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/fits/FITS/hdu.h>
34 #include <casacore/tables/Tables/Table.h>
35 #include <casacore/tables/Tables/TableDesc.h>
36 #include <casacore/tables/Tables/TableRecord.h>
37 #include <casacore/tables/Tables/TableColumn.h>
38 #include <casacore/casa/Arrays/Vector.h>
39 #include <casacore/casa/Arrays/Matrix.h>
40 #include <casacore/casa/Containers/Block.h>
41 #include <casacore/casa/Logging/LogIO.h>
42 #include <casacore/measures/Measures/MFrequency.h>
43 #include <casacore/ms/MeasurementSets/MeasurementSet.h>
44 #include <casacore/casa/BasicSL/String.h>
Bool fillCorrelatorModelTable()
fill the optional Correlator Model table with the content of INTERFEROMETER_MODEL
Define the structure of a Casacore table.
FITSIDItoMS converts a FITS-IDI file to a CASA Measurement Set
Matrix< Int > corrProduct_p
uInt itsNrMSKs
Buffer for storing the MSK's, MS-specific FITS keywords.
Vector< Double > refVal_p
void updateTables(const String &tabName)
update the Polarization table
void fillObsTables()
Fill the Observation and ObsLog tables.
Bool fillWeatherTable()
fill the optional Weather table with the content of WEATHER
void fillFieldTable()
fill the Field table void fillFieldTable(Int nField);
A hierarchical collection of named fields of various types.
Vector< Double > refPix_p
const TableDesc & getDescriptor()
Get an appropriate TableDesc (this is the same TableDesc used to construct any Table objects returned...
TableInfo itsTableInfo
Table info.
Vector< Int > itsNelem
The number of elements for each column of the BinaryTableExtension.
Table oldfullTable(const String &tabName)
Get the full table, using the supplied arguments to construct the table.
const Table & nextRow()
Get a Table with a single row, the next row of the FITS table.
TableDesc itsTableDesc
Table descriptor for construction.
Bool readFitsFile(const String &msFile)
Read all the data from the FITS file and create the MeasurementSet.
Table itsCurRowTab
The scratch table containing the current row.
Bool fillSysCalTable()
fill the optional SysCal table with the content of SYSTEM_TEMPERATURE
TableRecord & getKeywords()
Return the Table keywords (this is the same TableRecord used in any Table objects returned by this cl...
Bool isfirstMain()
is this the first UV_DATA extension
void fillSpectralWindowTable()
fill the Spectral Window table with the content of FREQUENCY
void fillFeedTable()
fill the Feed table with minimal info needed for synthesis processing
void fillMSMainTable(const String &MSFileName, Int &nField, Int &nSpW)
Fill the main table from the Primary group data.
Float itsVersion
The MS version.
ostream-like interface to creating log messages.
void convertKeywords()
Build part of the keywords of the itsCurRowTab.
Main interface class to a read/write table.
Bool handlePhaseCal()
store the information from the PHASE-CAL table in a calibration table
Bool uv_data_hasWeights_p
const Table & thisRow()
Get a Table with a single row, the current row of the FITS table.
TableRecord itsKwSet
Table keyword set.
Bool fillFlagCmdTable()
fill the optional FlagCmd table with the content of FLAG
Float msVersion() const
Get the version of the archived MS.
MFrequency::Types freqsys_p
void fillAntennaTable()
Read a binary table extension of type ANTENNA and create an antenna table void fillAntennaTable(Binar...
static Vector< Double > effChBw
Table type, subtype and further info.
void fillRow()
Fill in each row as needed.
this file contains all the compiler specific defines
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
static std::map< Int, Int > digiLevels
Vector< Bool > itsIsArray
For each column: is it an array?
Bool handleModelComps()
store the information from the MODEL_COMPS table
A Table intended to hold astronomical data (a set of Measurements).
String: the storage and methods of handling collections of characters.
void fixEpochReferences()
fix up the EPOCH MEASURE_REFERENCE keywords
Vector< String > coordType_p
bool Bool
Define the standard types used by Casacore.
void convertMSKeywords()
Convert the MS-specific keywords in the FITS binary table.
Bool weather_hasElectron_p
A class to provide easy access to MeasurementSet columns.
static std::map< Int, Int > antIdFromNo
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.
void describeColumns()
Convert FITS field descriptions to TableColumn descriptions.
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 handleGainCurve()
store the information from the GAIN_CURVE table in a calibration table
Vector< Double > receptorAngle_p