The Table that is used to construct this class must not be destroyed (or go out of scope) before this class does. Otherwise the scalar and array columns use by this class will be left dangling.
// use as follows MeasurementSet ms("myMS"); ROMSColumns msc(ms); // show data from row 5 cout << msc.data()(5); // show name of antenna on row 3 in antenna table cout << msc.antenna().name();
The desctructor does nothing special
Access to required columns
Access to optional columns
Convenience function that returns the number of rows in any of the columns
Returns the category labels for the FLAG_CATEGORY column.
The Table that is used to construct this class must not be destroyed (or go out of scope) before this class does. Otherwise the scalar and array columns use by this class will be left dangling.
// use as follows MeasurementSet ms("myMS",Table::Update); MSColumns msc(ms); // show data from row 5 cout << msc.data()(5); // change name of antenna on row 3 in antenna table msc.antenna().name().put(3,"NewAnt-3");
The desctructor does nothing special
Read-write access to required columns
Read-write access to optional columns
Read-only access to required columns
Read-only access to optional columns
set the epoch type for the TIME and TIME_CENTROID columns.
In principle this function can only be used if the table is empty, otherwise already written values may thereafter have an incorrect reference, offset, or unit. However, it is possible that part of the table gets written before these values are known. In that case the reference, offset, or units can be set by using a False tableMustBeEmpty argument.
set the UVW reference type for the UVW and UVW2 (if defined) columns. This can only be done when the table has no rows. Trying to do so at other times will throw an exception.
Set the flag category labels to the supplied values (in the CATEGORY keyword of the FLAG_CATEGORY column). Throws an exception, when compiled in Debug mode, if the length of the supplied Vector is not the same as the length of the third dimension of the FLAG_CATEGORY column.