casa
$Rev:20696$
|
A filler for GBT receiver TCAL tables. More...
#include <GBTRcvrCalFiller.h>
Public Member Functions | |
GBTRcvrCalFiller (Table &parent) | |
Fill to any NRAO_GBT_RCVRCAL table already attached to parent or create a new one to fill to. | |
~GBTRcvrCalFiller () | |
Bool | fill (const String &fileName) |
fill using the table name supplied. | |
const Table & | lastFilled () |
return a reference to the rows filled by the fileName used in the most recent call to fill | |
const String & | lastFileName () |
return the filenames used in the last call to fill | |
void | interpolate (const String &receiverName, const Vector< String > &feedName, const Vector< String > &polarizations, const Vector< Double > &frequencies, String &testDate, Matrix< Float > &tcal, Matrix< Float > &trx, Bool useHighCal) |
interpolate to given arrays from the measured TCAL and TRX vectors given the indicated frequency vector, receiver name, feed name, and polarizations vector | |
void | flush () |
flush the underlying table | |
Private Member Functions | |
void | putScalarString (const String &fieldName, const TableRecord &rec, Int rownr, const String &defval, TableColumn &col, const String &altName=String()) |
void | putScalarFloat (const String &fieldName, const TableRecord &rec, Int rownr, Float scale, Float defval, TableColumn &col, const String &altName=String(), Float altScale=1.0) |
void | putScalarInt (const String &fieldName, const TableRecord &rec, Int rownr, Int defval, TableColumn &col, const String &altName=String()) |
GBTRcvrCalFiller () | |
undefined an inaccessible | |
GBTRcvrCalFiller (const GBTRcvrCalFiller &other) | |
GBTRcvrCalFiller & | operator= (const GBTRcvrCalFiller &other) |
Private Attributes | |
Table | itsTable |
the table being filled | |
Table | itsLastFilled |
a reference to the portion of itsTable most filled from the file pointed to by itsLastFileName | |
String | itsLastFileName |
TableColumn | fileNameCol |
the columns being filled scalar columns from the primary HDU - use ISM as storage manager | |
TableColumn | receiver |
TableColumn | dateObs |
TableColumn | minFreq |
TableColumn | maxFreq |
TableColumn | nBeam |
TableColumn | tauzenit |
TableColumn | etal |
TableColumn | apereff |
TableColumn | beameff |
TableColumn | testDate |
scalar columns from the individual table headers - use std SM | |
TableColumn | receptor |
TableColumn | feed |
TableColumn | polarize |
TableColumn | bandwdth |
TableColumn | engineer |
TableColumn | tech |
ArrayColumn< Float > | frequency |
vector columns from the rows - each cell from one row | |
ArrayColumn< Float > | trx |
ArrayColumn< Float > | tcalLo |
ArrayColumn< Float > | tcalHi |
A filler for GBT receiver TCAL tables.
Internal
Definition at line 75 of file GBTRcvrCalFiller.h.
GBTRcvrCalFiller::GBTRcvrCalFiller | ( | Table & | parent | ) |
Fill to any NRAO_GBT_RCVRCAL table already attached to parent or create a new one to fill to.
GBTRcvrCalFiller::~GBTRcvrCalFiller | ( | ) | [inline] |
Definition at line 82 of file GBTRcvrCalFiller.h.
GBTRcvrCalFiller::GBTRcvrCalFiller | ( | ) | [private] |
undefined an inaccessible
GBTRcvrCalFiller::GBTRcvrCalFiller | ( | const GBTRcvrCalFiller & | other | ) | [private] |
Bool GBTRcvrCalFiller::fill | ( | const String & | fileName | ) |
fill using the table name supplied.
If that table name has already been filled, nothing new will be added to the table being filled. In either case, the table returned by lastFilled will be a reference to those rows filled from the indicated fileName.
void GBTRcvrCalFiller::flush | ( | ) | [inline] |
void GBTRcvrCalFiller::interpolate | ( | const String & | receiverName, |
const Vector< String > & | feedName, | ||
const Vector< String > & | polarizations, | ||
const Vector< Double > & | frequencies, | ||
String & | testDate, | ||
Matrix< Float > & | tcal, | ||
Matrix< Float > & | trx, | ||
Bool | useHighCal | ||
) |
interpolate to given arrays from the measured TCAL and TRX vectors given the indicated frequency vector, receiver name, feed name, and polarizations vector
const String& GBTRcvrCalFiller::lastFileName | ( | ) | [inline] |
return the filenames used in the last call to fill
Definition at line 95 of file GBTRcvrCalFiller.h.
References itsLastFileName.
const Table& GBTRcvrCalFiller::lastFilled | ( | ) | [inline] |
return a reference to the rows filled by the fileName used in the most recent call to fill
Definition at line 92 of file GBTRcvrCalFiller.h.
References itsLastFilled.
GBTRcvrCalFiller& GBTRcvrCalFiller::operator= | ( | const GBTRcvrCalFiller & | other | ) | [private] |
void GBTRcvrCalFiller::putScalarFloat | ( | const String & | fieldName, |
const TableRecord & | rec, | ||
Int | rownr, | ||
Float | scale, | ||
Float | defval, | ||
TableColumn & | col, | ||
const String & | altName = String() , |
||
Float | altScale = 1.0 |
||
) | [private] |
void GBTRcvrCalFiller::putScalarInt | ( | const String & | fieldName, |
const TableRecord & | rec, | ||
Int | rownr, | ||
Int | defval, | ||
TableColumn & | col, | ||
const String & | altName = String() |
||
) | [private] |
void GBTRcvrCalFiller::putScalarString | ( | const String & | fieldName, |
const TableRecord & | rec, | ||
Int | rownr, | ||
const String & | defval, | ||
TableColumn & | col, | ||
const String & | altName = String() |
||
) | [private] |
TableColumn GBTRcvrCalFiller::apereff [private] |
Definition at line 122 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::bandwdth [private] |
Definition at line 126 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::beameff [private] |
Definition at line 122 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::dateObs [private] |
Definition at line 122 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::engineer [private] |
Definition at line 126 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::etal [private] |
Definition at line 122 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::feed [private] |
Definition at line 126 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::fileNameCol [private] |
the columns being filled scalar columns from the primary HDU - use ISM as storage manager
Definition at line 122 of file GBTRcvrCalFiller.h.
ArrayColumn<Float> GBTRcvrCalFiller::frequency [private] |
vector columns from the rows - each cell from one row
Definition at line 130 of file GBTRcvrCalFiller.h.
String GBTRcvrCalFiller::itsLastFileName [private] |
Definition at line 118 of file GBTRcvrCalFiller.h.
Referenced by lastFileName().
Table GBTRcvrCalFiller::itsLastFilled [private] |
a reference to the portion of itsTable most filled from the file pointed to by itsLastFileName
Definition at line 116 of file GBTRcvrCalFiller.h.
Referenced by lastFilled().
Table GBTRcvrCalFiller::itsTable [private] |
TableColumn GBTRcvrCalFiller::maxFreq [private] |
Definition at line 122 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::minFreq [private] |
Definition at line 122 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::nBeam [private] |
Definition at line 122 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::polarize [private] |
Definition at line 126 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::receiver [private] |
Definition at line 122 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::receptor [private] |
Definition at line 126 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::tauzenit [private] |
Definition at line 122 of file GBTRcvrCalFiller.h.
ArrayColumn<Float> GBTRcvrCalFiller::tcalHi [private] |
Definition at line 130 of file GBTRcvrCalFiller.h.
ArrayColumn<Float> GBTRcvrCalFiller::tcalLo [private] |
Definition at line 130 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::tech [private] |
Definition at line 126 of file GBTRcvrCalFiller.h.
TableColumn GBTRcvrCalFiller::testDate [private] |
scalar columns from the individual table headers - use std SM
Definition at line 126 of file GBTRcvrCalFiller.h.
ArrayColumn<Float> GBTRcvrCalFiller::trx [private] |
Definition at line 130 of file GBTRcvrCalFiller.h.