casa
5.7.0-16
|
#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< PointingTimes > | antsTimes_ |
Vector< bool > | isSelected_ |
Vector< bool > | isInterpolated_ |
Vector< SplineCoeffs > | antsSplinesCoeffs_ |
InterpMethod | interp_ |
double | nearestPointingTimeStamp_ |
Definition at line 29 of file PointingInterpolationTVI.h.
|
private |
Definition at line 55 of file PointingInterpolationTVI.h.
using casa::vi::PointingInterpolationTVI::Interpolator::PointingDir = Vector<Double> |
Definition at line 32 of file PointingInterpolationTVI.h.
Definition at line 33 of file PointingInterpolationTVI.h.
Definition at line 31 of file PointingInterpolationTVI.h.
|
private |
Definition at line 56 of file PointingInterpolationTVI.h.
|
private |
Definition at line 54 of file PointingInterpolationTVI.h.
Enumerator | |
---|---|
NEAREST | |
CUBIC_SPLINE |
Definition at line 36 of file PointingInterpolationTVI.h.
casa::vi::PointingInterpolationTVI::Interpolator::Interpolator | ( | ) |
|
private |
|
private |
InterpMethod casa::vi::PointingInterpolationTVI::Interpolator::getInterpMethod | ( | ) | const |
|
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 | ) |
|
private |
Definition at line 63 of file PointingInterpolationTVI.h.
|
private |
Definition at line 60 of file PointingInterpolationTVI.h.
|
private |
Definition at line 64 of file PointingInterpolationTVI.h.
|
private |
Definition at line 62 of file PointingInterpolationTVI.h.
|
private |
Definition at line 61 of file PointingInterpolationTVI.h.
|
mutableprivate |
Definition at line 65 of file PointingInterpolationTVI.h.