********************************************************** VisCal More...
#include <VisCal.h>
Public Types | |
enum | Type { Test, ANoise, M, KAntPos, K, B, G, J, D, X, C, P, E, T, F, A, ALL } |
Allowed types of VisCal matrices - 'correct' order enum Type{UVMOD,Mf,M,K,B,G,D,C,E,P,T,EP,F};. More... | |
enum | ParType { Co, Re, CoRe } |
Enumeration of parameter types (Complex, Real, or Both). More... | |
Public Member Functions | |
VisCal (VisSet &vs) | |
VisCal (String msname, Int MSnAnt, Int MSnSpw) | |
VisCal (const MSMetaInfoForCal &msmc) | |
VisCal (const Int &nAnt) | |
virtual | ~VisCal () |
virtual Type | type ()=0 |
Return the type of this calibration matrix (actual type of derived class). | |
virtual String | typeName () |
Return type name as string. | |
virtual String | longTypeName () |
virtual VisCalEnum::MatrixType | matrixType () |
Return Matrix type. | |
virtual VisCalEnum::VCParType | parType () |
Return the parameter type (nominally complex). | |
virtual Int | nPar ()=0 |
Number of pars per ant/bln (Must be implemented in specializations!). | |
virtual Vector< Bool > | spwOK () |
Report calibration availability per spw (always True for non-tabular?). | |
virtual Bool | spwOK (Int) |
virtual Bool | freqDepPar () |
Frequency-dependent Parameters? Nominally not. | |
const Int & | nChanPar () const |
Number of par channels in current spw. | |
virtual Bool | freqDepMat () |
Frequency-dependent Matrices? Nominally same as freqDepPar. | |
virtual Bool | freqDepCalWt () |
Freq-dep Weight scaling? // almost always false. | |
virtual Bool | timeDepMat () |
Matrices time-dependent per parameter set (nominally no). | |
Bool | isApplied () |
Is this calibration matrix to be applied? | |
virtual Bool | isSolvable () |
Is this solveable? (never via this interface). | |
virtual Double & | interval () |
Return the time interval over which this calibration is constant. | |
virtual void | setApply () |
Set the application parameters. | |
virtual void | setApply (const Record &apply) |
virtual void | setCallib (const Record &callib, const MeasurementSet &selms) |
virtual String | applyinfo () |
Apply info/params, suitable for logging. | |
virtual String | siminfo () |
simulation params - for a VC, sim is apply; for a SVC this will get overriden | |
Bool & | calWt () |
Trigger calibration of weights. | |
virtual void | correct (VisBuffer &vb, Bool trial=False) |
Apply calibration to data in VisBuffer (correct Data or corrupt Model) (in-place versions). | |
virtual void | correct2 (vi::VisBuffer2 &vb, Bool trial=False, Bool doWtSp=False) |
virtual void | corrupt (VisBuffer &vb) |
virtual void | corrupt2 (vi::VisBuffer2 &vb) |
virtual void | correct (VisBuffer &vb, Cube< Complex > &Vout, Bool trial=False) |
Apply calibration to data in VisBuffer; (alternate output versions). | |
virtual void | corrupt (VisBuffer &vb, Cube< Complex > &Mout) |
virtual void | corrupt2 (vi::VisBuffer2 &vb, Cube< Complex > &Mout) |
virtual void | initCalFlagCount () |
Flag counting. | |
virtual Record | actionRec () |
virtual void | state () |
Report the state. | |
virtual void | currMetaNote () |
void | setPrtlev (const Int &prtlev) |
Set the print level. | |
Int | blnidx (const Int &a1, const Int &a2) |
Baseline index from antenna indices: (assumes a1<=a2 !!). | |
String & | extraTag () |
virtual void | setMeta (Int obs, Int scan, Double time, Int spw, const Vector< Double > &freq, Int fld) |
VI2-related refactor--------------------------------------. | |
virtual void | sizeApplyParCurrSpw (Int nVisChan) |
Reshape solvePar* arrays for the currSpw() (sensitive to freqDepPar()). | |
virtual void | setDefApplyParCurrSpw (Bool sync=False, Bool doInv=False) |
Set parameters to def values in the currSpw(), and optionally sync everything. | |
Static Public Member Functions | |
static String | nameOfType (Type type) |
Protected Member Functions | |
void | setApplied (const Bool &flag) |
Set applied state flag. | |
String & | msName () |
Int & | nSpw () |
General Shape Info. | |
Int & | nAnt () |
Int & | nBln () |
virtual Int & | nElem ()=0 |
The number of sets of parameters under consideration. | |
virtual Int | nCalMat ()=0 |
Number of Calibration matrices on ant/bln axis. | |
Int & | currSpw () |
Current in-focus spw. | |
Double & | lastTime () |
Current coords. | |
Double & | currTime () |
Int & | currScan () |
Int & | currObs () |
Int & | currField () |
Vector< Double > & | currFreq () |
Double & | refTime () |
Double & | refFreq () |
Int & | nChanPar () |
Current spectral shapes. | |
Int & | nChanMat () |
Int & | startChan () |
Vector< Int > & | nChanParList () |
Vector< Int > & | nChanMatList () |
Vector< Int > & | startChanList () |
VisVector & | V () |
Access to matrix renderings of Visibilities. | |
virtual Cube< Complex > & | currCPar () |
Access to current solution parameters and matrices. | |
virtual Cube< Float > & | currRPar () |
virtual Cube< Bool > & | currParOK () |
void | invalidateP () |
Validation of calibration parameters. | |
void | validateP () |
Bool | PValid () |
virtual void | invalidateCalMat ()=0 |
Invalidate cal matrices generically. | |
Cube< Float > & | currWtScale () |
Access to weight-scaling factors. | |
virtual void | countInFlag (const VisBuffer &vb) |
Flag counting. | |
virtual void | countInFlag2 (const vi::VisBuffer2 &vb) |
virtual void | countOutFlag (const VisBuffer &vb) |
virtual void | countOutFlag2 (const vi::VisBuffer2 &vb) |
virtual void | applyCal (VisBuffer &vb, Cube< Complex > &Vout, Bool trial=False)=0 |
Row-by-row apply to a Cube<Complex> (generic). | |
virtual void | applyCal2 (vi::VisBuffer2 &vb, Cube< Complex > &Vout, Cube< Float > &Wout, Bool trial=False)=0 |
virtual void | syncCal (const VisBuffer &vb, const Bool &doInv=False) |
Synchronize "gains" with a VisBuffer or another VisCal. | |
virtual void | syncCal2 (const vi::VisBuffer2 &vb, const Bool &doInv=False) |
virtual void | syncCal (VisCal &vc) |
virtual void | syncMeta (const VisBuffer &vb) |
Set internal meta data from a VisBuffer or another VisCal. | |
virtual void | syncMeta2 (const vi::VisBuffer2 &vb) |
void | syncMeta (VisCal &vc) |
void | syncMeta (const Int &spw, const Double &time, const Int &field, const Vector< Double > &freq, const Int &nchan) |
void | setCalChannelization (const Int &nChanDat) |
Set the calibration matrix channelization. | |
void | checkCurrCal () |
Test for need of new calibration. | |
virtual void | syncCal (const Bool &doInv=False) |
Synchronize "gains" with current meta-data. | |
virtual void | syncPar () |
Sync parameters for current meta data. | |
virtual void | calcPar () |
Calculate Mueller parameters by some means. | |
virtual void | syncCalMat (const Bool &doInv=False)=0 |
Sync matrices generically for current meta data. | |
Int & | prtlev () |
Return print (cout) level. | |
void | setCurrField (const Int &ifld) |
set current field index vector to given field id | |
const MSMetaInfoForCal & | msmc () const |
Access to the MSMetaInfoForCal (throws if none). | |
Private Member Functions | |
VisCal () | |
Defalt ctor is private. | |
void | initVisCal () |
Initialize pointers, etc. | |
void | deleteVisCal () |
Delete pointers. | |
Private Attributes | |
String | msName_ |
Associated MS name. | |
const MSMetaInfoForCal * | msmc_ |
The MSMetaInfoForCal pointer. | |
const Bool | delmsmc_ |
Int | nSpw_ |
Number of Spectral windows. | |
Int | nAnt_ |
Number of antennas. | |
Int | nBln_ |
Number of baselines. | |
Int | currSpw_ |
Current synchronized spw. | |
Vector< Double > | currTime_ |
Current indices. | |
Vector< Int > | currScan_ |
Vector< Int > | currObs_ |
Vector< Int > | currField_ |
Vector< Double > | currFreq_ |
Vector< Double > | lastTime_ |
Double | refTime_ |
Double | refFreq_ |
Vector< Int > | nChanPar_ |
Channel counts. | |
Vector< Int > | nChanMat_ |
Vector< Int > | startChan_ |
Double | interval_ |
Solution timescale (context-dependent). | |
Bool | applied_ |
Application flag. | |
Int | focusChan_ |
In-focus channel for single-chan solves on multi-chan data. | |
PtrBlock< VisVector * > | V_ |
VisVector wrapper (per Spw). | |
PtrBlock< Cube< Complex > * > | currCPar_ |
Current parameters. | |
PtrBlock< Cube< Float > * > | currRPar_ |
PtrBlock< Cube< Bool > * > | currParOK_ |
Vector< Bool > | PValid_ |
Paremeter validity. | |
Bool | calWt_ |
Trigger calibration of weights. | |
PtrBlock< Cube< Float > * > | currWtScale_ |
Weight scale factors. | |
Int64 | ndataIn_ |
Flag counting. | |
Int64 | nflagIn_ |
Int64 | nflagOut_ |
Int | prtlev_ |
Print level. | |
String | extratag_ |
Friends | |
class | SolvableVisJones |
********************************************************** VisCal
Definition at line 53 of file VisCal.h.
enum casa::VisCal::Type |
casa::VisCal::VisCal | ( | VisSet & | vs | ) |
casa::VisCal::VisCal | ( | String | msname, | |
Int | MSnAnt, | |||
Int | MSnSpw | |||
) |
casa::VisCal::VisCal | ( | const MSMetaInfoForCal & | msmc | ) |
casa::VisCal::VisCal | ( | const Int & | nAnt | ) |
virtual casa::VisCal::~VisCal | ( | ) | [virtual] |
casa::VisCal::VisCal | ( | ) | [private] |
Defalt ctor is private.
virtual Record casa::VisCal::actionRec | ( | ) | [virtual] |
Reimplemented in casa::SolvableVisCal.
virtual void casa::VisCal::applyCal | ( | VisBuffer & | vb, | |
Cube< Complex > & | Vout, | |||
Bool | trial = False | |||
) | [protected, pure virtual] |
Row-by-row apply to a Cube<Complex> (generic).
Implemented in casa::AMueller, casa::SingleDishSkyCal, casa::VisMueller, and casa::VisJones.
virtual void casa::VisCal::applyCal2 | ( | vi::VisBuffer2 & | vb, | |
Cube< Complex > & | Vout, | |||
Cube< Float > & | Wout, | |||
Bool | trial = False | |||
) | [protected, pure virtual] |
Implemented in casa::SingleDishSkyCal, casa::VisMueller, and casa::VisJones.
virtual String casa::VisCal::applyinfo | ( | ) | [virtual] |
Apply info/params, suitable for logging.
Reimplemented in casa::FJones, casa::SolvableVisCal, and casa::TOpac.
Referenced by siminfo().
Int casa::VisCal::blnidx | ( | const Int & | a1, | |
const Int & | a2 | |||
) | [inline] |
virtual void casa::VisCal::calcPar | ( | ) | [protected, virtual] |
Calculate Mueller parameters by some means.
Reimplemented in casa::BJonesPoly, casa::EGainCurve, casa::FJones, casa::GJonesSpline, casa::SolvableVisCal, casa::PJones, casa::TOpac, and casa::StandardTsys.
Bool& casa::VisCal::calWt | ( | ) | [inline] |
void casa::VisCal::checkCurrCal | ( | ) | [protected] |
Test for need of new calibration.
virtual void casa::VisCal::correct | ( | VisBuffer & | vb, | |
Cube< Complex > & | Vout, | |||
Bool | trial = False | |||
) | [virtual] |
Apply calibration to data in VisBuffer; (alternate output versions).
virtual void casa::VisCal::correct | ( | VisBuffer & | vb, | |
Bool | trial = False | |||
) | [virtual] |
Apply calibration to data in VisBuffer (correct Data or corrupt Model) (in-place versions).
virtual void casa::VisCal::correct2 | ( | vi::VisBuffer2 & | vb, | |
Bool | trial = False , |
|||
Bool | doWtSp = False | |||
) | [virtual] |
Reimplemented in casa::StandardTsys.
virtual void casa::VisCal::corrupt | ( | VisBuffer & | vb, | |
Cube< Complex > & | Mout | |||
) | [virtual] |
virtual void casa::VisCal::corrupt | ( | VisBuffer & | vb | ) | [virtual] |
Reimplemented in casa::AMueller.
virtual void casa::VisCal::corrupt2 | ( | vi::VisBuffer2 & | vb, | |
Cube< Complex > & | Mout | |||
) | [virtual] |
virtual void casa::VisCal::corrupt2 | ( | vi::VisBuffer2 & | vb | ) | [virtual] |
virtual void casa::VisCal::countInFlag | ( | const VisBuffer & | vb | ) | [protected, virtual] |
Flag counting.
virtual void casa::VisCal::countInFlag2 | ( | const vi::VisBuffer2 & | vb | ) | [protected, virtual] |
virtual void casa::VisCal::countOutFlag | ( | const VisBuffer & | vb | ) | [protected, virtual] |
virtual void casa::VisCal::countOutFlag2 | ( | const vi::VisBuffer2 & | vb | ) | [protected, virtual] |
virtual Cube<Complex>& casa::VisCal::currCPar | ( | ) | [inline, protected, virtual] |
Int& casa::VisCal::currField | ( | ) | [inline, protected] |
Definition at line 231 of file VisCal.h.
References currField_, and currSpw().
Vector<Double>& casa::VisCal::currFreq | ( | ) | [inline, protected] |
virtual void casa::VisCal::currMetaNote | ( | ) | [virtual] |
Reimplemented in casa::SolvableVisCal.
Int& casa::VisCal::currObs | ( | ) | [inline, protected] |
virtual Cube<Bool>& casa::VisCal::currParOK | ( | ) | [inline, protected, virtual] |
Definition at line 251 of file VisCal.h.
References currParOK_, and currSpw().
virtual Cube<Float>& casa::VisCal::currRPar | ( | ) | [inline, protected, virtual] |
Int& casa::VisCal::currScan | ( | ) | [inline, protected] |
Int& casa::VisCal::currSpw | ( | ) | [inline, protected] |
Current in-focus spw.
Definition at line 224 of file VisCal.h.
References currSpw_.
Referenced by casa::SolvableVisCal::chanAveBounds(), currCPar(), casa::SingleDishSkyCal::currentSky(), casa::SingleDishSkyCal::currentSkyOK(), currField(), casa::VisJones::currJElem(), casa::VisJones::currJElemOK(), casa::VisMueller::currMElem(), casa::VisMueller::currMElemOK(), currObs(), currParOK(), currRPar(), currScan(), currTime(), currWtScale(), casa::SingleDishSkyCal::engineC(), casa::SingleDishSkyCal::engineF(), casa::SolvableVisCal::fintervalCh(), casa::VisJones::invalidateJ(), casa::VisMueller::invalidateM(), invalidateP(), casa::VisJones::J1(), casa::VisJones::J2(), casa::VisJones::JValid(), lastTime(), casa::VisMueller::M(), casa::VisMueller::MValid(), PValid(), casa::SolvableVisCal::solveAllCPar(), casa::SolvableVisCal::solveAllParErr(), casa::SolvableVisCal::solveAllParOK(), casa::SolvableVisCal::solveAllParSNR(), casa::SolvableVisCal::solveAllRPar(), casa::SolvableVisCal::solveCPar(), casa::SolvableVisCal::solveParErr(), casa::SolvableVisCal::solveParOK(), casa::SolvableVisCal::solveParSNR(), casa::SolvableVisCal::solveRPar(), V(), casa::VisJones::validateJ(), casa::VisMueller::validateM(), and validateP().
Double& casa::VisCal::currTime | ( | ) | [inline, protected] |
Cube<Float>& casa::VisCal::currWtScale | ( | ) | [inline, protected] |
Access to weight-scaling factors.
Definition at line 262 of file VisCal.h.
References currSpw(), and currWtScale_.
void casa::VisCal::deleteVisCal | ( | ) | [private] |
Delete pointers.
String& casa::VisCal::extraTag | ( | ) | [inline] |
virtual Bool casa::VisCal::freqDepCalWt | ( | ) | [inline, virtual] |
Freq-dep Weight scaling? // almost always false.
Definition at line 128 of file VisCal.h.
References casacore::False.
virtual Bool casa::VisCal::freqDepMat | ( | ) | [inline, virtual] |
Frequency-dependent Matrices? Nominally same as freqDepPar.
Reimplemented in casa::AMueller, casa::FJones, casa::FringeJones, and casa::KJones.
Definition at line 125 of file VisCal.h.
References freqDepPar().
virtual Bool casa::VisCal::freqDepPar | ( | ) | [inline, virtual] |
Frequency-dependent Parameters? Nominally not.
Reimplemented in casa::AMueller, casa::ANoise, casa::DfJones, casa::DflinJones, casa::DfllsJones, casa::XfJones, casa::GlinXphJones, casa::GlinXphfJones, casa::EVLASwPow, casa::FJones, casa::FringeJones, casa::KJones, casa::LJJones, casa::SingleDishSkyCal, casa::TfJones, casa::BJones, casa::MfMueller, casa::TfOpac, and casa::StandardTsys.
Definition at line 119 of file VisCal.h.
References casacore::False.
Referenced by freqDepMat().
virtual void casa::VisCal::initCalFlagCount | ( | ) | [virtual] |
Flag counting.
void casa::VisCal::initVisCal | ( | ) | [private] |
Initialize pointers, etc.
virtual Double& casa::VisCal::interval | ( | ) | [inline, virtual] |
virtual void casa::VisCal::invalidateCalMat | ( | ) | [protected, pure virtual] |
Invalidate cal matrices generically.
Implemented in casa::SingleDishSkyCal, casa::VisMueller, and casa::VisJones.
void casa::VisCal::invalidateP | ( | ) | [inline, protected] |
Validation of calibration parameters.
Definition at line 254 of file VisCal.h.
References currSpw(), casacore::False, and PValid_.
Bool casa::VisCal::isApplied | ( | ) | [inline] |
virtual Bool casa::VisCal::isSolvable | ( | ) | [inline, virtual] |
Is this solveable? (never via this interface).
Reimplemented in casa::ANoise, and casa::SolvableVisCal.
Definition at line 137 of file VisCal.h.
References casacore::False.
Double& casa::VisCal::lastTime | ( | ) | [inline, protected] |
virtual String casa::VisCal::longTypeName | ( | ) | [inline, virtual] |
Reimplemented in casa::AMueller, casa::ANoise, casa::BJonesPoly, casa::DJones, casa::DfJones, casa::DlinJones, casa::DflinJones, casa::DllsJones, casa::DfllsJones, casa::XMueller, casa::XJones, casa::XfJones, casa::GlinXphJones, casa::GlinXphfJones, casa::EGainCurve, casa::EPJones, casa::EVLASwPow, casa::FJones, casa::FringeJones, casa::GJonesSpline, casa::KJones, casa::KcrossJones, casa::KMBDJones, casa::KAntPosJones, casa::LJJones, casa::SingleDishSkyCal, casa::SingleDishPositionSwitchCal, casa::SingleDishRasterCal, casa::SingleDishOtfCal, casa::PJones, casa::TJones, casa::TfJones, casa::GJones, casa::BJones, casa::JJones, casa::MMueller, casa::MfMueller, casa::TOpac, casa::TfOpac, and casa::StandardTsys.
virtual VisCalEnum::MatrixType casa::VisCal::matrixType | ( | ) | [inline, virtual] |
Return Matrix type.
Reimplemented in casa::SingleDishSkyCal, casa::VisMueller, and casa::VisJones.
Definition at line 104 of file VisCal.h.
References casa::VisCalEnum::GLOBAL.
const MSMetaInfoForCal& casa::VisCal::msmc | ( | ) | const [inline, protected] |
Access to the MSMetaInfoForCal (throws if none).
Definition at line 319 of file VisCal.h.
References msmc_.
String& casa::VisCal::msName | ( | void | ) | [inline, protected] |
static String casa::VisCal::nameOfType | ( | Type | type | ) | [inline, static] |
Int& casa::VisCal::nAnt | ( | ) | [inline, protected] |
Definition at line 214 of file VisCal.h.
References nAnt_.
Referenced by blnidx(), casa::VisJones::nCalMat(), casa::SolvableVisJones::nCalMat(), casa::SingleDishSkyCal::nCalMat(), casa::SingleDishSkyCal::nElem(), casa::VisJones::nElem(), and casa::SolvableVisJones::nTotalPar().
Int& casa::VisCal::nBln | ( | ) | [inline, protected] |
Definition at line 215 of file VisCal.h.
References nBln_.
Referenced by casa::VisMueller::nCalMat(), casa::SolvableVisMueller::nCalMat(), and casa::VisMueller::nElem().
virtual Int casa::VisCal::nCalMat | ( | ) | [protected, pure virtual] |
Number of Calibration matrices on ant/bln axis.
Implemented in casa::SingleDishSkyCal, casa::SolvableVisMueller, casa::SolvableVisJones, casa::VisMueller, and casa::VisJones.
Int& casa::VisCal::nChanMat | ( | ) | [inline, protected] |
Vector<Int>& casa::VisCal::nChanMatList | ( | ) | [inline, protected] |
Int& casa::VisCal::nChanPar | ( | ) | [inline, protected] |
const Int& casa::VisCal::nChanPar | ( | ) | const [inline] |
Number of par channels in current spw.
Definition at line 122 of file VisCal.h.
References currSpw_, and nChanPar_.
Referenced by casa::AMueller::freqDepMat().
Vector<Int>& casa::VisCal::nChanParList | ( | ) | [inline, protected] |
virtual Int& casa::VisCal::nElem | ( | ) | [protected, pure virtual] |
The number of sets of parameters under consideration.
Implemented in casa::SingleDishSkyCal, casa::VisMueller, and casa::VisJones.
virtual Int casa::VisCal::nPar | ( | ) | [pure virtual] |
Number of pars per ant/bln (Must be implemented in specializations!).
Implemented in casa::AMueller, casa::ANoise, casa::BJonesPoly, casa::DJones, casa::XMueller, casa::XJones, casa::EGainCurve, casa::EPJones, casa::EVLASwPow, casa::FJones, casa::FringeJones, casa::GJonesSpline, casa::KJones, casa::KAntPosJones, casa::LJJones, casa::SingleDishSkyCal, casa::PJones, casa::TJones, casa::GJones, casa::JJones, casa::MMueller, and casa::TOpac.
Referenced by casa::SolvableVisMueller::nTotalPar(), and casa::SolvableVisJones::nTotalPar().
Int& casa::VisCal::nSpw | ( | ) | [inline, protected] |
virtual VisCalEnum::VCParType casa::VisCal::parType | ( | void | ) | [inline, virtual] |
Return the parameter type (nominally complex).
Reimplemented in casa::EGainCurve, casa::EPJones, casa::EVLASwPow, casa::FJones, casa::FringeJones, casa::KJones, casa::LJJones, casa::SDDoubleCircleGainCal, casa::SingleDishSkyCal, casa::TOpac, and casa::StandardTsys.
Definition at line 107 of file VisCal.h.
References casa::VisCalEnum::COMPLEX.
Int& casa::VisCal::prtlev | ( | ) | [inline, protected] |
Bool casa::VisCal::PValid | ( | ) | [inline, protected] |
Double& casa::VisCal::refFreq | ( | ) | [inline, protected] |
Double& casa::VisCal::refTime | ( | ) | [inline, protected] |
void casa::VisCal::setApplied | ( | const Bool & | flag | ) | [inline, protected] |
virtual void casa::VisCal::setApply | ( | const Record & | apply | ) | [virtual] |
Reimplemented in casa::AMueller, casa::BJonesPoly, casa::DJones, casa::XMueller, casa::XJones, casa::GlinXphJones, casa::EGainCurve, casa::EPJones, casa::FJones, casa::FringeJones, casa::GJonesSpline, casa::KJones, casa::KMBDJones, casa::KAntPosJones, casa::LJJones, casa::SingleDishSkyCal, casa::SolvableVisCal, casa::MMueller, and casa::TOpac.
virtual void casa::VisCal::setApply | ( | ) | [virtual] |
Set the application parameters.
Reimplemented in casa::AMueller, and casa::SolvableVisCal.
void casa::VisCal::setCalChannelization | ( | const Int & | nChanDat | ) | [protected] |
Set the calibration matrix channelization.
virtual void casa::VisCal::setCallib | ( | const Record & | callib, | |
const MeasurementSet & | selms | |||
) | [virtual] |
Reimplemented in casa::EGainCurve, casa::FringeJones, casa::KJones, casa::KAntPosJones, and casa::SolvableVisCal.
void casa::VisCal::setCurrField | ( | const Int & | ifld | ) | [protected] |
set current field index vector to given field id
virtual void casa::VisCal::setDefApplyParCurrSpw | ( | Bool | sync = False , |
|
Bool | doInv = False | |||
) | [virtual] |
Set parameters to def values in the currSpw(), and optionally sync everything.
virtual void casa::VisCal::setMeta | ( | Int | obs, | |
Int | scan, | |||
Double | time, | |||
Int | spw, | |||
const Vector< Double > & | freq, | |||
Int | fld | |||
) | [virtual] |
VI2-related refactor--------------------------------------.
Set "current" meta info, so internals can be registered
Reimplemented in casa::SolvableVisCal.
void casa::VisCal::setPrtlev | ( | const Int & | prtlev | ) | [inline] |
virtual String casa::VisCal::siminfo | ( | ) | [inline, virtual] |
simulation params - for a VC, sim is apply; for a SVC this will get overriden
Reimplemented in casa::SolvableVisCal.
Definition at line 152 of file VisCal.h.
References applyinfo().
virtual void casa::VisCal::sizeApplyParCurrSpw | ( | Int | nVisChan | ) | [virtual] |
Reshape solvePar* arrays for the currSpw() (sensitive to freqDepPar()).
virtual Bool casa::VisCal::spwOK | ( | Int | ) | [inline, virtual] |
Reimplemented in casa::SolvableVisCal.
Definition at line 116 of file VisCal.h.
References casacore::True.
virtual Vector<Bool> casa::VisCal::spwOK | ( | ) | [inline, virtual] |
Report calibration availability per spw (always True for non-tabular?).
Reimplemented in casa::EGainCurve.
Definition at line 115 of file VisCal.h.
References nSpw(), and casacore::True.
Int& casa::VisCal::startChan | ( | ) | [inline, protected] |
Definition at line 240 of file VisCal.h.
References currSpw_, and startChan_.
Vector<Int>& casa::VisCal::startChanList | ( | ) | [inline, protected] |
Definition at line 243 of file VisCal.h.
References startChan_.
virtual void casa::VisCal::state | ( | ) | [virtual] |
Report the state.
Reimplemented in casa::SolvableVisCal, casa::SolvableVisMueller, casa::SolvableVisJones, casa::VisMueller, and casa::VisJones.
virtual void casa::VisCal::syncCal | ( | const Bool & | doInv = False |
) | [protected, virtual] |
Synchronize "gains" with current meta-data.
virtual void casa::VisCal::syncCal | ( | VisCal & | vc | ) | [protected, virtual] |
virtual void casa::VisCal::syncCal | ( | const VisBuffer & | vb, | |
const Bool & | doInv = False | |||
) | [protected, virtual] |
virtual void casa::VisCal::syncCal2 | ( | const vi::VisBuffer2 & | vb, | |
const Bool & | doInv = False | |||
) | [protected, virtual] |
virtual void casa::VisCal::syncCalMat | ( | const Bool & | doInv = False |
) | [protected, pure virtual] |
Sync matrices generically for current meta data.
Implemented in casa::AMueller, casa::SingleDishSkyCal, casa::VisMueller, and casa::VisJones.
void casa::VisCal::syncMeta | ( | const Int & | spw, | |
const Double & | time, | |||
const Int & | field, | |||
const Vector< Double > & | freq, | |||
const Int & | nchan | |||
) | [protected] |
void casa::VisCal::syncMeta | ( | VisCal & | vc | ) | [protected] |
virtual void casa::VisCal::syncMeta | ( | const VisBuffer & | vb | ) | [protected, virtual] |
Set internal meta data from a VisBuffer or another VisCal.
Reimplemented in casa::EGainCurve, casa::FJones, casa::KAntPosJones, casa::PJones, and casa::TOpac.
virtual void casa::VisCal::syncMeta2 | ( | const vi::VisBuffer2 & | vb | ) | [protected, virtual] |
Reimplemented in casa::EGainCurve, casa::FJones, casa::KAntPosJones, casa::SingleDishSkyCal, casa::PJones, and casa::TOpac.
virtual void casa::VisCal::syncPar | ( | ) | [protected, virtual] |
Sync parameters for current meta data.
virtual Bool casa::VisCal::timeDepMat | ( | ) | [inline, virtual] |
Matrices time-dependent per parameter set (nominally no).
Reimplemented in casa::ANoise, casa::FringeJones, and casa::KAntPosJones.
Definition at line 131 of file VisCal.h.
References casacore::False.
virtual Type casa::VisCal::type | ( | ) | [pure virtual] |
Return the type of this calibration matrix (actual type of derived class).
(Must be implemented in specializations!)
Implemented in casa::AMueller, casa::ANoise, casa::BJonesPoly, casa::DJones, casa::XMueller, casa::XJones, casa::XfJones, casa::GlinXphJones, casa::EGainCurve, casa::EPJones, casa::EVLASwPow, casa::FJones, casa::FringeJones, casa::GJonesSpline, casa::KJones, casa::KMBDJones, casa::KAntPosJones, casa::LJJones, casa::SingleDishSkyCal, casa::PJones, casa::TJones, casa::TfJones, casa::GJones, casa::BJones, casa::JJones, casa::MMueller, casa::MfMueller, casa::TOpac, casa::TfOpac, and casa::StandardTsys.
virtual String casa::VisCal::typeName | ( | ) | [inline, virtual] |
Return type name as string.
Reimplemented in casa::AMueller, casa::ANoise, casa::BJonesPoly, casa::DJones, casa::DfJones, casa::DlinJones, casa::DflinJones, casa::DllsJones, casa::DfllsJones, casa::XMueller, casa::XJones, casa::XfJones, casa::GlinXphJones, casa::GlinXphfJones, casa::EGainCurve, casa::EPJones, casa::EVLASwPow, casa::FJones, casa::FringeJones, casa::GJonesSpline, casa::KJones, casa::KcrossJones, casa::KMBDJones, casa::KAntPosJones, casa::LJJones, casa::SingleDishSkyCal, casa::SingleDishPositionSwitchCal, casa::SingleDishRasterCal, casa::SingleDishOtfCal, casa::PJones, casa::TJones, casa::TfJones, casa::GJones, casa::BJones, casa::JJones, casa::MMueller, casa::MfMueller, casa::TOpac, casa::TfOpac, and casa::StandardTsys.
Definition at line 100 of file VisCal.h.
Referenced by casa::SolvableVisMueller::listCal(), and casa::SolvableVisCal::selfSolveOne().
VisVector& casa::VisCal::V | ( | ) | [inline, protected] |
void casa::VisCal::validateP | ( | ) | [inline, protected] |
Definition at line 255 of file VisCal.h.
References currSpw(), PValid_, and casacore::True.
friend class SolvableVisJones [friend] |
Reimplemented in casa::VisJones.
Bool casa::VisCal::applied_ [private] |
Application flag.
Definition at line 369 of file VisCal.h.
Referenced by isApplied(), and setApplied().
Bool casa::VisCal::calWt_ [private] |
PtrBlock<Cube<Complex>*> casa::VisCal::currCPar_ [private] |
Vector<Int> casa::VisCal::currField_ [private] |
Definition at line 355 of file VisCal.h.
Referenced by currField().
Vector<Double> casa::VisCal::currFreq_ [private] |
Definition at line 356 of file VisCal.h.
Referenced by currFreq().
Vector<Int> casa::VisCal::currObs_ [private] |
PtrBlock<Cube<Bool>*> casa::VisCal::currParOK_ [private] |
Definition at line 380 of file VisCal.h.
Referenced by currParOK().
PtrBlock<Cube<Float>*> casa::VisCal::currRPar_ [private] |
Definition at line 379 of file VisCal.h.
Referenced by currRPar().
Vector<Int> casa::VisCal::currScan_ [private] |
Definition at line 353 of file VisCal.h.
Referenced by currScan().
Int casa::VisCal::currSpw_ [private] |
Current synchronized spw.
Definition at line 349 of file VisCal.h.
Referenced by currSpw(), nChanMat(), nChanPar(), and startChan().
Vector<Double> casa::VisCal::currTime_ [private] |
PtrBlock<Cube<Float>*> casa::VisCal::currWtScale_ [private] |
const Bool casa::VisCal::delmsmc_ [private] |
String casa::VisCal::extratag_ [private] |
Definition at line 397 of file VisCal.h.
Referenced by extraTag().
Int casa::VisCal::focusChan_ [private] |
In-focus channel for single-chan solves on multi-chan data.
Reimplemented in casa::SolvableVisCal.
Double casa::VisCal::interval_ [private] |
Solution timescale (context-dependent).
Reimplemented in casa::SingleDishSkyCal.
Definition at line 366 of file VisCal.h.
Referenced by interval().
Vector<Double> casa::VisCal::lastTime_ [private] |
Definition at line 357 of file VisCal.h.
Referenced by lastTime().
const MSMetaInfoForCal* casa::VisCal::msmc_ [private] |
String casa::VisCal::msName_ [private] |
Int casa::VisCal::nAnt_ [private] |
Int casa::VisCal::nBln_ [private] |
Vector<Int> casa::VisCal::nChanMat_ [private] |
Definition at line 362 of file VisCal.h.
Referenced by nChanMat(), and nChanMatList().
Vector<Int> casa::VisCal::nChanPar_ [private] |
Channel counts.
Definition at line 362 of file VisCal.h.
Referenced by nChanPar(), and nChanParList().
Int64 casa::VisCal::ndataIn_ [private] |
Int64 casa::VisCal::nflagIn_ [private] |
Int64 casa::VisCal::nflagOut_ [private] |
Int casa::VisCal::nSpw_ [private] |
Int casa::VisCal::prtlev_ [private] |
Vector<Bool> casa::VisCal::PValid_ [private] |
Paremeter validity.
Definition at line 383 of file VisCal.h.
Referenced by invalidateP(), PValid(), and validateP().
Double casa::VisCal::refFreq_ [private] |
Double casa::VisCal::refTime_ [private] |
Vector<Int> casa::VisCal::startChan_ [private] |
Definition at line 363 of file VisCal.h.
Referenced by startChan(), and startChanList().
PtrBlock<VisVector*> casa::VisCal::V_ [private] |