GBTMSAntennaFiller.h
Classes
- GBTMSAntennaFiller -- GBTMSAntennaFiller fills the MSAntenna table for GBT fillers (full description)
Interface
- Public Members
- GBTMSAntennaFiller()
- GBTMSAntennaFiller(MSAntenna &msAntenna)
- ~GBTMSAntennaFiller()
- void attach(MSAntenna &msAntenna)
- void fill(const GBTAntennaFile &antennaFile)
- Int antennaId() const
- void flush()
- Private Members
- void init(MSAntenna &msAntenna)
- GBTMSAntennaFiller(const GBTMSAntennaFiller &other)
- void operator=(const GBTMSAntennaFiller &other)
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
- MeasurementSets
- GBT FITS files
Etymology
This class puts GBT data (fills) into the MSAntenna table.
Synopsis
This class puts the appropriate values for the GBT in an MSAntenna
table (which has been previously created as part of a MeasurementSet).
On each fill() any necessary additions to the MSAntenna are made.
For GBT data at there will usually only be one row in this table. This
row is added using information in the Antenna file when available or
the NRAO_GBT position from the Measures observatory table. A new row
is added when the telescope information in the Antenna file changes.
The antennaId is available to be used by
other GBTMS*Fillers as other subtables are filled in turn.
Example
Motivation
Writing a filler is a daunting task. There are various dependencies
between the subtables. It helps to encapsulate the knowlege and
task of filling a specific subtable to separate classes.
Member Description
The default ctor. No MSAntenna table has been attached yet.
Calling fill on such a filler will throw an exception.
It is present so that this object can be instantiated before
an MSAntenna has been created.
A filler attached to an MSAntenna table
attach it to an MSAntenna
fill using the supplied Antenna file if attached or the
"GBT" entry in the Measures observatory table.
rows are reused if the name and position match
this is the row number of the most recently "filled" MSAntenna row
flush the underlying MS subtable
initialize the above for the first time
undefined and unavailable
void operator=(const GBTMSAntennaFiller &other)