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

#include <CTTimeInterp1.h>

List of all members.

Public Member Functions

 CTTimeInterp1 (NewCalTable &ct, const String &timetype, Array< Float > &result, Array< Bool > &rflag)
 Null ctor CTTimeInterp1(); // TBD: make private?
virtual ~CTTimeInterp1 ()
 Destructor.
Double timeRef ()
 Some state info.
String timeType ()
Vector< Doubledomain ()
void setInterpType (String strtype)
 Set interpolation type.
Bool interpolate (Double time)
 Interpolate, given timestamp; returns T if new result.
Bool interpolate (Double newtime, Double freq)
 Interpolate, given timestamp and fiducial freq; returns T if new result.
void state (Bool verbose=False)

Private Member Functions

Bool findTimeRegistration (Int &idx, Bool &exact, Float newtime)
 Find.
void applyPhaseDelay (Double freq)

Private Attributes

NewCalTable ct_
 The CalTable Should be a single antenna, spw.
ROCTMainColumnsmcols_p
 Access to columns.
String timeType_
 Interpolation modes.
Double currTime_
 Current time, idx.
Int currIdx_
Bool lastWasExact_
Double timeRef_
 Time list.
Vector< Floattimelist_
Vector< Doubledomain_
Cube< Boolflaglist_
 Flags list.
Interpolate1D< Float, Array
< Float > > * 
tInterpolator_p
 Pointer to the time interpolator.
Double cfreq_
 Phase-delay correction info.
Cube< Floatcycles_
Array< Floatresult_
 Arrays in which to deposit results (ordinarily, these (CASA-Array) reference external Arrays)
Array< Boolrflag_

Detailed Description

Definition at line 43 of file CTTimeInterp1.h.


Constructor & Destructor Documentation

casa::CTTimeInterp1::CTTimeInterp1 ( NewCalTable ct,
const String timetype,
Array< Float > &  result,
Array< Bool > &  rflag 
)

Null ctor CTTimeInterp1(); // TBD: make private?

From NewCalTable

virtual casa::CTTimeInterp1::~CTTimeInterp1 ( ) [virtual]

Destructor.


Member Function Documentation

void casa::CTTimeInterp1::applyPhaseDelay ( Double  freq) [private]

Definition at line 62 of file CTTimeInterp1.h.

References domain_.

Bool casa::CTTimeInterp1::findTimeRegistration ( Int idx,
Bool exact,
Float  newtime 
) [private]

Find.

Interpolate, given timestamp; returns T if new result.

Interpolate, given timestamp and fiducial freq; returns T if new result.

Set interpolation type.

void casa::CTTimeInterp1::state ( Bool  verbose = False)

Some state info.

Definition at line 60 of file CTTimeInterp1.h.

References timeRef_.

Definition at line 61 of file CTTimeInterp1.h.

References timeType_.


Member Data Documentation

Phase-delay correction info.

Definition at line 111 of file CTTimeInterp1.h.

The CalTable Should be a single antenna, spw.

Definition at line 86 of file CTTimeInterp1.h.

Definition at line 96 of file CTTimeInterp1.h.

Current time, idx.

Definition at line 95 of file CTTimeInterp1.h.

Definition at line 112 of file CTTimeInterp1.h.

Definition at line 102 of file CTTimeInterp1.h.

Referenced by domain().

Flags list.

Definition at line 105 of file CTTimeInterp1.h.

Definition at line 97 of file CTTimeInterp1.h.

Access to columns.

Definition at line 89 of file CTTimeInterp1.h.

Arrays in which to deposit results (ordinarily, these (CASA-Array) reference external Arrays)

Definition at line 116 of file CTTimeInterp1.h.

Definition at line 117 of file CTTimeInterp1.h.

Definition at line 101 of file CTTimeInterp1.h.

Time list.

Definition at line 100 of file CTTimeInterp1.h.

Referenced by timeRef().

Interpolation modes.

Definition at line 92 of file CTTimeInterp1.h.

Referenced by timeType().

Pointer to the time interpolator.

Definition at line 108 of file CTTimeInterp1.h.


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