casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
casa::vi::PointingInterpolationTVI::Interpolator Class Reference

#include <PointingInterpolationTVI.h>

Public Types

enum  InterpMethod {
  InterpMethod::NEAREST,
  InterpMethod::CUBIC_SPLINE
}
 
using PointingTimes = Vector< Double >
 
using PointingDir = Vector< Double >
 
using PointingDirs = Vector< PointingDir >
 

Public Member Functions

 Interpolator ()
 
void setInterpMethod (InterpMethod method)
 
InterpMethod getInterpMethod () const
 
void setData (const Vector< PointingTimes > &antsTimes, const Vector< PointingDirs > &antsDirs, const Vector< bool > &antSelected)
 
Vector< Double > pointingDir (int ant, double time) const
 Interpolation. More...
 
double nearestPointingTimeStamp () const
 

Private Types

using SplineSegmentCoeffs = Vector< Double >
 
using DirSegmentCoeffs = Vector< SplineSegmentCoeffs >
 
using SplineCoeffs = Vector< DirSegmentCoeffs >
 

Private Member Functions

void clear ()
 
void init (const Vector< bool > &antSelected=Vector< bool >())
 
void computeSplineCoeffs (const PointingTimes &timeStamps, const PointingDirs &dirs, SplineCoeffs &coeffs)
 

Private Attributes

Vector< PointingTimesantsTimes_
 
Vector< bool > isSelected_
 
Vector< bool > isInterpolated_
 
Vector< SplineCoeffsantsSplinesCoeffs_
 
InterpMethod interp_
 
double nearestPointingTimeStamp_
 

Detailed Description

Definition at line 29 of file PointingInterpolationTVI.h.

Member Typedef Documentation

Definition at line 55 of file PointingInterpolationTVI.h.

Definition at line 32 of file PointingInterpolationTVI.h.

Definition at line 33 of file PointingInterpolationTVI.h.

Definition at line 31 of file PointingInterpolationTVI.h.

Definition at line 56 of file PointingInterpolationTVI.h.

Definition at line 54 of file PointingInterpolationTVI.h.

Member Enumeration Documentation

Enumerator
NEAREST 
CUBIC_SPLINE 

Definition at line 36 of file PointingInterpolationTVI.h.

Constructor & Destructor Documentation

casa::vi::PointingInterpolationTVI::Interpolator::Interpolator ( )

Member Function Documentation

void casa::vi::PointingInterpolationTVI::Interpolator::clear ( )
private
void casa::vi::PointingInterpolationTVI::Interpolator::computeSplineCoeffs ( const PointingTimes timeStamps,
const PointingDirs dirs,
SplineCoeffs coeffs 
)
private
InterpMethod casa::vi::PointingInterpolationTVI::Interpolator::getInterpMethod ( ) const
void casa::vi::PointingInterpolationTVI::Interpolator::init ( const Vector< bool > &  antSelected = Vector< bool >())
private
double casa::vi::PointingInterpolationTVI::Interpolator::nearestPointingTimeStamp ( ) const
Vector<Double> casa::vi::PointingInterpolationTVI::Interpolator::pointingDir ( int  ant,
double  time 
) const

Interpolation.

void casa::vi::PointingInterpolationTVI::Interpolator::setData ( const Vector< PointingTimes > &  antsTimes,
const Vector< PointingDirs > &  antsDirs,
const Vector< bool > &  antSelected 
)
void casa::vi::PointingInterpolationTVI::Interpolator::setInterpMethod ( InterpMethod  method)

Member Data Documentation

Vector<SplineCoeffs> casa::vi::PointingInterpolationTVI::Interpolator::antsSplinesCoeffs_
private

Definition at line 63 of file PointingInterpolationTVI.h.

Vector<PointingTimes> casa::vi::PointingInterpolationTVI::Interpolator::antsTimes_
private

Definition at line 60 of file PointingInterpolationTVI.h.

InterpMethod casa::vi::PointingInterpolationTVI::Interpolator::interp_
private

Definition at line 64 of file PointingInterpolationTVI.h.

Vector<bool> casa::vi::PointingInterpolationTVI::Interpolator::isInterpolated_
private

Definition at line 62 of file PointingInterpolationTVI.h.

Vector<bool> casa::vi::PointingInterpolationTVI::Interpolator::isSelected_
private

Definition at line 61 of file PointingInterpolationTVI.h.

double casa::vi::PointingInterpolationTVI::Interpolator::nearestPointingTimeStamp_
mutableprivate

Definition at line 65 of file PointingInterpolationTVI.h.


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