MSMainEnums.h

Classes

MSMainEnums -- Enums for the MeasurementSet main table (full description)

class MSMainEnums

Types

enum PredefinedColumns

UNDEFINED_COLUMN = 0
"True" columns are defined.
TYPE - UNIT - MEASURE
ANTENNA1
ID of first antenna in antenna-pair. This is a key into the ANTENNA table. Ranges from 0 to NUM_ANT-1.
Int
ANTENNA2
ID of second antenna in antenna-pair. For SD ANTENNA1==ANTENNA2
Int
ARRAY_ID
ARRAY id.
Int.
DATA_DESC_ID
Data description id
Int.
EXPOSURE
Effective integration time (i.e.<=INTERVAL)
Double - s.
FEED1
Feed id on ANTENNA1.
Int.
FEED2
Feed id on ANTENNA2.
Int.
FIELD_ID
Unique id for this pointing (or drift scan)
Int
FLAG
The data flags, array of bools with same shape as data. Data is flagged bad if FLAG is True.
Bool(Nc, Nf)
FLAG_CATEGORY
Flag category, allows for multiple categories of flagging, which can selectively be reset. The cumulative effect is reflected in FLAG. This column should have an attached keyword CATEGORY which is a String (Ncat) of categories (e.g, ONLINE, FLAG_CMD, INTERACTIVE)
Bool (Nc, Nf, Ncat)
FLAG_ROW
Flag all data in this row if True.
Bool
INTERVAL
The extent of this sample, sampling interval.
Double - s.
OBSERVATION_ID
Index into OBSERVATION table.
Int.
PROCESSOR_ID
Processor Id, points to PROCESSOR table with information on the correlator or backend setup.
Int
SCAN_NUMBER
Scan number. Int.
SIGMA
Estimated rms noise for channel with unity bandpass response.
Float(Nc) - Same units as the DATA column.
STATE_ID
State Id, points to STATE table with info on current observing mode, calibration and reference signals etc. (Mainly single dish)
Int
TIME
Modified Julian Day number (JD-2400000.5) for midpoint of integration. For high precision timing, add the value from TIME_EXTRA_PREC.
Double - s - EPOCH.
TIME_CENTROID
Modified Julian Day number (JD-2400000.5) for centroid of integration. Double - s - EPOCH.
UVW
UVW coordinates.
Double(3) - m - UVW.
WEIGHT
Weight of spectrum. This is the weight assigned by the correlator and does NOT get overwritten by e.g. imaging tasks that do weighting.
Float(Nc).
NUMBER_REQUIRED_COLUMNS = WEIGHT,
Not a column, but just an enum specifying the number of required columns. # Note: first enum after this one should be assigned value of this enum.
ANTENNA3
Antenna3 - for triple correlations products.
Int
BASELINE_REF
Reference antenna for this baseline, True for ANTENNA1
Bool
CORRECTED_DATA
The Corrected complex visibility data (optional).
Complex(Nc, Nf)
DATA
Complex visibility matrix. The UNITS are unspecified to allow for the calibrated data to show up as a DATA column as well but in a calibrated MS.
Complex(Nc, Nf)
FEED3
Feed id on ANTENNA3
Int
FLOAT_DATA
Floating point data column. For simple single dish work this can be used instead of the complex DATA column.
Float(Nc, Nf)
IMAGING_WEIGHT
The imaging weights (optional).
Float(Nf)
LAG_DATA
Complex correlation function or lag spectrum for each correlation product
Complex(Nc, Nl)
MODEL_DATA
The model visibility data (optional).
Complex(Nc,Nf)
PHASE_ID
Switching phase Id
Int
PULSAR_BIN
For a pulsar the correlations are assumed to be measured for a limited number of pulse phase bins. This is the particular bin for which this data was measured. (optional)
Int.
PULSAR_GATE_ID
Unique id for this pulsar gate. Index into PULSAR_GATE table. (optional)
Int.
SIGMA_SPECTRUM
Estimated rms noise for each data point. To be used instead of SIGMA if present.
Float(Nc,Nf) - Same units as the DATA column.
TIME_EXTRA_PREC
Additional precision for TIME if required. Add this to TIME to obtain the exact EPOCH.
Double - s.
UVW2
UVW for second pair of triple correlation product.
Double(3) - m
VIDEO_POINT
Zero frequency point - needed for transform back to lag domain
Complex(Nc)
WEIGHT_SPECTRUM
Weight for each channel. To be used instead of WEIGHT if present.
Float(Nf).
NUMBER_PREDEFINED_COLUMNS = WEIGHT_SPECTRUM
Not a column, but just a final enum specifying the number of enums.

enum PredefinedKeywords

UNDEFINED_KEYWORD = 0
"True" keywords are defined.
ANTENNA
Antenna subtable. Antenna positions, mount-types etc.
DATA_DESCRIPTION
Data Description subtable. Gives spectral window and polarization id.
FEED
Feed subtable. Responses, offsets, beams etc.
FIELD
Field subtable. Position etc. for each pointing.
FLAG_CMD
Flag command subtable. List of flag commands.
HISTORY
History information subtable.
MS_VERSION
MS Version number.
Float.
OBSERVATION
Observation subtable. Project, observer, schedule.
POINTING
Pointing information subtable..
POLARIZATION
Polarization setup information subtable.
PROCESSOR
Back-end processor information subtable. Description of correlator etc.
SPECTRAL_WINDOW
Spectral window subtable. Frequencies, bandwidths, polarizations.
STATE
State subtable. Observing modes and states (cal, ref etc.)
NUMBER_REQUIRED_KEYWORDS = STATE,
Not a keyword, but an enum specifying the number of required keywords The last required keyword should be set to this enum
CAL_TABLES
Calibration tables associated with this MS.
Calibration tables associated with this MS.
Table(NUM_CAL_TABLES)
DOPPLER
Doppler tracking information subtable.
FREQ_OFFSET
Frequency offset information subtable.
SORT_COLUMNS
Listing of sort columns for each sorted table.
String(NUM_SORTED_TABLES)
SORT_ORDER
Listing of sort orders for each sorted table.
String(NUM_SORTED_TABLES)
SORTED_TABLES
Sorted reference tables of the main table. First one is main table.
Table(NUM_SORTED_TABLES)
SOURCE
Source subtable. Positions etc. for each source.
SYSCAL
SysCal subtable. System calibration data (Tsys etc.)
WEATHER
Weather subtable. Weather info for each antenna.
NUMBER_PREDEFINED_KEYWORDS = WEATHER
Not a keyword, but just a final enum specifying the number of enums.

Interface

Description

Etymology

This class contains the enum defininitions for the main MeasurementSet table.

Synopsis

This class does nothing. It is merely a container for the enumerations used by the MeasurementSet class. These enumerations define the standard columns, keywords.

Example

See the documentation for MeasurementSet for examples on the use of these enumerations.

To Do

Member Description

enum PredefinedColumns

The Main table colums with predefined meaning.

enum PredefinedKeywords

Keywords with a predefined meaning