CalInterpolation.h

Classes

CalInterpolation -- CalInterpolation: a class to hold calibration interpolation parameters (full description)

class CalInterpolation

Types

enum Type

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

enum Weighting

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()

Description

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

enum Type

Basic interpolation type

enum Weighting

Interpolation weighting type

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()