********************************************************** SolvableVisMueller More...
#include <SolvableVisCal.h>
Public Member Functions | |
SolvableVisMueller (VisSet &vs) | |
SolvableVisMueller (String msname, Int MSnAnt, Int MSnSpw) | |
SolvableVisMueller (const MSMetaInfoForCal &msmc) | |
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 (SolveDataBuffer &) |
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 > &, const Float &, const String &, const String &, const String &, SolvableVisCal::fluxScaleStruct &, const String &, const Bool &, const Int &, const Bool &) |
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. | |
virtual Float | calcPowerNorm (Array< Float > &, const Array< Bool > &ok) |
atomic power normalization calculation Mueller version assumes amp in power units | |
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 |
********************************************************** SolvableVisMueller
Definition at line 621 of file SolvableVisCal.h.
casa::SolvableVisMueller::SolvableVisMueller | ( | VisSet & | vs | ) |
casa::SolvableVisMueller::SolvableVisMueller | ( | String | msname, | |
Int | MSnAnt, | |||
Int | MSnSpw | |||
) |
casa::SolvableVisMueller::SolvableVisMueller | ( | const MSMetaInfoForCal & | msmc | ) |
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.
Reimplemented in casa::SolvableVisJones.
Definition at line 663 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.
virtual Float casa::SolvableVisMueller::calcPowerNorm | ( | Array< Float > & | amp, | |
const Array< Bool > & | ok | |||
) | [protected, virtual] |
atomic power normalization calculation Mueller version assumes amp in power units
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
void casa::SolvableVisMueller::createDiffMueller | ( | ) | [protected] |
Create matrix renderers for dMs.
virtual void casa::SolvableVisMueller::differentiate | ( | VisBuffer & | , | |
Cube< Complex > & | , | |||
Array< Complex > & | , | |||
Matrix< Bool > & | ||||
) | [inline, virtual] |
Implements casa::SolvableVisCal.
Reimplemented in casa::EPJones, casa::LJJones, and casa::SolvableVisJones.
Definition at line 649 of file SolvableVisCal.h.
virtual void casa::SolvableVisMueller::differentiate | ( | SolveDataBuffer & | ) | [inline, virtual] |
Reimplemented from casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 648 of file SolvableVisCal.h.
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 647 of file SolvableVisCal.h.
Array<Complex>& casa::SolvableVisMueller::diffMElem | ( | ) | [inline, protected] |
Access to differentiated Mueller elements.
Definition at line 714 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 656 of file SolvableVisCal.h.
Mueller& casa::SolvableVisMueller::dM | ( | ) | [inline, protected] |
Access to matrix rendering of dM (per par).
Definition at line 711 of file SolvableVisCal.h.
References dM_.
Bool casa::SolvableVisMueller::DMValid | ( | ) | [inline, protected] |
Definition at line 722 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 > & | , | |||
const Float & | , | |||
const String & | , | |||
const String & | , | |||
const String & | , | |||
SolvableVisCal::fluxScaleStruct & | , | |||
const String & | , | |||
const Bool & | , | |||
const Int & | , | |||
const Bool & | ||||
) | [inline, virtual] |
Scale solutions.
Implements casa::SolvableVisCal.
Reimplemented in casa::SolvableVisJones.
Definition at line 667 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::DJones, casa::EGainCurve, casa::EPJones, casa::FringeJones, casa::KJones, casa::LJJones, casa::TJones, casa::GJones, and casa::JJones.
Definition at line 644 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::XfJones, casa::EPJones, casa::LJJones, and casa::SolvableVisJones.
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 717 of file SolvableVisCal.h.
References invalidateDM(), and casa::VisMueller::invalidateM().
void casa::SolvableVisMueller::invalidateDM | ( | ) | [inline, protected] |
Validation of diffMueller matrices.
Definition at line 720 of file SolvableVisCal.h.
References DMValid_, and casacore::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 690 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 701 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::AMueller, casa::XMueller, casa::XJones, casa::EPJones, casa::LJJones, and casa::SolvableVisJones.
Definition at line 641 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 638 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::DJones, casa::SolvableVisJones, and casa::JJones.
Definition at line 660 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 740 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 687 of file SolvableVisCal.h.
References stateSVM(), and casacore::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 704 of file SolvableVisCal.h.
References casacore::False.
void casa::SolvableVisMueller::validateDM | ( | ) | [inline, protected] |
Definition at line 721 of file SolvableVisCal.h.
References DMValid_, and casacore::True.
Array<Complex> casa::SolvableVisMueller::diffMElem_ [private] |
Differentiated Mueller matrix elements.
Definition at line 761 of file SolvableVisCal.h.
Referenced by diffMElem().
Mueller* casa::SolvableVisMueller::dM_ [private] |
Mueller wrapper for diffMElem_;.
Definition at line 758 of file SolvableVisCal.h.
Referenced by dM().
Bool casa::SolvableVisMueller::DMValid_ [private] |
diffMueller validation
Definition at line 764 of file SolvableVisCal.h.
Referenced by DMValid(), invalidateDM(), and validateDM().