casa
$Rev:20696$
|
CalInterpolation: a class to hold calibration interpolation parameters. More...
#include <CalInterpolation.h>
Public Types | |
enum | Type { LINEAR, NEAREST_NEIGHBOUR, POLYNOMIAL, SPLINE } |
Basic interpolation type. More... | |
enum | Weighting { WEIGHTED, UNWEIGHTED } |
Interpolation weighting type. More... | |
Public Member Functions | |
CalInterpolation () | |
Default null constructor, and destructor. | |
virtual | ~CalInterpolation () |
CalInterpolation (const CalInterpolation &other) | |
Copy constructor and assignment operator. | |
virtual CalInterpolation & | operator= (const CalInterpolation &other) |
virtual void | setAxes (const Vector< Int > &axes) |
Set interpolation axes. | |
virtual void | setType (const Type &type) |
Set interpolation type. | |
virtual void | setWeighting (const Weighting &weighting) |
Set interpolation weighting. | |
virtual void | setWindows (const Vector< Quantity > &windows) |
Set interpolation window (per axis) | |
virtual void | setNpoly (const Int &npoly) |
Set polynomial order. | |
virtual void | setIndexMap (const Vector< MSSelection > &msIndex, const Vector< MSSelection > &calIndex) |
Set interpolation index mapping. | |
virtual Vector< Int > | axes () |
Get number and type of interpolation axes. | |
virtual Int | nAxes () |
virtual Type | type () |
Get interpolation type. | |
virtual Weighting | weighting () |
Get interpolation weighting type. | |
virtual Vector< Quantity > | windows () |
Get interpolation windows for each axis. | |
virtual Int | nPoly () |
Get polynomial order. | |
virtual Vector< MSSelection > | msIndex () |
Get interpolation index mapping. | |
virtual Vector< MSSelection > | calIndex () |
Private Attributes | |
Vector< Int > | axes_p |
Interpolation axes. | |
Type | type_p |
Interpolation type. | |
Weighting | weighting_p |
Interpolation weighting type. | |
Vector< Quantity > | windows_p |
Interpolation windows. | |
Int | npoly_p |
Polynomial order. | |
Vector< MSSelection > | msIndex_p |
Interpolation index mapping. | |
Vector< MSSelection > | calIndex_p |
CalInterpolation: a class to hold calibration interpolation parameters.
Public interface
From "calibration" and "interpolation".
The CalInterpolation class holds calibration interpolation parameters which define how calibration is to be applied. Specializations for parametrized Jones matrices, which required sampling before interpolation, are provided through inheritance.
This class is used by the calibration interpolater classes.
Definition at line 78 of file CalInterpolation.h.
Basic interpolation type.
LINEAR |
Linear two-point. |
NEAREST_NEIGHBOUR |
Nearest calibration solution only. |
POLYNOMIAL |
Fit a polynomial and interpolate. |
SPLINE |
Use natural cubic splines to interpolate. |
Definition at line 82 of file CalInterpolation.h.
Interpolation weighting type.
WEIGHTED |
Weight by the calibration solution weight. |
UNWEIGHTED |
Use unit weighting for all points. |
Definition at line 97 of file CalInterpolation.h.
Default null constructor, and destructor.
virtual casa::CalInterpolation::~CalInterpolation | ( | ) | [virtual] |
casa::CalInterpolation::CalInterpolation | ( | const CalInterpolation & | other | ) |
Copy constructor and assignment operator.
virtual Vector<Int> casa::CalInterpolation::axes | ( | ) | [inline, virtual] |
Get number and type of interpolation axes.
Definition at line 136 of file CalInterpolation.h.
References axes_p.
Referenced by setAxes().
virtual Vector<MSSelection> casa::CalInterpolation::calIndex | ( | ) | [inline, virtual] |
Definition at line 153 of file CalInterpolation.h.
References calIndex_p.
Referenced by setIndexMap().
virtual Vector<MSSelection> casa::CalInterpolation::msIndex | ( | ) | [inline, virtual] |
Get interpolation index mapping.
Definition at line 152 of file CalInterpolation.h.
References msIndex_p.
Referenced by setIndexMap().
virtual Int casa::CalInterpolation::nAxes | ( | ) | [inline, virtual] |
Definition at line 137 of file CalInterpolation.h.
References axes_p, and casa::ArrayBase::nelements().
virtual Int casa::CalInterpolation::nPoly | ( | ) | [inline, virtual] |
virtual CalInterpolation& casa::CalInterpolation::operator= | ( | const CalInterpolation & | other | ) | [virtual] |
virtual void casa::CalInterpolation::setAxes | ( | const Vector< Int > & | axes | ) | [inline, virtual] |
Set interpolation axes.
Definition at line 114 of file CalInterpolation.h.
virtual void casa::CalInterpolation::setIndexMap | ( | const Vector< MSSelection > & | msIndex, |
const Vector< MSSelection > & | calIndex | ||
) | [inline, virtual] |
Set interpolation index mapping.
Definition at line 131 of file CalInterpolation.h.
References calIndex(), calIndex_p, msIndex(), and msIndex_p.
virtual void casa::CalInterpolation::setNpoly | ( | const Int & | npoly | ) | [inline, virtual] |
virtual void casa::CalInterpolation::setType | ( | const Type & | type | ) | [inline, virtual] |
Set interpolation type.
Definition at line 117 of file CalInterpolation.h.
virtual void casa::CalInterpolation::setWeighting | ( | const Weighting & | weighting | ) | [inline, virtual] |
Set interpolation weighting.
Definition at line 120 of file CalInterpolation.h.
References weighting(), and weighting_p.
virtual void casa::CalInterpolation::setWindows | ( | const Vector< Quantity > & | windows | ) | [inline, virtual] |
Set interpolation window (per axis)
Definition at line 124 of file CalInterpolation.h.
virtual Type casa::CalInterpolation::type | ( | ) | [inline, virtual] |
Get interpolation type.
Definition at line 140 of file CalInterpolation.h.
References type_p.
Referenced by setType().
virtual Weighting casa::CalInterpolation::weighting | ( | ) | [inline, virtual] |
Get interpolation weighting type.
Definition at line 143 of file CalInterpolation.h.
References weighting_p.
Referenced by setWeighting().
virtual Vector<Quantity> casa::CalInterpolation::windows | ( | ) | [inline, virtual] |
Get interpolation windows for each axis.
Definition at line 146 of file CalInterpolation.h.
References windows_p.
Referenced by setWindows().
Vector<Int> casa::CalInterpolation::axes_p [private] |
Interpolation axes.
Definition at line 153 of file CalInterpolation.h.
Vector<MSSelection> casa::CalInterpolation::calIndex_p [private] |
Definition at line 174 of file CalInterpolation.h.
Referenced by calIndex(), and setIndexMap().
Vector<MSSelection> casa::CalInterpolation::msIndex_p [private] |
Interpolation index mapping.
Definition at line 174 of file CalInterpolation.h.
Referenced by msIndex(), and setIndexMap().
Int casa::CalInterpolation::npoly_p [private] |
Polynomial order.
Definition at line 171 of file CalInterpolation.h.
Referenced by nPoly(), and setNpoly().
Type casa::CalInterpolation::type_p [private] |
Interpolation type.
Definition at line 162 of file CalInterpolation.h.
Weighting casa::CalInterpolation::weighting_p [private] |
Interpolation weighting type.
Definition at line 165 of file CalInterpolation.h.
Referenced by setWeighting(), and weighting().
Vector<Quantity> casa::CalInterpolation::windows_p [private] |
Interpolation windows.
Definition at line 168 of file CalInterpolation.h.
Referenced by setWindows(), and windows().