CalInterpolation.h
Classes
- CalInterpolation -- CalInterpolation: a class to hold calibration interpolation parameters (full description)
Types
- LINEAR = 0
-
Linear two-point
- NEAREST_NEIGHBOUR = 1
-
Nearest calibration solution only
- POLYNOMIAL = 2
-
Fit a polynomial and interpolate
- SPLINE = 3
-
Use natural cubic splines to interpolate
- WEIGHTED = 1
-
Weight by the calibration solution weight
- UNWEIGHTED = 0
-
Use unit weighting for all points
Interface
- Public Members
- CalInterpolation()
- virtual ~CalInterpolation()
- CalInterpolation (const CalInterpolation& other)
- virtual CalInterpolation& operator= (const CalInterpolation& other)
- virtual void setAxes (const Vector<Int>& axes)
- virtual void setType (const Type& type)
- virtual void setWeighting (const Weighting& weighting)
- virtual void setWindows (const Vector<Quantity>& windows)
- virtual void setNpoly (const Int& npoly)
- virtual void setIndexMap (const Vector<MSSelection>& msIndex, const Vector<MSSelection>& calIndex)
- virtual Vector<Int> axes()
- virtual Int nAxes()
- virtual Type type()
- virtual Weighting weighting()
- virtual Vector<Quantity> windows()
- virtual Int nPoly()
- virtual Vector<MSSelection> msIndex()
- virtual Vector<MSSelection> calIndex()
Prerequisite
Etymology
From "calibration" and "interpolation".
Synopsis
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.
Example
Motivation
This class is used by the calibration interpolater classes.
To Do
Member Description
Basic interpolation type
Interpolation weighting type
Default null constructor, and destructor
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
Set interpolation weighting
virtual void setWindows (const Vector<Quantity>& windows)
Set interpolation window (per axis)
virtual void setNpoly (const Int& npoly)
Set polynomial order
Set interpolation index mapping
Get number and type of interpolation axes
virtual Int nAxes()
Get interpolation type
Get interpolation weighting type
Get interpolation windows for each axis
virtual Int nPoly()
Get polynomial order
Get interpolation index mapping