casa
$Rev:20696$
|
#include <SolvableVisCal.h>
Public Member Functions | |
SolvableVisMueller (VisSet &vs) | |
SolvableVisMueller (const Int &nAnt) | |
virtual | ~SolvableVisMueller () |
virtual Int | nTotalPar () |
Total number of (complex) parameters per solve Mueller version: just return number of per-Bln parameters. | |
virtual Bool | normalizable () |
Does normalization by MODEL_DATA commute with this VisCal? | |
virtual void | guessPar (VisBuffer &) |
Hazard a guess at the parameters (solvePar) given the data. | |
virtual void | differentiate (CalVisBuffer &) |
Differentiate VB model w.r.t. | |
virtual void | differentiate (VisBuffer &, Cube< Complex > &, Array< Complex > &, Matrix< Bool > &) |
virtual void | diffSrc (VisBuffer &, Array< Complex > &) |
Differentiate VB model w.r.t. | |
virtual void | reReference () |
Apply refant (no-op for Muellers) | |
virtual void | accumulate (SolvableVisCal *, const Vector< Int > &) |
Accumulate another VisCal onto this one. | |
virtual void | fluxscale (const String &, const Vector< Int > &, const Vector< Int > &, const Vector< Int > &, const Vector< String > &, SolvableVisCal::fluxScaleStruct &, const String &, const Bool &, const Int &) |
Scale solutions. | |
virtual void | keepNCT () |
SVM-specific write to caltable. | |
virtual void | state () |
Report state: | |
virtual void | listCal (const Vector< Int >, const Vector< Int >, const Matrix< Int >, const String &, const Int &) |
List calibration solutions in tabular form. | |
Protected Member Functions | |
virtual Int | nCalMat () |
Number of Cal Matrices to form on baseline axis (Mueller, solve context: 1) | |
virtual Bool | trivialDM () |
Are differentiated M matrices constant in chan & bln? | |
virtual void | initSolvePar () |
Initialize solve parameter shape Mueller version: (nPar(),1,1) (one chan, one baseline) | |
Mueller & | dM () |
Access to matrix rendering of dM (per par) | |
Array< Complex > & | diffMElem () |
Access to differentiated Mueller elements. | |
virtual void | invalidateDiffCalMat () |
Invalidate diff cal matrices generically (at this level, just M, dM) | |
void | invalidateDM () |
Validation of diffMueller matrices. | |
void | validateDM () |
Bool | DMValid () |
virtual void | syncDiffMat () |
Synchronize the differentiated calibration (specialization for Mueller);. | |
virtual void | syncDiffMueller () |
Synchronize the Muellers AND diffMuellers. | |
virtual void | calcAllDiffMueller () |
Calculate the ensemble of diff'd Mueller Elements. | |
virtual void | calcOneDiffMueller (Matrix< Complex > &mat, const Vector< Complex > &par) |
Calculate one diffMElem. | |
void | createDiffMueller () |
Create matrix renderers for dMs. | |
void | setMatByOk () |
Override VM::setMatByOk in solve context. | |
virtual void | initTrivDM () |
Initialize trivial diff'd Muellers. | |
virtual void | stateSVM (const Bool &doVC) |
SVM-specific state. | |
Private Member Functions | |
SolvableVisMueller () | |
Default ctor is private. | |
Private Attributes | |
Mueller * | dM_ |
Mueller wrapper for diffMElem_;. | |
Array< Complex > | diffMElem_ |
Differentiated Mueller matrix elements. | |
Bool | DMValid_ |
diffMueller validation |
casa::SolvableVisMueller::SolvableVisMueller | ( | const Int & | nAnt | ) |
virtual casa::SolvableVisMueller::~SolvableVisMueller | ( | ) | [virtual] |
casa::SolvableVisMueller::SolvableVisMueller | ( | ) | [private] |
Default ctor is private.
virtual void casa::SolvableVisMueller::accumulate | ( | SolvableVisCal * | , |
const Vector< Int > & | |||
) | [inline, virtual] |
Accumulate another VisCal onto this one.
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 587 of file SolvableVisCal.h.
virtual void casa::SolvableVisMueller::calcAllDiffMueller | ( | ) | [protected, virtual] |
Calculate the ensemble of diff'd Mueller Elements.
virtual void casa::SolvableVisMueller::calcOneDiffMueller | ( | Matrix< Complex > & | mat, |
const Vector< Complex > & | par | ||
) | [protected, virtual] |
Calculate one diffMElem.
void casa::SolvableVisMueller::createDiffMueller | ( | ) | [protected] |
Create matrix renderers for dMs.
virtual void casa::SolvableVisMueller::differentiate | ( | CalVisBuffer & | ) | [inline, virtual] |
Differentiate VB model w.r.t.
Mueller parameters (no 2nd derivative yet)
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 572 of file SolvableVisCal.h.
virtual void casa::SolvableVisMueller::differentiate | ( | VisBuffer & | , |
Cube< Complex > & | , | ||
Array< Complex > & | , | ||
Matrix< Bool > & | |||
) | [inline, virtual] |
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones, casa::LJJones, and casa::EPJones.
Definition at line 573 of file SolvableVisCal.h.
Array<Complex>& casa::SolvableVisMueller::diffMElem | ( | ) | [inline, protected] |
Access to differentiated Mueller elements.
Definition at line 633 of file SolvableVisCal.h.
References diffMElem_.
virtual void casa::SolvableVisMueller::diffSrc | ( | VisBuffer & | , |
Array< Complex > & | |||
) | [inline, virtual] |
Differentiate VB model w.r.t.
Source parameters
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 580 of file SolvableVisCal.h.
Mueller& casa::SolvableVisMueller::dM | ( | ) | [inline, protected] |
Access to matrix rendering of dM (per par)
Definition at line 630 of file SolvableVisCal.h.
References dM_.
Bool casa::SolvableVisMueller::DMValid | ( | ) | [inline, protected] |
Definition at line 641 of file SolvableVisCal.h.
References DMValid_.
virtual void casa::SolvableVisMueller::fluxscale | ( | const String & | , |
const Vector< Int > & | , | ||
const Vector< Int > & | , | ||
const Vector< Int > & | , | ||
const Vector< String > & | , | ||
SolvableVisCal::fluxScaleStruct & | , | ||
const String & | , | ||
const Bool & | , | ||
const Int & | |||
) | [inline, virtual] |
Scale solutions.
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 591 of file SolvableVisCal.h.
virtual void casa::SolvableVisMueller::guessPar | ( | VisBuffer & | ) | [inline, virtual] |
Hazard a guess at the parameters (solvePar) given the data.
Implements casa::SolvableVisCal.
Reimplemented in casa::JJones, casa::GJones, casa::TJones, casa::LJJones, casa::EPJones, casa::KJones, casa::DJones, and casa::EGainCurve.
Definition at line 569 of file SolvableVisCal.h.
virtual void casa::SolvableVisMueller::initSolvePar | ( | ) | [protected, virtual] |
Initialize solve parameter shape Mueller version: (nPar(),1,1) (one chan, one baseline)
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones, casa::XfJones, casa::LJJones, and casa::EPJones.
virtual void casa::SolvableVisMueller::initTrivDM | ( | ) | [protected, virtual] |
Initialize trivial diff'd Muellers.
virtual void casa::SolvableVisMueller::invalidateDiffCalMat | ( | ) | [inline, protected, virtual] |
Invalidate diff cal matrices generically (at this level, just M, dM)
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 636 of file SolvableVisCal.h.
References invalidateDM(), and casa::VisMueller::invalidateM().
void casa::SolvableVisMueller::invalidateDM | ( | ) | [inline, protected] |
Validation of diffMueller matrices.
Definition at line 639 of file SolvableVisCal.h.
References DMValid_, and casa::False.
Referenced by invalidateDiffCalMat().
virtual void casa::SolvableVisMueller::keepNCT | ( | ) | [virtual] |
SVM-specific write to caltable.
Reimplemented from casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
virtual void casa::SolvableVisMueller::listCal | ( | const Vector< Int > | , |
const Vector< Int > | , | ||
const Matrix< Int > | , | ||
const String & | , | ||
const Int & | |||
) | [inline, virtual] |
List calibration solutions in tabular form.
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 609 of file SolvableVisCal.h.
References String, and casa::VisCal::typeName().
virtual Int casa::SolvableVisMueller::nCalMat | ( | ) | [inline, protected, virtual] |
Number of Cal Matrices to form on baseline axis (Mueller, solve context: 1)
Reimplemented from casa::VisMueller.
Reimplemented in casa::SolvableVisJones.
Definition at line 620 of file SolvableVisCal.h.
References casa::SolvableVisCal::isSolved(), and casa::VisCal::nBln().
virtual Bool casa::SolvableVisMueller::normalizable | ( | ) | [inline, virtual] |
Does normalization by MODEL_DATA commute with this VisCal?
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones, casa::XJones, casa::XMueller, casa::LJJones, casa::EPJones, and casa::AMueller.
Definition at line 566 of file SolvableVisCal.h.
References casa::Mueller::General, and casa::VisMueller::muellerType().
virtual Int casa::SolvableVisMueller::nTotalPar | ( | ) | [inline, virtual] |
Total number of (complex) parameters per solve Mueller version: just return number of per-Bln parameters.
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 563 of file SolvableVisCal.h.
References casa::VisCal::nPar().
virtual void casa::SolvableVisMueller::reReference | ( | ) | [inline, virtual] |
Apply refant (no-op for Muellers)
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones, casa::JJones, and casa::DJones.
Definition at line 584 of file SolvableVisCal.h.
void casa::SolvableVisMueller::setMatByOk | ( | ) | [inline, protected, virtual] |
Override VM::setMatByOk in solve context.
Reimplemented from casa::VisMueller.
Reimplemented in casa::SolvableVisJones.
Definition at line 659 of file SolvableVisCal.h.
References casa::SolvableVisCal::isSolved().
virtual void casa::SolvableVisMueller::state | ( | ) | [inline, virtual] |
Report state:
Reimplemented from casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 606 of file SolvableVisCal.h.
References stateSVM(), and casa::True.
virtual void casa::SolvableVisMueller::stateSVM | ( | const Bool & | doVC | ) | [protected, virtual] |
SVM-specific state.
Referenced by state().
virtual void casa::SolvableVisMueller::syncDiffMat | ( | ) | [protected, virtual] |
Synchronize the differentiated calibration (specialization for Mueller);.
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
virtual void casa::SolvableVisMueller::syncDiffMueller | ( | ) | [protected, virtual] |
Synchronize the Muellers AND diffMuellers.
virtual Bool casa::SolvableVisMueller::trivialDM | ( | ) | [inline, protected, virtual] |
Are differentiated M matrices constant in chan & bln?
Reimplemented in casa::SolvableVisJones.
Definition at line 623 of file SolvableVisCal.h.
References casa::False.
void casa::SolvableVisMueller::validateDM | ( | ) | [inline, protected] |
Definition at line 640 of file SolvableVisCal.h.
References DMValid_, and casa::True.
Array<Complex> casa::SolvableVisMueller::diffMElem_ [private] |
Differentiated Mueller matrix elements.
Definition at line 677 of file SolvableVisCal.h.
Referenced by diffMElem().
Mueller* casa::SolvableVisMueller::dM_ [private] |
Mueller wrapper for diffMElem_;.
Definition at line 674 of file SolvableVisCal.h.
Referenced by dM().
Bool casa::SolvableVisMueller::DMValid_ [private] |
diffMueller validation
Definition at line 680 of file SolvableVisCal.h.
Referenced by DMValid(), invalidateDM(), and validateDM().