GBTRcvrCalFiller.h

Classes

GBTRcvrCalFiller -- A filler for GBT receiver TCAL tables. (full description)

class GBTRcvrCalFiller

Interface

Public Members
GBTRcvrCalFiller(Table &parent)
~GBTRcvrCalFiller()
Bool fill(const String &fileName)
const Table &lastFilled()
const String &lastFileName()
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)
void flush()
Private Members
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, rownr &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()
GBTRcvrCalFiller(const GBTRcvrCalFiller &other)
GBTRcvrCalFiller &operator=(const GBTRcvrCalFiller &other)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

Member Description

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. 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.

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

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, rownr &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)