#include <AMueller.h>
Public Member Functions | |
| AMueller (VisSet &vs) | |
| Constructor. | |
| AMueller (String msname, Int MSnAnt, Int MSnSpw) | |
| AMueller (const MSMetaInfoForCal &msmc) | |
| 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< Double > | lofreq_p |
| Resized and set to impossible values in init(). | |
| Vector< Double > | hifreq_p |
| Vector< uInt > | totnumchan_p |
| Vector< Bool > | spwApplied_p |
| looked at (including masked ones!) | |
Definition at line 40 of file AMueller.h.
| casa::AMueller::AMueller | ( | VisSet & | vs | ) |
Constructor.
| casa::AMueller::AMueller | ( | String | msname, | |
| Int | MSnAnt, | |||
| Int | MSnSpw | |||
| ) |
| casa::AMueller::AMueller | ( | const MSMetaInfoForCal & | msmc | ) |
| casa::AMueller::AMueller | ( | const Int & | nAnt | ) |
| virtual casa::AMueller::~AMueller | ( | ) | [virtual] |
| 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 101 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 100 of file AMueller.h.
References casacore::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 56 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 60 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 108 of file AMueller.h.
References casacore::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 126 of file AMueller.h.
| 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 | ( | const Record & | applypar | ) | [virtual] |
Reimplemented from casa::MMueller.
| virtual void casa::AMueller::setApply | ( | ) | [inline, virtual] |
Set the application parameters.
Reimplemented from casa::SolvableVisCal.
Definition at line 92 of file AMueller.h.
| 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] |
| 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 118 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 52 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 55 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 78 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 84 of file AMueller.h.
References casacore::False.
Bool casa::AMueller::doSub_p [private] |
Definition at line 141 of file AMueller.h.
Referenced by syncCalMat().
Int casa::AMueller::fitorder_p [private] |
Initialized to 0 in the initialization lists of the c'tors.
Definition at line 139 of file AMueller.h.
Referenced by freqDepMat(), syncCalMat(), and useGenericGatherForSolve().
Vector<Double> casa::AMueller::hifreq_p [private] |
Definition at line 147 of file AMueller.h.
Vector<Double> casa::AMueller::lofreq_p [private] |
Resized and set to impossible values in init().
Definition at line 146 of file AMueller.h.
Int casa::AMueller::nCorr_p [private] |
Vector<Bool> casa::AMueller::spwApplied_p [private] |
looked at (including masked ones!)
Definition at line 150 of file AMueller.h.
Vector<uInt> casa::AMueller::totnumchan_p [private] |
Definition at line 148 of file AMueller.h.
1.6.1