casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
GBTRcvrCalFiller Class Reference

A filler for GBT receiver TCAL tables. More...

#include <GBTRcvrCalFiller.h>

List of all members.

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 StringlastFileName ()
 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)
GBTRcvrCalFilleroperator= (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

Detailed Description

A filler for GBT receiver TCAL tables.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

Definition at line 75 of file GBTRcvrCalFiller.h.


Constructor & Destructor Documentation

Fill to any NRAO_GBT_RCVRCAL table already attached to parent or create a new one to fill to.

Definition at line 82 of file GBTRcvrCalFiller.h.

undefined an inaccessible


Member Function Documentation

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]

flush the underlying table

Definition at line 109 of file GBTRcvrCalFiller.h.

References itsTable.

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

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]

Member Data Documentation

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.

Definition at line 118 of file GBTRcvrCalFiller.h.

Referenced by lastFileName().

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]

the table being filled

Definition at line 112 of file GBTRcvrCalFiller.h.

Referenced by flush().

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.


The documentation for this class was generated from the following file: