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


EPJones (pointing errors) More...

#include <EPJones.h>

Inheritance diagram for casa::EPJones:
casa::SolvableVisJones casa::SolvableVisMueller casa::VisJones casa::SolvableVisCal casa::VisMueller casa::VisMueller casa::VisCal casa::VisCal casa::VisCal

List of all members.

Public Member Functions

 EPJones (VisSet &vs)
 Constructor.
 EPJones (VisSet &vs, MeasurementSet &ms)
 {throw(AipsError("Use the constructor EPJones(VisSet&, MeasurementSet&) instead"));};
virtual ~EPJones ()
 EPJones(const Int& nAnt); // NYI.
virtual Type type ()
 Return the type enum.
virtual String typeName ()
 Return type name as string.
virtual String longTypeName ()
Jones::JonesType jonesType ()
 Type of Jones matrix according to nPar()
virtual VisCalEnum::VCParType parType ()
 Return the parameter type (nominally complex)
Cube< Float > & loadPar ()
 Specialized access to pointing parameters (no chan axis)
virtual void setModel (const String &modelImage)
virtual void setSolve ()
 Set the solving parameters.
virtual void setSolve (const Record &solve)
virtual void setNiter (const Int &niter)
virtual void setTolerance (const Float &tol)
virtual void setGain (const Float &gain)
virtual void setApply (const Record &applypar)
virtual void applyCal (VisBuffer &vb, Cube< Complex > &Mout)
 Apply calibration to a VisBuffer.
virtual void differentiate (VisBuffer &vb, Cube< Complex > &Mout, Array< Complex > &dMout, Matrix< Bool > &Mflg)
 Differentiate a VisBuffer w.r.t.
virtual void differentiate (VisBuffer &vb, VisBuffer &dvb0, VisBuffer &dvb1, Matrix< Bool > &Mflg)
 Differentiate a VisBuffer w.r.t.
virtual void diffResiduals (VisIter &vi, VisEquation &ve, VisBuffer &residuals, VisBuffer &dVr1, VisBuffer &dVr2, Matrix< Bool > &flags)
 This one averages the residuals and the derivatives in time.
