casa
$Rev:20696$
|
#include <SolvableVisCal.h>
Public Member Functions | |
SolvableVisJones (VisSet &vs) | |
SolvableVisJones (const Int &nAnt) | |
virtual | ~SolvableVisJones () |
virtual Int | nTotalPar () |
Total number of (complex) parameters per solve Jones version: nPar()*nAnt() | |
virtual Bool | normalizable () |
Does normalization by MODEL_DATA commute with this VisCal? | |
virtual void | differentiate (CalVisBuffer &cvb) |
Differentiate VB model w.r.t. | |
virtual void | differentiate (VisBuffer &vb, Cube< Complex > &V, Array< Complex > &dV, Matrix< Bool > &Vflg) |
virtual void | diffSrc (VisBuffer &vb, Array< Complex > &dV) |
Differentiate VB model w.r.t. | |
virtual void | reReference () |
Apply refant. | |
virtual void | accumulate (SolvableVisCal *incr, const Vector< Int > &fields) |
Accumulate another VisCal onto this one. | |
virtual void | globalPostSolveTinker () |
Post solve tinkering (Jones version: includes refant application) | |
virtual void | applyRefAnt () |
Apply reference antenna (generic Jones version) | |
void | fluxscale (const String &outfile, const Vector< Int > &refFieldIn, const Vector< Int > &tranFieldIn, const Vector< Int > &inRefSpwMap, const Vector< String > &fldNames, SolvableVisCal::fluxScaleStruct &oFluxScaleStruct, const String &oListFile, const Bool &incremental=False, const Int &fitorder=1) |
Fluxscale is implemented here. | |
virtual void | keepNCT () |
SVJ-specific write to caltable. | |
virtual void | state () |
Report state: | |
virtual void | listCal (const Vector< Int > ufldids, const Vector< Int > uantids, const Matrix< Int > uchanids, const String &listfile="", const Int &pagerows=50) |
Write calibration solutions to the terminal. | |
int | writeHeader (const uInt numAntCols, const uInt numAnts, const uInt iElem) |
Write header for listCal output. | |
virtual void | nearest (const Double, Array< Float > &) |
virtual void | nearest (const Double, Array< Complex > &) |
Protected Member Functions | |
virtual Int | nCalMat () |
Number of Cal Matrices to form on baseline axis (Jones, all contexts: nAnt()) | |
virtual Bool | trivialDM () |
DM never trivial for SVJ. | |
virtual Bool | trivialDJ () |
Are differentiated J matrices constant in chan & ant? | |
virtual void | initSolvePar () |
Initialize solve parameter shape Jones version: (nPar(),1,nAnt()) (one chan, all antennas) | |
Jones & | dJ1 () |
Access to matrix rendering of dJ1, dJ2. | |
Jones & | dJ2 () |
Array< Complex > & | diffJElem () |
Access to differentiated Joness. | |
virtual void | invalidateDiffCalMat () |
Invalidate diff cal matrices generically (at this level, M, dM, J, dJ) | |
void | invalidateDJ () |
Validation of Jones matrix derivatives. | |
void | validateDJ () |
Bool | DJValid () |
virtual void | syncDiffMat () |
Synchronize the differentiated calibration (specialization for Jones) | |
virtual void | syncDiffJones () |
Synchronize the Jones AND diffJones matrices. | |
virtual void | calcAllDiffJones () |
Calculate the ensemble of diff'd Jones Elements. | |
virtual void | calcOneDiffJones (Matrix< Complex > &mat, const Vector< Complex > &par) |
Calculate one ant/chan's diffJElem w.r.t. | |
void | createDiffJones () |
Create matrix renderers for dJs. | |
void | setMatByOk () |
Override VJ::setMatByOk in solve context. | |
virtual void | initTrivDJ () |
Initialize trivial diff'd Jones. | |
virtual void | stateSVJ (const Bool &doVC) |
Private Member Functions | |
SolvableVisJones () | |
Default ctor is private. | |
Private Attributes | |
Jones * | dJ1_ |
Jones wrappers for diffJElem_;. | |
Jones * | dJ2_ |
Array< Complex > | diffJElem_ |
Differentiated Jones matrix elements. | |
Bool | DJValid_ |
Validity of Jones matrix derivatives. | |
uInt | wTime_p |
Column widths for listing. | |
uInt | wField_p |
uInt | wChan_p |
uInt | wAmp_p |
uInt | wPhase_p |
uInt | wFlag_p |
uInt | wPol_p |
uInt | wAntCol_p |
uInt | wTotal_p |
uInt | wPreAnt_p |
casa::SolvableVisJones::SolvableVisJones | ( | const Int & | nAnt | ) |
virtual casa::SolvableVisJones::~SolvableVisJones | ( | ) | [virtual] |
casa::SolvableVisJones::SolvableVisJones | ( | ) | [private] |
Default ctor is private.
virtual void casa::SolvableVisJones::accumulate | ( | SolvableVisCal * | incr, |
const Vector< Int > & | fields | ||
) | [virtual] |
Accumulate another VisCal onto this one.
Reimplemented from casa::SolvableVisMueller.
virtual void casa::SolvableVisJones::applyRefAnt | ( | ) | [virtual] |
Apply reference antenna (generic Jones version)
Reimplemented in casa::DJones.
virtual void casa::SolvableVisJones::calcAllDiffJones | ( | ) | [protected, virtual] |
Calculate the ensemble of diff'd Jones Elements.
virtual void casa::SolvableVisJones::calcOneDiffJones | ( | Matrix< Complex > & | mat, |
const Vector< Complex > & | par | ||
) | [protected, virtual] |
Calculate one ant/chan's diffJElem w.r.t.
each par
void casa::SolvableVisJones::createDiffJones | ( | ) | [protected] |
Create matrix renderers for dJs.
virtual void casa::SolvableVisJones::differentiate | ( | CalVisBuffer & | cvb | ) | [virtual] |
virtual void casa::SolvableVisJones::differentiate | ( | VisBuffer & | vb, |
Cube< Complex > & | V, | ||
Array< Complex > & | dV, | ||
Matrix< Bool > & | Vflg | ||
) | [virtual] |
Reimplemented from casa::SolvableVisMueller.
Reimplemented in casa::LJJones, and casa::EPJones.
Array<Complex>& casa::SolvableVisJones::diffJElem | ( | ) | [inline, protected] |
Access to differentiated Joness.
Definition at line 781 of file SolvableVisCal.h.
References diffJElem_.
virtual void casa::SolvableVisJones::diffSrc | ( | VisBuffer & | vb, |
Array< Complex > & | dV | ||
) | [virtual] |
Jones& casa::SolvableVisJones::dJ1 | ( | ) | [inline, protected] |
Access to matrix rendering of dJ1, dJ2.
Definition at line 777 of file SolvableVisCal.h.
References dJ1_.
Jones& casa::SolvableVisJones::dJ2 | ( | ) | [inline, protected] |
Definition at line 778 of file SolvableVisCal.h.
References dJ2_.
Bool casa::SolvableVisJones::DJValid | ( | ) | [inline, protected] |
Definition at line 790 of file SolvableVisCal.h.
References DJValid_.
void casa::SolvableVisJones::fluxscale | ( | const String & | outfile, |
const Vector< Int > & | refFieldIn, | ||
const Vector< Int > & | tranFieldIn, | ||
const Vector< Int > & | inRefSpwMap, | ||
const Vector< String > & | fldNames, | ||
SolvableVisCal::fluxScaleStruct & | oFluxScaleStruct, | ||
const String & | oListFile, | ||
const Bool & | incremental = False , |
||
const Int & | fitorder = 1 |
||
) | [virtual] |
Fluxscale is implemented here.
Reimplemented from casa::SolvableVisMueller.
virtual void casa::SolvableVisJones::globalPostSolveTinker | ( | ) | [virtual] |
Post solve tinkering (Jones version: includes refant application)
Reimplemented from casa::SolvableVisCal.
Reimplemented in casa::GlinXphJones, casa::BJones, casa::KJones, and casa::DJones.
virtual void casa::SolvableVisJones::initSolvePar | ( | ) | [protected, virtual] |
Initialize solve parameter shape Jones version: (nPar(),1,nAnt()) (one chan, all antennas)
Reimplemented from casa::SolvableVisMueller.
Reimplemented in casa::XfJones, casa::LJJones, and casa::EPJones.
virtual void casa::SolvableVisJones::initTrivDJ | ( | ) | [protected, virtual] |
Initialize trivial diff'd Jones.
Reimplemented in casa::JJones, casa::GJones, casa::KAntPosJones, casa::TJones, casa::DJones, and casa::KJones.
virtual void casa::SolvableVisJones::invalidateDiffCalMat | ( | ) | [inline, protected, virtual] |
Invalidate diff cal matrices generically (at this level, M, dM, J, dJ)
Reimplemented from casa::SolvableVisMueller.
Definition at line 784 of file SolvableVisCal.h.
References invalidateDJ(), and casa::VisJones::invalidateJ().
void casa::SolvableVisJones::invalidateDJ | ( | ) | [inline, protected] |
Validation of Jones matrix derivatives.
Definition at line 788 of file SolvableVisCal.h.
References DJValid_, and casa::False.
Referenced by invalidateDiffCalMat().
virtual void casa::SolvableVisJones::keepNCT | ( | ) | [virtual] |
SVJ-specific write to caltable.
Reimplemented from casa::SolvableVisMueller.
virtual void casa::SolvableVisJones::listCal | ( | const Vector< Int > | ufldids, |
const Vector< Int > | uantids, | ||
const Matrix< Int > | uchanids, | ||
const String & | listfile = "" , |
||
const Int & | pagerows = 50 |
||
) | [virtual] |
Write calibration solutions to the terminal.
Reimplemented from casa::SolvableVisMueller.
virtual Int casa::SolvableVisJones::nCalMat | ( | ) | [inline, protected, virtual] |
Number of Cal Matrices to form on baseline axis (Jones, all contexts: nAnt())
Reimplemented from casa::SolvableVisMueller.
Definition at line 764 of file SolvableVisCal.h.
References casa::VisCal::nAnt().
virtual void casa::SolvableVisJones::nearest | ( | const Double | , |
Array< Float > & | |||
) | [inline, virtual] |
Reimplemented in casa::EPJones.
Definition at line 758 of file SolvableVisCal.h.
virtual void casa::SolvableVisJones::nearest | ( | const Double | , |
Array< Complex > & | |||
) | [inline, virtual] |
Reimplemented in casa::LJJones.
Definition at line 759 of file SolvableVisCal.h.
virtual Bool casa::SolvableVisJones::normalizable | ( | ) | [inline, virtual] |
Does normalization by MODEL_DATA commute with this VisCal?
Reimplemented from casa::SolvableVisMueller.
Reimplemented in casa::XJones, casa::LJJones, and casa::EPJones.
Definition at line 704 of file SolvableVisCal.h.
References casa::Jones::GenLinear, and casa::VisJones::jonesType().
virtual Int casa::SolvableVisJones::nTotalPar | ( | ) | [inline, virtual] |
Total number of (complex) parameters per solve Jones version: nPar()*nAnt()
Reimplemented from casa::SolvableVisMueller.
Definition at line 701 of file SolvableVisCal.h.
References casa::VisCal::nAnt(), and casa::VisCal::nPar().
virtual void casa::SolvableVisJones::reReference | ( | ) | [virtual] |
Apply refant.
Reimplemented from casa::SolvableVisMueller.
Reimplemented in casa::JJones, and casa::DJones.
void casa::SolvableVisJones::setMatByOk | ( | ) | [inline, protected, virtual] |
Override VJ::setMatByOk in solve context.
Reimplemented from casa::SolvableVisMueller.
Definition at line 808 of file SolvableVisCal.h.
References casa::SolvableVisCal::isSolved().
virtual void casa::SolvableVisJones::state | ( | ) | [inline, virtual] |
Report state:
Reimplemented from casa::SolvableVisMueller.
Definition at line 746 of file SolvableVisCal.h.
References stateSVJ(), and casa::True.
virtual void casa::SolvableVisJones::stateSVJ | ( | const Bool & | doVC | ) | [protected, virtual] |
Referenced by state().
virtual void casa::SolvableVisJones::syncDiffJones | ( | ) | [protected, virtual] |
Synchronize the Jones AND diffJones matrices.
virtual void casa::SolvableVisJones::syncDiffMat | ( | ) | [protected, virtual] |
Synchronize the differentiated calibration (specialization for Jones)
Reimplemented from casa::SolvableVisMueller.
virtual Bool casa::SolvableVisJones::trivialDJ | ( | ) | [inline, protected, virtual] |
Are differentiated J matrices constant in chan & ant?
Reimplemented in casa::JJones, casa::GJones, casa::KAntPosJones, casa::TJones, casa::DJones, and casa::KJones.
Definition at line 770 of file SolvableVisCal.h.
References casa::False.
virtual Bool casa::SolvableVisJones::trivialDM | ( | ) | [inline, protected, virtual] |
DM never trivial for SVJ.
Reimplemented from casa::SolvableVisMueller.
Definition at line 767 of file SolvableVisCal.h.
References casa::False.
void casa::SolvableVisJones::validateDJ | ( | ) | [inline, protected] |
Definition at line 789 of file SolvableVisCal.h.
References DJValid_, and casa::True.
int casa::SolvableVisJones::writeHeader | ( | const uInt | numAntCols, |
const uInt | numAnts, | ||
const uInt | iElem | ||
) |
Write header for listCal output.
Array<Complex> casa::SolvableVisJones::diffJElem_ [private] |
Differentiated Jones matrix elements.
Definition at line 824 of file SolvableVisCal.h.
Referenced by diffJElem().
Jones* casa::SolvableVisJones::dJ1_ [private] |
Jones wrappers for diffJElem_;.
Definition at line 820 of file SolvableVisCal.h.
Referenced by dJ1().
Jones* casa::SolvableVisJones::dJ2_ [private] |
Definition at line 821 of file SolvableVisCal.h.
Referenced by dJ2().
Bool casa::SolvableVisJones::DJValid_ [private] |
Validity of Jones matrix derivatives.
Definition at line 827 of file SolvableVisCal.h.
Referenced by DJValid(), invalidateDJ(), and validateDJ().
uInt casa::SolvableVisJones::wAmp_p [private] |
Definition at line 830 of file SolvableVisCal.h.
uInt casa::SolvableVisJones::wAntCol_p [private] |
Definition at line 830 of file SolvableVisCal.h.
uInt casa::SolvableVisJones::wChan_p [private] |
Definition at line 830 of file SolvableVisCal.h.
uInt casa::SolvableVisJones::wField_p [private] |
Definition at line 830 of file SolvableVisCal.h.
uInt casa::SolvableVisJones::wFlag_p [private] |
Definition at line 830 of file SolvableVisCal.h.
uInt casa::SolvableVisJones::wPhase_p [private] |
Definition at line 830 of file SolvableVisCal.h.
uInt casa::SolvableVisJones::wPol_p [private] |
Definition at line 830 of file SolvableVisCal.h.
uInt casa::SolvableVisJones::wPreAnt_p [private] |
Definition at line 830 of file SolvableVisCal.h.
uInt casa::SolvableVisJones::wTime_p [private] |
Column widths for listing.
Definition at line 830 of file SolvableVisCal.h.
uInt casa::SolvableVisJones::wTotal_p [private] |
Definition at line 830 of file SolvableVisCal.h.