casa
5.7.0-16
|
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. More... | |
virtual | ~CalInterpolation () |
CalInterpolation (const CalInterpolation &other) | |
Copy constructor and assignment operator. More... | |
virtual CalInterpolation & | operator= (const CalInterpolation &other) |
virtual void | setAxes (const casacore::Vector< casacore::Int > &axes) |
Set interpolation axes. More... | |
virtual void | setType (const Type &type) |
Set interpolation type. More... | |
virtual void | setWeighting (const Weighting &weighting) |
Set interpolation weighting. More... | |
virtual void | setWindows (const casacore::Vector< casacore::Quantity > &windows) |
Set interpolation window (per axis) More... | |
virtual void | setNpoly (const casacore::Int &npoly) |
Set polynomial order. More... | |
virtual void | setIndexMap (const casacore::Vector< casacore::MSSelection > &msIndex, const casacore::Vector< casacore::MSSelection > &calIndex) |
Set interpolation index mapping. More... | |
virtual casacore::Vector < casacore::Int > | axes () |
Get number and type of interpolation axes. More... | |
virtual casacore::Int | nAxes () |
virtual Type | type () |
Get interpolation type. More... | |
virtual Weighting | weighting () |
Get interpolation weighting type. More... | |
virtual casacore::Vector < casacore::Quantity > | windows () |
Get interpolation windows for each axis. More... | |
virtual casacore::Int | nPoly () |
Get polynomial order. More... | |
virtual casacore::Vector < casacore::MSSelection > | msIndex () |
Get interpolation index mapping. More... | |
virtual casacore::Vector < casacore::MSSelection > | calIndex () |
Private Attributes | |
casacore::Vector< casacore::Int > | axes_p |
Interpolation axes. More... | |
Type | type_p |
Interpolation type. More... | |
Weighting | weighting_p |
Interpolation weighting type. More... | |
casacore::Vector < casacore::Quantity > | windows_p |
Interpolation windows. More... | |
casacore::Int | npoly_p |
casacore::Polynomial order More... | |
casacore::Vector < casacore::MSSelection > | msIndex_p |
Interpolation index mapping. More... | |
casacore::Vector < casacore::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.
Enumerator | |
---|---|
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.
Enumerator | |
---|---|
WEIGHTED |
Weight by the calibration solution weight. |
UNWEIGHTED |
Use unit weighting for all points. |
Definition at line 97 of file CalInterpolation.h.
casa::CalInterpolation::CalInterpolation | ( | ) |
Default null constructor, and destructor.
|
virtual |
casa::CalInterpolation::CalInterpolation | ( | const CalInterpolation & | other | ) |
Copy constructor and assignment operator.
|
inlinevirtual |
Get number and type of interpolation axes.
Definition at line 136 of file CalInterpolation.h.
References axes_p.
Referenced by setAxes().
|
inlinevirtual |
Definition at line 153 of file CalInterpolation.h.
References calIndex_p.
Referenced by setIndexMap().
|
inlinevirtual |
Get interpolation index mapping.
Definition at line 152 of file CalInterpolation.h.
References msIndex_p.
Referenced by setIndexMap().
|
inlinevirtual |
Definition at line 137 of file CalInterpolation.h.
References axes_p, and casacore::ArrayBase::nelements().
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
Set interpolation axes.
Definition at line 114 of file CalInterpolation.h.
|
inlinevirtual |
Set interpolation index mapping.
Definition at line 131 of file CalInterpolation.h.
References calIndex(), calIndex_p, msIndex(), and msIndex_p.
|
inlinevirtual |
|
inlinevirtual |
Set interpolation type.
Definition at line 117 of file CalInterpolation.h.
|
inlinevirtual |
Set interpolation weighting.
Definition at line 120 of file CalInterpolation.h.
References weighting(), and weighting_p.
|
inlinevirtual |
Set interpolation window (per axis)
Definition at line 124 of file CalInterpolation.h.
|
inlinevirtual |
Get interpolation type.
Definition at line 140 of file CalInterpolation.h.
References type_p.
Referenced by setType().
|
inlinevirtual |
Get interpolation weighting type.
Definition at line 143 of file CalInterpolation.h.
References weighting_p.
Referenced by setWeighting().
|
inlinevirtual |
Get interpolation windows for each axis.
Definition at line 146 of file CalInterpolation.h.
References windows_p.
Referenced by setWindows().
|
private |
Interpolation axes.
Definition at line 153 of file CalInterpolation.h.
|
private |
Definition at line 174 of file CalInterpolation.h.
Referenced by calIndex(), and setIndexMap().
|
private |
Interpolation index mapping.
Definition at line 174 of file CalInterpolation.h.
Referenced by msIndex(), and setIndexMap().
|
private |
casacore::Polynomial order
Definition at line 171 of file CalInterpolation.h.
Referenced by nPoly(), and setNpoly().
|
private |
Interpolation type.
Definition at line 162 of file CalInterpolation.h.
|
private |
Interpolation weighting type.
Definition at line 165 of file CalInterpolation.h.
Referenced by setWeighting(), and weighting().
|
private |
Interpolation windows.
Definition at line 168 of file CalInterpolation.h.
Referenced by setWindows(), and windows().