29 #ifndef CALIBRATION_CALINTERPOLATION_H
30 #define CALIBRATION_CALINTERPOLATION_H
Nearest calibration solution only.
virtual ~CalInterpolation()
Weight by the calibration solution weight.
size_t nelements() const
How many elements does this array have? Product of all axis lengths.
Fit a polynomial and interpolate.
virtual CalInterpolation & operator=(const CalInterpolation &other)
virtual casacore::Vector< casacore::MSSelection > msIndex()
Get interpolation index mapping.
virtual void setWeighting(const Weighting &weighting)
Set interpolation weighting.
Type type_p
Interpolation type.
virtual void setAxes(const casacore::Vector< casacore::Int > &axes)
Set interpolation axes.
casacore::Vector< casacore::Int > axes_p
Interpolation axes.
Type
Basic interpolation type.
Weighting
Interpolation weighting type.
CalInterpolation()
Default null constructor, and destructor.
virtual Weighting weighting()
Get interpolation weighting type.
CalInterpolation: a class to hold calibration interpolation parameters.
virtual void setNpoly(const casacore::Int &npoly)
Set polynomial order.
casacore::Vector< casacore::Quantity > windows_p
Interpolation windows.
casacore::Vector< casacore::MSSelection > calIndex_p
casacore::Vector< casacore::MSSelection > msIndex_p
Interpolation index mapping.
virtual casacore::Vector< casacore::Int > axes()
Get number and type of interpolation axes.
casacore::Int npoly_p
casacore::Polynomial order
virtual casacore::Vector< casacore::Quantity > windows()
Get interpolation windows for each axis.
virtual casacore::Vector< casacore::MSSelection > calIndex()
virtual Type type()
Get interpolation type.
virtual void setWindows(const casacore::Vector< casacore::Quantity > &windows)
Set interpolation window (per axis)
virtual void setIndexMap(const casacore::Vector< casacore::MSSelection > &msIndex, const casacore::Vector< casacore::MSSelection > &calIndex)
Set interpolation index mapping.
Use unit weighting for all points.
virtual casacore::Int nAxes()
Weighting weighting_p
Interpolation weighting type.
Use natural cubic splines to interpolate.
virtual void setType(const Type &type)
Set interpolation type.
virtual casacore::Int nPoly()
Get polynomial order.