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

#include <AMueller.h>

Inheritance diagram for casa::AMueller:
casa::MMueller casa::SolvableVisMueller casa::SolvableVisCal casa::VisMueller casa::VisCal casa::VisCal

List of all members.

Public Member Functions

 AMueller (VisSet &vs)
 Constructor.
 AMueller (const Int &nAnt)
virtual ~AMueller ()
virtual Type type ()
 Return the type enum.
virtual String typeName ()
 Return type name as string.
virtual String longTypeName ()
virtual Mueller::MuellerType muellerType ()
 Algebraic type of Mueller matrix (this is the key distinguishing characteristic)
virtual void setSolve (const Record &solvepar)
 Parameters particular to this class: fitorder: Order of the polynomial fit.
virtual void setSolveChannelization (VisSet &vs)
 AMueller's caltables have polynomial orders where channels would normally go.
virtual Int sizeUpSolve (VisSet &vs, Vector< Int > &nChunkPerSol)
 Size up the solving arrays, etc.
virtual Bool useGenericGatherForSolve ()
 The fitorder = 0 version (in M) skips LinearFitSVD by just averaging.
virtual Bool useGenericSolveOne ()
 Only called if useGenericGatherForSolve() == True.
virtual void selfSolveOne (VisBuffGroupAcc &vbga)
 Per-solution self-solving inside generic gather.
virtual void storeNCT ()
virtual void setApply ()
 Set the application parameters.
virtual void setApply (const Record &applypar)
virtual void applyCal (VisBuffer &vb, Cube< Complex > &Vout, Bool trial=False)
 Apply this calibration to vb.
virtual Bool freqDepPar ()
 Freq dependence.
virtual Bool freqDepMat ()
 Frequency-dependent Matrices? Nominally same as freqDepPar.
virtual Bool normalizable ()
 We do not normalize by the model, since we are estimating directly from the data (we should optimize here by avoiding the model I/O)
virtual void corrupt (VisBuffer &vb)
 Specialize corrupt to pre-zero model for corruption using VisMueller::corrupt;.
void syncCalMat (const Bool &doInv)
 virtual void corrupt(VisBuffer& vb, Cube<Complex>& Mout);

Protected Member Functions

virtual Int nPar ()
 M currently has just 2 complex parameters, i.e., both parallel hands.

Private Member Functions

void init ()
void hurl (const String &origin, const String &msg)
 Logs and throws msg as an exception from origin.

Private Attributes

Int fitorder_p
 Initialized to 0 in the initialization lists of the c'tors.
Bool doSub_p
Int nCorr_p
 estimate.
Vector< Doublelofreq_p
 Resized and set to impossible values in init().
Vector< Doublehifreq_p
Vector< uInttotnumchan_p
Vector< BoolspwApplied_p
 looked at (including masked ones!)

Detailed Description

Definition at line 40 of file AMueller.h.


Constructor & Destructor Documentation

Constructor.

casa::AMueller::AMueller ( const Int nAnt)
virtual casa::AMueller::~AMueller ( ) [virtual]

Member Function Documentation

virtual void casa::AMueller::applyCal ( VisBuffer vb,
Cube< Complex > &  Vout,
Bool  trial = False 
) [virtual]

Apply this calibration to vb.

AMueller does NOT support trial and ignores it!

Reimplemented from casa::VisMueller.

virtual void casa::AMueller::corrupt ( VisBuffer vb) [virtual]

Specialize corrupt to pre-zero model for corruption using VisMueller::corrupt;.

Reimplemented from casa::VisCal.

virtual Bool casa::AMueller::freqDepMat ( ) [inline, virtual]

Frequency-dependent Matrices? Nominally same as freqDepPar.

Reimplemented from casa::VisCal.

Definition at line 99 of file AMueller.h.

References fitorder_p, and casa::VisCal::nChanPar().

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

Freq dependence.

Reimplemented from casa::VisCal.

Definition at line 98 of file AMueller.h.

References casa::False.

void casa::AMueller::hurl ( const String origin,
const String msg 
) [private]

Logs and throws msg as an exception from origin.

Referenced by nPar().

void casa::AMueller::init ( ) [private]
virtual String casa::AMueller::longTypeName ( ) [inline, virtual]

