casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Attributes
casa::CalInterpolation Class Reference

CalInterpolation: a class to hold calibration interpolation parameters. More...

#include <CalInterpolation.h>

List of all members.

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 CalInterpolationoperator= (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< Intaxes ()
 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< Quantitywindows ()
 Get interpolation windows for each axis.
virtual Int nPoly ()
 Get polynomial order.
virtual Vector< MSSelectionmsIndex ()
 Get interpolation index mapping.
virtual Vector< MSSelectioncalIndex ()

Private Attributes

Vector< Intaxes_p
 Interpolation axes.
Type type_p
 Interpolation type.
Weighting weighting_p
 Interpolation weighting type.
Vector< Quantitywindows_p
 Interpolation windows.
Int npoly_p
 Polynomial order.
Vector< MSSelectionmsIndex_p
 Interpolation index mapping.
Vector< MSSelectioncalIndex_p

Detailed Description

CalInterpolation: a class to hold calibration interpolation parameters.

Intended use:

Public interface

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.

Definition at line 78 of file CalInterpolation.h.


Member Enumeration Documentation

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.


Constructor & Destructor Documentation

Default null constructor, and destructor.

Copy constructor and assignment operator.


Member Function Documentation

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]

Get polynomial order.

Definition at line 149 of file CalInterpolation.h.

References npoly_p.

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.

References axes(), and axes_p.

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]

Set polynomial order.

Definition at line 128 of file CalInterpolation.h.

References npoly_p.

virtual void casa::CalInterpolation::setType ( const Type type) [inline, virtual]

Set interpolation type.

Definition at line 117 of file CalInterpolation.h.

References type(), and type_p.

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.

References windows(), and windows_p.

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


Member Data Documentation

Interpolation axes.

Definition at line 153 of file CalInterpolation.h.

Referenced by axes(), nAxes(), and setAxes().

Definition at line 174 of file CalInterpolation.h.

Referenced by calIndex(), and setIndexMap().

Interpolation index mapping.

Definition at line 174 of file CalInterpolation.h.

Referenced by msIndex(), and setIndexMap().

Polynomial order.

Definition at line 171 of file CalInterpolation.h.

Referenced by nPoly(), and setNpoly().

Interpolation type.

Definition at line 162 of file CalInterpolation.h.

Referenced by setType(), and type().

Interpolation weighting type.

Definition at line 165 of file CalInterpolation.h.

Referenced by setWeighting(), and weighting().

Interpolation windows.

Definition at line 168 of file CalInterpolation.h.

Referenced by setWindows(), and windows().


The documentation for this class was generated from the following file: