casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
casa::CTTimeInterp1 Class Reference

#include <CTTimeInterp1.h>

Inheritance diagram for casa::CTTimeInterp1:
casa::CTRateAwareTimeInterp1

Public Member Functions

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

Static Public Member Functions

static CTTimeInterp1factory (NewCalTable &ct, const casacore::String &timetype, casacore::Array< casacore::Float > &result, casacore::Array< casacore::Bool > &rflag)
 static factory method to make CTTimeInterp1 More...
 

Protected Member Functions

casacore::Bool findTimeRegistration (casacore::Int &idx, casacore::Bool &exact, casacore::Float newtime)
 Find time registration. More...
 
void applyPhaseDelay (casacore::Double freq)
 Do phase delay math. More...
 

Protected Attributes

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

Detailed Description

Definition at line 43 of file CTTimeInterp1.h.

Constructor & Destructor Documentation

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

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

From NewCalTable

virtual casa::CTTimeInterp1::~CTTimeInterp1 ( )
virtual

Destructor.

Member Function Documentation

void casa::CTTimeInterp1::applyPhaseDelay ( casacore::Double  freq)
protected

Do phase delay math.

casacore::Vector<casacore::Double> casa::CTTimeInterp1::domain ( ) const
inline

Definition at line 62 of file CTTimeInterp1.h.

References domain_.

static CTTimeInterp1* casa::CTTimeInterp1::factory ( NewCalTable ct,
const casacore::String timetype,
casacore::Array< casacore::Float > &  result,
casacore::Array< casacore::Bool > &  rflag 
)
inlinestatic

static factory method to make CTTimeInterp1

Definition at line 73 of file CTTimeInterp1.h.

Referenced by casa::SolvableVisCal::cttifactoryptr().

casacore::Bool casa::CTTimeInterp1::findTimeRegistration ( casacore::Int idx,
casacore::Bool exact,
casacore::Float  newtime 
)
protected

Find time registration.

virtual casacore::Bool casa::CTTimeInterp1::interpolate ( casacore::Double  time)
virtual

Interpolate, given timestamp; returns T if new result.

Reimplemented in casa::CTRateAwareTimeInterp1.

virtual casacore::Bool casa::CTTimeInterp1::interpolate ( casacore::Double  newtime,
casacore::Double  freq 
)
virtual

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

void casa::CTTimeInterp1::setInterpType ( casacore::String  strtype)

Set interpolation type.

virtual void casa::CTTimeInterp1::state ( casacore::Bool  verbose = false)
virtual
casacore::Double casa::CTTimeInterp1::timeRef ( ) const
inline

Some state info.

Definition at line 60 of file CTTimeInterp1.h.

References timeRef_.

casacore::String casa::CTTimeInterp1::timeType ( ) const
inline

Definition at line 61 of file CTTimeInterp1.h.

References timeType_.

Member Data Documentation

casacore::Double casa::CTTimeInterp1::cfreq_
protected

Phase-delay correction info.

Definition at line 118 of file CTTimeInterp1.h.

NewCalTable casa::CTTimeInterp1::ct_
protected

The CalTable Should be a single antenna, spw.

Definition at line 93 of file CTTimeInterp1.h.

casacore::Int casa::CTTimeInterp1::currIdx_
protected

Definition at line 103 of file CTTimeInterp1.h.

casacore::Double casa::CTTimeInterp1::currTime_
protected

Current time, idx.

Definition at line 102 of file CTTimeInterp1.h.

casacore::Cube<casacore::Float> casa::CTTimeInterp1::cycles_
protected

Definition at line 119 of file CTTimeInterp1.h.

casacore::Vector<casacore::Double> casa::CTTimeInterp1::domain_
protected

Definition at line 109 of file CTTimeInterp1.h.

Referenced by domain().

casacore::Cube<casacore::Bool> casa::CTTimeInterp1::flaglist_
protected

Flags list.

Definition at line 112 of file CTTimeInterp1.h.

casacore::Bool casa::CTTimeInterp1::lastWasExact_
protected

Definition at line 104 of file CTTimeInterp1.h.

ROCTMainColumns* casa::CTTimeInterp1::mcols_p
protected

Access to columns.

Definition at line 96 of file CTTimeInterp1.h.

casacore::Array<casacore::Float> casa::CTTimeInterp1::result_
protected

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

Definition at line 123 of file CTTimeInterp1.h.

casacore::Array<casacore::Bool> casa::CTTimeInterp1::rflag_
protected

Definition at line 124 of file CTTimeInterp1.h.

casacore::Vector<casacore::Float> casa::CTTimeInterp1::timelist_
protected

Definition at line 108 of file CTTimeInterp1.h.

casacore::Double casa::CTTimeInterp1::timeRef_
protected

casacore::Time list

Definition at line 107 of file CTTimeInterp1.h.

Referenced by timeRef().

casacore::String casa::CTTimeInterp1::timeType_
protected

Interpolation modes.

Definition at line 99 of file CTTimeInterp1.h.

Referenced by timeType().

casacore::Interpolate1D<casacore::Float,casacore::Array<casacore::Float> >* casa::CTTimeInterp1::tInterpolator_p
protected

Pointer to the time interpolator.

Definition at line 115 of file CTTimeInterp1.h.


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