Reimplemented from casa::MMueller.

Definition at line 54 of file AMueller.h.

virtual Mueller::MuellerType casa::AMueller::muellerType ( ) [inline, virtual]

Algebraic type of Mueller matrix (this is the key distinguishing characteristic)

Reimplemented from casa::MMueller.

Definition at line 58 of file AMueller.h.

References casa::Mueller::AddDiag2.

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

We do not normalize by the model, since we are estimating directly from the data (we should optimize here by avoiding the model I/O)

Reimplemented from casa::SolvableVisMueller.

Definition at line 106 of file AMueller.h.

References casa::False.

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

M currently has just 2 complex parameters, i.e., both parallel hands.

Reimplemented from casa::MMueller.

Definition at line 124 of file AMueller.h.

References hurl(), and nCorr_p.

virtual void casa::AMueller::selfSolveOne ( VisBuffGroupAcc vbga) [virtual]

Per-solution self-solving inside generic gather.

Flexible enough for fitorder != 0, but overkill otherwise.

Reimplemented from casa::SolvableVisCal.

virtual void casa::AMueller::setApply ( ) [inline, virtual]

Set the application parameters.

Reimplemented from casa::SolvableVisCal.

Definition at line 90 of file AMueller.h.

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

Reimplemented from casa::MMueller.

virtual void casa::AMueller::setSolve ( const Record solvepar) [virtual]

Parameters particular to this class: fitorder: Order of the polynomial fit.

If 0, it is just an average.

Reimplemented from casa::SolvableVisCal.

virtual void casa::AMueller::setSolveChannelization ( VisSet vs) [virtual]

AMueller's caltables have polynomial orders where channels would normally go.

setSolve() above sets the number of "channels", but SolvableVisCal::setSolveChannelization() would just reset it to 1 if it was not overrode here.

Reimplemented from casa::SolvableVisCal.

virtual Int casa::AMueller::sizeUpSolve ( VisSet vs,
Vector< Int > &  nChunkPerSol 
) [virtual]

Size up the solving arrays, etc.

(supports combine)

Reimplemented from casa::SolvableVisCal.

virtual void casa::AMueller::storeNCT ( ) [virtual]

Reimplemented from casa::SolvableVisCal.

void casa::AMueller::syncCalMat ( const Bool doInv) [inline, virtual]

virtual void corrupt(VisBuffer& vb, Cube<Complex>& Mout);

Set (repeatedly, unfortunately) whether or not subtraction is being done, and IF fitorder == 0, sync matrices for current meta data (VisMueller override). (Mueller matrices aren't used for fitorder != 0.)

Reimplemented from casa::VisMueller.

Definition at line 116 of file AMueller.h.

References doSub_p, and fitorder_p.

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

Return the type enum.

Reimplemented from casa::MMueller.

Definition at line 50 of file AMueller.h.

References casa::VisCal::A.

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

Return type name as string.

Reimplemented from casa::MMueller.

Definition at line 53 of file AMueller.h.

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

The fitorder = 0 version (in M) skips LinearFitSVD by just averaging.

Reimplemented from casa::MMueller.

Definition at line 76 of file AMueller.h.

References fitorder_p.

virtual Bool casa::AMueller::useGenericSolveOne ( ) [inline, virtual]

Only called if useGenericGatherForSolve() == True.

If useGenericGatherForSolve() == True, then genericGatherAndSolve() will call AMueller's selfSolveOne(). Otherwise MMueller's selfGatherAndSolve() will do everything.

Reimplemented from casa::SolvableVisCal.

Definition at line 82 of file AMueller.h.

References casa::False.


Member Data Documentation

Definition at line 139 of file AMueller.h.

Referenced by syncCalMat().

Initialized to 0 in the initialization lists of the c'tors.

Definition at line 137 of file AMueller.h.

Referenced by freqDepMat(), syncCalMat(), and useGenericGatherForSolve().

Definition at line 145 of file AMueller.h.

Resized and set to impossible values in init().

Definition at line 144 of file AMueller.h.

estimate.

Definition at line 141 of file AMueller.h.

Referenced by nPar().

looked at (including masked ones!)

Definition at line 148 of file AMueller.h.

Definition at line 146 of file AMueller.h.


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