virtual void guessPar (VisBuffer &vb)
 Guess (throws error because we don't yet solve for this)
virtual void guessPar ()
virtual Cube< Float > & solveRPar ()
virtual void setRPar (Cube< Float > &val)
virtual void setRPar (Double val)
virtual Bool normalizable ()
 virtual void keep(const Int& slot);
virtual void keep (const Int &slot)
 virtual BaseCalSet& cs() {return *rcs_;};
virtual CalSet< Float > & rcs ()
virtual void inflate (const Vector< Int > &nChan, const Vector< Int > &startChan, const Vector< Int > &nSlot)
 Inflate the pristine CalSet (generically)
void initSolve (VisSet &vs)
void initSolvePar ()
 Initialize solve parameter shape Jones version: (nPar(),1,nAnt()) (one chan, all antennas)
void store ()
void store (const String &table, const Bool &append)
Bool verifyForSolve (VisBuffer &vb)
virtual void postSolveMassage (const VisBuffer &)
virtual void selfGatherAndSolve (VisSet &vs, VisEquation &ve)
 Self- gather and/or solve prototypes (triggered by useGenericGatherForSolve=F or useGenericSolveOne=F; must be overridden in derived specializations)
virtual Bool useGenericGatherForSolve ()
 Report if calibration available for specified spw (if no CalInterp available, assume True)
virtual Float printFraction (const Int &)
Array< FloatgetOffsets (const Int &spw)
Array< DoublegetTime (const Int &spw)
void nearest (const Double time, Array< Float > &vals)
void printRPar ()

Protected Member Functions

virtual Int nPar ()
 EP has a pair of real parameters per feed.
virtual Bool trivialJonesElem ()
 Jones matrix elements are NOT trivial.
virtual void makeComplexGrid (TempImage< Complex > &Grid, PagedImage< Float > &ModelImage, VisBuffer &vb)
 Fill-in a complex grid with the image values in prepration for computing it's FT.
void printActivity (const Int slotNo, const Int fieldId, const Int spw, const Int nSolutions)

Private Attributes

Cube< FloatpointPar_
 inline virtual CalSet<Float> rcs() {return *cs_;}
nPBWProjectFTpbwp_p
MeasurementSetms_p
 PBMosaicFT *pbwp_p;.
VisSetvs_p
TempImage< Complex > targetVisModel_
 Array<Float> azOff, elOff;.
CalSet< Float > * rcs_
Double maxTimePerSolution
Double minTimePerSolution
Double avgTimePerSolution
Timer timer
Vector< IntpolMap_p
Float tolerance_p
Float gain_p
Int niter_p

Detailed Description


EPJones (pointing errors)

 

Definition at line 56 of file EPJones.h.


Constructor & Destructor Documentation

Constructor.

{throw(AipsError("Use the constructor EPJones(VisSet&, MeasurementSet&) instead"));};

virtual casa::EPJones::~EPJones ( ) [virtual]

EPJones(const Int& nAnt); // NYI.


Member Function Documentation

virtual void casa::EPJones::applyCal ( VisBuffer vb,
Cube< Complex > &  Mout 
) [virtual]

Apply calibration to a VisBuffer.

virtual void casa::EPJones::differentiate ( VisBuffer vb,
Cube< Complex > &  Mout,
Array< Complex > &  dMout,
Matrix< Bool > &  Mflg 
) [virtual]

Differentiate a VisBuffer w.r.t.

pointng parameters

 These effectively compute residuals and derivatives for
 a time-averaged VisBuffer

Reimplemented from casa::SolvableVisJones.

virtual void casa::EPJones::differentiate ( VisBuffer vb,
VisBuffer dvb0,
VisBuffer dvb1,
Matrix< Bool > &  Mflg 
) [virtual]

Differentiate a VisBuffer w.r.t.

pointng parameters

Reimplemented from casa::SolvableVisCal.

virtual void casa::EPJones::diffResiduals ( VisIter vi,
VisEquation ve,
VisBuffer residuals,
VisBuffer dVr1,
VisBuffer dVr2,
Matrix< Bool > &  flags 
) [virtual]

This one averages the residuals and the derivatives in time.

Array<Float> casa::EPJones::getOffsets ( const Int spw) [inline]

Definition at line 149 of file EPJones.h.

References casa::CalSet< T >::par(), and rcs().

Array<Double> casa::EPJones::getTime ( const Int spw) [inline]

Definition at line 150 of file EPJones.h.

References rcs(), and casa::CalSet< T >::time().

virtual void casa::EPJones::guessPar ( VisBuffer vb) [virtual]

Guess (throws error because we don't yet solve for this)

Reimplemented from casa::SolvableVisMueller.

virtual void casa::EPJones::guessPar ( ) [inline, virtual]

Definition at line 122 of file EPJones.h.

References pointPar_.

virtual void casa::EPJones::inflate ( const Vector< Int > &  nChanDat,
const Vector< Int > &  startChanDat,
const Vector< Int > &  nSlot 
) [virtual]

Inflate the pristine CalSet (generically)

Reimplemented from casa::SolvableVisCal.

void casa::EPJones::initSolvePar ( ) [virtual]

Initialize solve parameter shape Jones version: (nPar(),1,nAnt()) (one chan, all antennas)

Reimplemented from casa::SolvableVisJones.

Type of Jones matrix according to nPar()

Implements casa::VisJones.

Definition at line 75 of file EPJones.h.

References casa::Jones::Diagonal.

virtual void casa::EPJones::keep ( const Int slot) [virtual]

virtual BaseCalSet& cs() {return *rcs_;};

Specialized access to pointing parameters (no chan axis)

virtual String casa::EPJones::longTypeName ( ) [inline, virtual]

Reimplemented from casa::VisCal.

Definition at line 72 of file EPJones.h.

virtual void casa::EPJones::makeComplexGrid ( TempImage< Complex > &  Grid,
PagedImage< Float > &  ModelImage,
VisBuffer vb 
) [protected, virtual]

Fill-in a complex grid with the image values in prepration for computing it's FT.

void casa::EPJones::nearest ( const Double  time,
Array< Float > &  vals 
) [virtual]

Reimplemented from casa::SolvableVisJones.

virtual Bool casa::EPJones::normalizable ( ) [inline, virtual]

virtual void keep(const Int& slot);

Reimplemented from casa::SolvableVisJones.

Definition at line 130 of file EPJones.h.

References casa::False.

virtual Int casa::EPJones::nPar ( ) [inline, protected, virtual]

EP has a pair of real parameters per feed.

Implements casa::VisCal.

Definition at line 157 of file EPJones.h.

virtual VisCalEnum::VCParType casa::EPJones::parType ( ) [inline, virtual]

Return the parameter type (nominally complex)

Reimplemented from casa::VisCal.

Definition at line 77 of file EPJones.h.

References casa::VisCalEnum::REAL, and casa::SolvableVisCal::setParType().

virtual void casa::EPJones::postSolveMassage ( const VisBuffer ) [virtual]
void casa::EPJones::printActivity ( const Int  slotNo,
const Int  fieldId,
const Int  spw,
const Int  nSolutions 
) [protected]
virtual Float casa::EPJones::printFraction ( const Int ) [inline, virtual]

Definition at line 148 of file EPJones.h.

virtual CalSet<Float>& casa::EPJones::rcs ( ) [inline, virtual]

Definition at line 135 of file EPJones.h.

References rcs_.

Referenced by getOffsets(), and getTime().

virtual void casa::EPJones::selfGatherAndSolve ( VisSet vs,
VisEquation ve 
) [virtual]

Self- gather and/or solve prototypes (triggered by useGenericGatherForSolve=F or useGenericSolveOne=F; must be overridden in derived specializations)

Reimplemented from casa::SolvableVisCal.

virtual void casa::EPJones::setApply ( const Record applypar) [virtual]

Reimplemented from casa::SolvableVisCal.

virtual void casa::EPJones::setGain ( const Float gain) [inline, virtual]

Definition at line 88 of file EPJones.h.

References gain_p.

virtual void casa::EPJones::setModel ( const String modelImage) [virtual]

Reimplemented from casa::SolvableVisCal.

virtual void casa::EPJones::setNiter ( const Int niter) [inline, virtual]

Definition at line 86 of file EPJones.h.

References niter_p.

virtual void casa::EPJones::setRPar ( Cube< Float > &  val) [inline, virtual]

Definition at line 125 of file EPJones.h.

References pointPar_, casa::Cube< T >::resize(), and casa::Cube< T >::shape().

virtual void casa::EPJones::setRPar ( Double  val) [inline, virtual]

Definition at line 126 of file EPJones.h.

References pointPar_.

virtual void casa::EPJones::setSolve ( ) [virtual]

Set the solving parameters.

Reimplemented from casa::SolvableVisCal.

virtual void casa::EPJones::setSolve ( const Record solve) [virtual]

Reimplemented from casa::SolvableVisCal.

virtual void casa::EPJones::setTolerance ( const Float tol) [inline, virtual]

Definition at line 87 of file EPJones.h.

References tolerance_p.

virtual Cube<Float>& casa::EPJones::solveRPar ( ) [inline, virtual]

Reimplemented from casa::SolvableVisCal.

Definition at line 124 of file EPJones.h.

References pointPar_.

void casa::EPJones::store ( const String table,
const Bool append 
)
virtual Bool casa::EPJones::trivialJonesElem ( ) [inline, protected, virtual]

Jones matrix elements are NOT trivial.

Implements casa::VisJones.

Definition at line 160 of file EPJones.h.

References casa::False.

virtual Type casa::EPJones::type ( ) [inline, virtual]

Return the type enum.

Implements casa::VisCal.

Definition at line 68 of file EPJones.h.

References casa::VisCal::E.

virtual String casa::EPJones::typeName ( ) [inline, virtual]

Return type name as string.

Reimplemented from casa::VisCal.

Definition at line 71 of file EPJones.h.

virtual Bool casa::EPJones::useGenericGatherForSolve ( ) [inline, virtual]

Report if calibration available for specified spw (if no CalInterp available, assume True)

Use generic data gathering mechanism for solve

Reimplemented from casa::SolvableVisCal.

Definition at line 147 of file EPJones.h.

References casa::False.

Reimplemented from casa::SolvableVisCal.


Member Data Documentation

Definition at line 181 of file EPJones.h.

Definition at line 184 of file EPJones.h.

Referenced by setGain().

Definition at line 181 of file EPJones.h.

Definition at line 181 of file EPJones.h.

PBMosaicFT *pbwp_p;.

Definition at line 176 of file EPJones.h.

Definition at line 185 of file EPJones.h.

Referenced by setNiter().

Definition at line 174 of file EPJones.h.

inline virtual CalSet<Float> rcs() {return *cs_;}

Local Matrix for referencing pointing pars in a convenient way

Definition at line 173 of file EPJones.h.

Referenced by guessPar(), setRPar(), and solveRPar().

Definition at line 183 of file EPJones.h.

Definition at line 180 of file EPJones.h.

Referenced by rcs().

Array<Float> azOff, elOff;.

Definition at line 179 of file EPJones.h.

Definition at line 182 of file EPJones.h.

Definition at line 184 of file EPJones.h.

Referenced by setTolerance().

Definition at line 177 of file EPJones.h.


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