casa
$Rev:20696$
|
A filler for the GBT GO (user interface) FITS files. More...
#include <GBTGOFiller.h>
Public Member Functions | |
GBTGOFiller (Table &parent) | |
makes a new NRAO_GBT_GLISH subtable if one is not already present in parent, otherwise it opens that one up as is. | |
virtual | ~GBTGOFiller () |
virtual void | fill (const GBTGOFile &goFile, Double time, Double interval, Int trueScanNumber) |
fill the subtable using the supplied GBTGOFile. | |
void | flush () |
flush the underlying simple table | |
Private Member Functions | |
GBTGOFiller () | |
unavailable, undefined | |
GBTGOFiller (const GBTGOFiller &) | |
GBTGOFiller & | operator= (const GBTGOFiller &) |
Private Attributes | |
GBTSimpleTable * | itsTable |
A filler for the GBT GO (user interface) FITS files.
Internal
This fills a subtable of a MS using the contents of the GO fits file. This fits file is generated by the GBT users interface and contains information relevent to how the user set up each scan.
This file is not like the DAP files, it needs a separate filler.
Definition at line 80 of file GBTGOFiller.h.
GBTGOFiller::GBTGOFiller | ( | Table & | parent | ) |
makes a new NRAO_GBT_GLISH subtable if one is not already present in parent, otherwise it opens that one up as is.
virtual GBTGOFiller::~GBTGOFiller | ( | ) | [virtual] |
GBTGOFiller::GBTGOFiller | ( | ) | [private] |
unavailable, undefined
GBTGOFiller::GBTGOFiller | ( | const GBTGOFiller & | ) | [private] |
virtual void GBTGOFiller::fill | ( | const GBTGOFile & | goFile, |
Double | time, | ||
Double | interval, | ||
Int | trueScanNumber | ||
) | [virtual] |
fill the subtable using the supplied GBTGOFile.
The scan number is used as an index column as is the time and interval. The time should be the midpoint of the scan and the interval is the duration of the scan. A new row is added for each call to this function. trueScanNumber is used to compare the scan number in the GO file with that actually being filled. If the two differ, a warning message is logged and the trueScanNumber is used.
void GBTGOFiller::flush | ( | ) | [inline] |
flush the underlying simple table
Definition at line 100 of file GBTGOFiller.h.
References GBTSimpleTable::flush(), and itsTable.
GBTGOFiller& GBTGOFiller::operator= | ( | const GBTGOFiller & | ) | [private] |
GBTSimpleTable* GBTGOFiller::itsTable [private] |
Definition at line 102 of file GBTGOFiller.h.
Referenced by flush().