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


LJJones (pointing errors) More...

#include <LJJones.h>

Inheritance diagram for casa::LJJones:
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

 LJJones (VisSet &vs)
 Constructor.
 LJJones (VisSet &vs, MeasurementSet &ms)
 {throw(AipsError("Use the constructor LJJones(VisSet&, MeasurementSet&) instead"));};
virtual ~LJJones ()
 LJJones(const Int& nAnt); // NYI.
virtual Type type ()
 Return the type enum.
virtual String typeName ()
 Return type name as string.
virtual String longTypeName ()
virtual Bool freqDepPar ()
 Frequency-dependent Parameters? Nominally not.
Jones::JonesType jonesType ()
 Type of Jones matrix according to nPar()
virtual VisCalEnum::VCParType parType ()
 Return the parameter type (nominally complex)
Cube< Complex > & 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< Complex > & solvePar ()
virtual void setRPar (Cube< Complex > &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 *cs_;};
virtual CalSet< Complex > & cs ()
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< Complex > getOffsets (const Int &spw)
Array< DoublegetTime (const Int &spw)
void nearest (const Double time, Array< Complex > &vals)
void printRPar ()
void setByPassMode (Int &b)
void getAvgVB (VisIter &vi, VisEquation &ve, VisBuffer &vb)

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)
void reformVisibilities (const VisBuffer &vb, const Int whichChan, const Int whichPol, Array< Complex > &visArray, Array< Float > &visWts)
 inline virtual CalSet<Float> cs() {return *cs_;}
Int getRefAnt (const Array< Float > &visWts)

Private Attributes

Cube< Complex > pointPar_
 Local Matrix for referencing pointing pars in a convenient way.
GridFTpbwp_p
MeasurementSetms_p
VisSetvs_p
TempImage< Complex > targetVisModel_
 Array<Float> azOff, elOff;.
CalSet< Complex > * cs_
Double maxTimePerSolution
Double minTimePerSolution
Double avgTimePerSolution
Timer timer
Vector< IntpolMap_p
Float tolerance_p
Float gain_p
Int niter_p
Int byPass_p
String modelImageName_p

Detailed Description


LJJones (pointing errors)

 

Definition at line 56 of file LJJones.h.


Constructor & Destructor Documentation

Constructor.

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

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

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


Member Function Documentation

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

Apply calibration to a VisBuffer.

virtual CalSet<Complex>& casa::LJJones::cs ( ) [inline, virtual]

Definition at line 137 of file LJJones.h.

References cs_.

Referenced by getOffsets(), and getTime().

virtual void casa::LJJones::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::LJJones::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::LJJones::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.

virtual Bool casa::LJJones::freqDepPar ( ) [inline, virtual]

Frequency-dependent Parameters? Nominally not.

Reimplemented from casa::VisCal.

Definition at line 74 of file LJJones.h.

References casa::False.

void casa::LJJones::getAvgVB ( VisIter vi,
VisEquation ve,
VisBuffer vb 
)
Array<Complex> casa::LJJones::getOffsets ( const Int spw) [inline]

Definition at line 151 of file LJJones.h.

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

Int casa::LJJones::getRefAnt ( const Array< Float > &  visWts) [protected]
Array<Double> casa::LJJones::getTime ( const Int spw) [inline]

Definition at line 152 of file LJJones.h.

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

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

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

Reimplemented from casa::SolvableVisMueller.

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

Definition at line 124 of file LJJones.h.

References pointPar_.

virtual void casa::LJJones::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::LJJones::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 77 of file LJJones.h.

References casa::Jones::General.

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

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

Specialized access to pointing parameters (no chan axis)

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

Reimplemented from casa::VisCal.

Definition at line 72 of file LJJones.h.

virtual void casa::LJJones::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::LJJones::nearest ( const Double  time,
Array< Complex > &  vals 
) [virtual]

Reimplemented from casa::SolvableVisJones.

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

virtual void keep(const Int& slot);

Reimplemented from casa::SolvableVisJones.

Definition at line 132 of file LJJones.h.

References casa::False.

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

EP has a pair of real parameters per feed.

Implements casa::VisCal.

Definition at line 161 of file LJJones.h.

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

Return the parameter type (nominally complex)

Reimplemented from casa::VisCal.

Definition at line 79 of file LJJones.h.

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

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

Definition at line 150 of file LJJones.h.

void casa::LJJones::reformVisibilities ( const VisBuffer vb,
const Int  whichChan,
const Int  whichPol,
Array< Complex > &  visArray,
Array< Float > &  visWts 
) [protected]

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

virtual void casa::LJJones::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::LJJones::setApply ( const Record applypar) [virtual]

Reimplemented from casa::SolvableVisCal.

void casa::LJJones::setByPassMode ( Int b) [inline]

Definition at line 156 of file LJJones.h.

References byPass_p.

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

Definition at line 90 of file LJJones.h.

References gain_p.

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

Reimplemented from casa::SolvableVisCal.

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

Definition at line 88 of file LJJones.h.

References niter_p.

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

Definition at line 127 of file LJJones.h.

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

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

Definition at line 128 of file LJJones.h.

References pointPar_.

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

Set the solving parameters.

Reimplemented from casa::SolvableVisCal.

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

Reimplemented from casa::SolvableVisCal.

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

Definition at line 89 of file LJJones.h.

References tolerance_p.

virtual Cube<Complex>& casa::LJJones::solvePar ( ) [inline, virtual]

Definition at line 126 of file LJJones.h.

References pointPar_.

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

Jones matrix elements are NOT trivial.

Implements casa::VisJones.

Definition at line 164 of file LJJones.h.

References casa::False.

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

Return the type enum.

Implements casa::VisCal.

Definition at line 68 of file LJJones.h.

References casa::VisCal::E.

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

Return type name as string.

Reimplemented from casa::VisCal.

Definition at line 71 of file LJJones.h.

virtual Bool casa::LJJones::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 149 of file LJJones.h.

References casa::False.

Reimplemented from casa::SolvableVisCal.


Member Data Documentation

Definition at line 188 of file LJJones.h.

Definition at line 192 of file LJJones.h.

Referenced by setByPassMode().

CalSet<Complex>* casa::LJJones::cs_ [private]

Definition at line 187 of file LJJones.h.

Referenced by cs().

Definition at line 191 of file LJJones.h.

Referenced by setGain().

Definition at line 188 of file LJJones.h.

Definition at line 188 of file LJJones.h.

Definition at line 193 of file LJJones.h.

Definition at line 183 of file LJJones.h.

Definition at line 192 of file LJJones.h.

Referenced by setNiter().

Definition at line 182 of file LJJones.h.

Cube<Complex> casa::LJJones::pointPar_ [private]

Local Matrix for referencing pointing pars in a convenient way.

Definition at line 181 of file LJJones.h.

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

Definition at line 190 of file LJJones.h.

Array<Float> azOff, elOff;.

Definition at line 186 of file LJJones.h.

Definition at line 189 of file LJJones.h.

Definition at line 191 of file LJJones.h.

Referenced by setTolerance().

Definition at line 184 of file LJJones.h.


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