casa::refim::WTerm Class Reference

A class to apply the W-Term to the given image. More...

#include <WTerm.h>

Inheritance diagram for casa::refim::WTerm:
casa::refim::CFTerms

List of all members.

Public Member Functions

 WTerm ()
 ~WTerm ()
virtual void applySky (Matrix< Complex > &screen, const Int wPixel, const Vector< Double > &sampling, const Double wScale, const Int inner)
virtual void applySky (Matrix< Complex > &screen, const Vector< Double > &sampling, const Double wValue, const Int inner)
int getVisParams (const VisBuffer2 &vb, const CoordinateSystem &skyCoord=CoordinateSystem())
void setPolMap (const Vector< Int > &polMap)
 The mapping from VisBuffer polarizations map to the Image plane polarization.
virtual Float getSupportThreshold ()
virtual void normalizeImage (Lattice< Complex > &skyImage, const Matrix< Float > &weights)
 WTerm normalizes the image be unity.
virtual String name ()
void applySky (ImageInterface< Float > &, const VisBuffer2 &, const Bool, const Int &, const Int &, const Double)
 The following functions are not required for W-Term but need to be implemented here since they are pure virtuals in CFTerms base class.
void applySky (ImageInterface< Complex > &, const VisBuffer2 &, const Bool, const Int &, const Int &, const Double)
Vector< Int > vbRow2CFKeyMap (const VisBuffer2 &vb, Int &nUnique)
 Not sure if the following method is requried.
Int makePBPolnCoords (const VisBuffer2 &vb, const Int &convSize, const Int &convSampling, const CoordinateSystem &skyCoord, const Int &skyNx, const Int &skyNy, CoordinateSystem &feedCoord)
Bool rotationallySymmetric ()
Int getConvSize ()
Int getOversampling ()
void setConvSize (const Int)
void setOversampling (const Int)
Float getConvWeightSizeFactor ()

Detailed Description

A class to apply the W-Term to the given image.

Intended use:

Public interface

Etymology

W-Term to account for non co-planar baselines

Synopsis

Definition at line 55 of file WTerm.h.


Constructor & Destructor Documentation

casa::refim::WTerm::WTerm (  )  [inline]

Definition at line 58 of file WTerm.h.

casa::refim::WTerm::~WTerm (  )  [inline]

Definition at line 59 of file WTerm.h.


Member Function Documentation

void casa::refim::WTerm::applySky ( ImageInterface< Complex > &  ,
const VisBuffer2 ,
const   Bool,
const Int &  ,
const Int &  ,
const   Double 
) [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 91 of file WTerm.h.

void casa::refim::WTerm::applySky ( ImageInterface< Float > &  ,
const VisBuffer2 ,
const   Bool,
const Int &  ,
const Int &  ,
const   Double 
) [inline, virtual]

The following functions are not required for W-Term but need to be implemented here since they are pure virtuals in CFTerms base class.

Implements casa::refim::CFTerms.

Definition at line 84 of file WTerm.h.

virtual void casa::refim::WTerm::applySky ( Matrix< Complex > &  screen,
const Vector< Double > &  sampling,
const Double  wValue,
const Int  inner 
) [virtual]
virtual void casa::refim::WTerm::applySky ( Matrix< Complex > &  screen,
const Int  wPixel,
const Vector< Double > &  sampling,
const Double  wScale,
const Int  inner 
) [virtual]
Int casa::refim::WTerm::getConvSize (  )  [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 114 of file WTerm.h.

Float casa::refim::WTerm::getConvWeightSizeFactor (  )  [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 118 of file WTerm.h.

Int casa::refim::WTerm::getOversampling (  )  [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 115 of file WTerm.h.

virtual Float casa::refim::WTerm::getSupportThreshold (  )  [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 73 of file WTerm.h.

References casacore::C::e.

int casa::refim::WTerm::getVisParams ( const VisBuffer2 vb,
const CoordinateSystem &  skyCoord = CoordinateSystem() 
) [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 70 of file WTerm.h.

Int casa::refim::WTerm::makePBPolnCoords ( const VisBuffer2 vb,
const Int &  convSize,
const Int &  convSampling,
const CoordinateSystem &  skyCoord,
const Int &  skyNx,
const Int &  skyNy,
CoordinateSystem &  feedCoord 
) [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 100 of file WTerm.h.

virtual String casa::refim::WTerm::name (  )  [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 79 of file WTerm.h.

References String.

virtual void casa::refim::WTerm::normalizeImage ( Lattice< Complex > &  skyImage,
const Matrix< Float > &  weights 
) [inline, virtual]

WTerm normalizes the image be unity.

Implements casa::refim::CFTerms.

Definition at line 76 of file WTerm.h.

Bool casa::refim::WTerm::rotationallySymmetric (  )  [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 111 of file WTerm.h.

References casacore::True.

void casa::refim::WTerm::setConvSize ( const   Int  )  [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 116 of file WTerm.h.

void casa::refim::WTerm::setOversampling ( const   Int  )  [inline, virtual]

Implements casa::refim::CFTerms.

Definition at line 117 of file WTerm.h.

void casa::refim::WTerm::setPolMap ( const Vector< Int > &  polMap  )  [inline, virtual]

The mapping from VisBuffer polarizations map to the Image plane polarization.

The latter is determined by the user input, which is passed to the FTMachine in Imager.cc

The map is available in the FTMachine which uses this method to set the map for the CFTerms object.

Reimplemented from casa::refim::CFTerms.

Definition at line 72 of file WTerm.h.

Vector<Int> casa::refim::WTerm::vbRow2CFKeyMap ( const VisBuffer2 vb,
Int &  nUnique 
) [inline, virtual]

Not sure if the following method is requried.

Leaving it in the code for now with an implementation that does nothing.

virtual void applySky(Matrix<Complex>& screen, const Int wPixel, const Vector<Double>& sampling, const Int wConvSize, const Double wScale, const Int inner) {(void)screen; (void)wPixel; (void)sampling; (void)wConvSize; (void)wScale; (void)inner;};

Returns a vector of integers that map each row in the given VisBuffer to an index that is used to pick the appropriate convolution function plane. It also returns the number of unique baselines in the nUnique parameter (unique baselines are defined as the number of baselines each requiring a unique convolution function).

This is required for Heterogeneous antenna arrays (like ALMA) and for all arrays where not all antenna aperture illuminations can be treated as identical.

Implements casa::refim::CFTerms.

Definition at line 98 of file WTerm.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1