SDD12mOnLine.h

Classes

SDD12mOnLine -- a class for accessing on-line SDD data files at the 12-m (full description)

class SDD12mOnLine

Interface

Public Members
SDD12mOnLine()
SDD12mOnLine(const String& dataFileName, const String& gainFileName)
SDD12mOnLine(const SDD12mOnLine& other)
~SDD12mOnLine()
void attach(const String& dataFileName, const String& gainFileName)
const SDDIndexRep& index(uInt rownr) const
const SDDHeader& header(uInt rownr) const
Bool getData(Array<Float>& data, uInt rownr) const
Int timeStamp(uInt rownr) const
Int gainStamp(uInt rownr) const
Int offStamp(uInt rownr) const
Float time(uInt rownr) const
Float raOffset(uInt rownr) const
Float decOffset(uInt rownr) const
Float az(uInt rownr) const
Float el(uInt rownr) const
Float raRange(uInt rownr) const
Bool needToSync() const
Int sync()
uInt nrow()
Private Members
SDD12mOnLine operator=(const SDD12mOnLine&)
void init()
void appendMaps(uInt startDataEntry, uInt startGainEntry)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Member Description

SDD12mOnLine()

SDD12mOnLine(const String& dataFileName, const String& gainFileName)

SDD12mOnLine(const SDD12mOnLine& other)

~SDD12mOnLine()

void attach(const String& dataFileName, const String& gainFileName)

attach to two new files

const SDDIndexRep& index(uInt rownr) const

the things we need from the SDDFiles The index rep for a specific rownr

const SDDHeader& header(uInt rownr) const

The header for a specific rownr values will be correctly modified for OTF data here for HSOURCE, VSOURCE, AZ, EL, and UTIME

Bool getData(Array<Float>& data, uInt rownr) const

The data array for a specific rownr

Int timeStamp(uInt rownr) const

The timeStamp for a particular row

Int gainStamp(uInt rownr) const

the gainStamp for a particular row

Int offStamp(uInt rownr) const

the offStamp for a particular row

Float time(uInt rownr) const

The OTF offset for a particular row For non-otf data, these should return appropriate values 0 for time, ra, dec and the actual AZ and EL for az el

Float raOffset(uInt rownr) const

Float decOffset(uInt rownr) const

Float az(uInt rownr) const

Float el(uInt rownr) const

Float raRange(uInt rownr) const

This returns the full range of ra values appropriate for the scan number associated with this row

Bool needToSync() const

This just sees if there is a need to sync

Int sync()

sync with what is on disk, return the number of rows

uInt nrow()

SDD12mOnLine operator=(const SDD12mOnLine&)

void init()

void appendMaps(uInt startDataEntry, uInt startGainEntry)