20 #ifndef MIRIAD_IMPORTMIRIAD_H
21 #define MIRIAD_IMPORTMIRIAD_H
154 # define MAXFIELD 10000
223 void Error(
char *msg);
MIRIAD dataset casacore::MeasurementSet filler.
casacore::String telescope_p
void fillMSMainTable()
Fill the main table by reading in all the visibilities.
void checkInput(casacore::Block< casacore::Int > &spw, casacore::Block< casacore::Int > &wide)
Check some of the contents of the data and header read.
void fillSyscalTable()
Make a Syscal casacore::Table (can be called incrementally)
double preamble[5]
the following variables are for miriad, hence not casacore::Double/casacore::Int/Float thus the code ...
casacore::Matrix< casacore::Int > corrProduct_p
casacore::Double timeFirst_p
casacore::MDirection::Types epochRef_p
float data[2 *MAXCHAN]
casacore::Data buffers....
void fillAntennaTable()
Make an Antenna casacore::Table (can be called incrementally now)
casacore::Vector< casacore::Double > decs_p
casacore::MSColumns * msc_p
int chain[MAXWIN+MAXWIDE]
ifchain for ATCA
casacore::Vector< casacore::String > purpose_p
casacore::Vector< casacore::Int > corrIndex_p
casacore::MeasurementSet ms_p
casacore::Float phasem1[MAXANT]
void fillFeedTable()
fill the Feed table with minimal info needed for synthesis processing
casacore::Bool Qlinecal_p
void fillSourceTable()
fill Source table
casacore::Block< casacore::Vector< casacore::Double > > receptorAngle_p
casacore::Vector< casacore::String > source_p
struct casa::window WINDOW
MIRIAD dataset casacore::MeasurementSet filler.
casacore::Int nants_p
char message[MAXMSG];
casacore::Vector< casacore::Double > arrayXYZ_p
double sfreq[MAXWIN+MAXWIDE]
ostream-like interface to creating log messages.
int nwide
wide band (for CARMA these are the spectral window averages - i.e.
casacore::String object_p
casacore::String observer_p
casacore::String version_p
void Tracking(int record)
casacore::Bool Debug(int level)
Debug output level.
void fillSpectralWindowTable(casacore::String vel)
fill Spectralwindow table
casacore::Vector< casacore::Double > ras_p
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
casacore::String timsys_p
~Importmiriad()
Standard destructor.
casacore::Int nants_offset_p
casacore::String infile_p
casacore::Vector< casacore::Bool > keep_p
#define MAXFIELD
the maximum number of fields in mosaicing observations, careful, miriad often has a smaller value...
casacore::Bool compareWindows(WINDOW &w1, WINDOW &w2)
casacore::String project_p
casacore::Float inttime_p
float systemp[MAXANT *MAXWIDE]
bool Bool
Define the standard types used by Casacore.
void setupMeasurementSet(const casacore::String &MSFileName, casacore::Bool useTSM=true)
Set up the casacore::MeasurementSet, including StorageManagers and fixed columns. ...
A Table intended to hold astronomical data (a set of Measurements).
double sdf[MAXWIN+MAXWIDE]
void fillObsTables()
Fill the Observation and History (formerly ObsLog) tables.
char code[MAXWIN+MAXWIDE]
int ischan[MAXWIN+MAXWIDE]
int nschan[MAXWIN+MAXWIDE]
void fillFieldTable()
fill Field table
A class to provide easy read-write access to MeasurementSet columns.
casacore::Vector< casacore::Int > nPixel_p
casacore::Block< casacore::Int > nAnt_p
String: the storage and methods of handling collections of characters.
casacore::Vector< casacore::Int > corrType_p
casacore::Double antpos[3 *MAXANT]
Importmiriad(casacore::String &infile, casacore::Int debug=0, casacore::Bool Qtsys=false, casacore::Bool Qarrays=false, casacore::Bool Qlinecal=false)
This is an implementation helper class used to store 'local' data during the filling process...
casacore::Int freqSet_p
MIRIAD spectral window definition.
double restfreq[MAXWIN+MAXWIDE]
void fixEpochReferences()
fix up the EPOCH MEASURE_REFERENCE keywords using the value found in the (last) AN table - check if m...
casacore::Int uv_handle_p