GBTLO1DAPFiller.h

Classes

GBTLO1DAPFiller -- A GBTDAPFiller for LO1 DAPs. (full description)

class GBTLO1DAPFiller : public GBTDAPFiller

Interface

Public Members
GBTLO1DAPFiller(const String &device, Table &parent)
virtual ~GBTLO1DAPFiller()
virtual Int prepare(const String &fileName, const String &manager, const String &sampler, const MVTime &startTime)
virtual void fill()
const Vector<Double> &frequency(Double time, Double interval, Int nphases)
Double initialFreq()
uInt nrow()
Private Members
void cleanup()
void nextCache()
void prevCache()
Bool atCacheEnd()
Bool atCacheStart()
Bool atEnd()
Bool atStart()
GBTLO1DAPFiller()
GBTLO1DAPFiller(const GBTLO1DAPFiller &)
GBTLO1DAPFiller &operator=(const GBTLO1DAPFiller &)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

This fills GBT DAP FITS file from the LO1 device into a subtable of the MS.

Synopsis

Example

Motivation

It is necessary to have access to the frequency information during each scan for use in filling other parts of the MS.

Thrown Exceptions

Member Description

GBTLO1DAPFiller(const String &device, Table &parent)

makes new one if not already present in parent, otherwise it opens that one up as is

virtual ~GBTLO1DAPFiller()

virtual Int prepare(const String &fileName, const String &manager, const String &sampler, const MVTime &startTime)

virtual void fill()

fill to the standard table attached to the parent used at construction

const Vector<Double> &frequency(Double time, Double interval, Int nphases)

Return the frequency for the given the phase numbers, given the time and interval Time is in MJD seconds UT and interval is in seconds. These values are based on the results of the most recent fill. A value of 0.0 is returned for all phases if there are no rows within the specified time interval

Double initialFreq()

return the value of the frequency column in the first row

uInt nrow()

how many rows are in the underlying table

void cleanup()

void nextCache()

void prevCache()

Bool atCacheEnd()

Bool atCacheStart()

Bool atEnd()

Bool atStart()

GBTLO1DAPFiller()

unavailable, undefined

GBTLO1DAPFiller(const GBTLO1DAPFiller &)

GBTLO1DAPFiller &operator=(const GBTLO1DAPFiller &)