#include <GSpline.h>
Public Member Functions | |
| GJonesSpline (VisSet &vs) | |
| Construct from a visibility data set. | |
| virtual | ~GJonesSpline () |
| Destructor. | |
| virtual Type | type () |
| Return the type enum. | |
| virtual String | typeName () |
| Return type name as a string. | |
| virtual String | longTypeName () |
| virtual Bool | useGenericGatherForSolve () |
| GSpline gathers/solves for itself. | |
| virtual Jones::JonesType | jonesType () |
| Type of Jones matrix according to nPar() TBD:. | |
| virtual void | setSolve (const Record &solvepar) |
| virtual void | setApply (const Record &applypar) |
| virtual void | selfGatherAndSolve (VisSet &vs, VisEquation &ve) |
| Solve. | |
| void | setRawPhaseVisSet (VisSet &rawvs_p) |
| void | setPhaseWrapHelp (const Int &numpoi, const Double &phaseWrap) |
| Set parameters for phase wrapping resolution. | |
Protected Member Functions | |
| virtual Int | nPar () |
| GSPLINE has one trivial Complex parameter (single pol, for now) TBD:. | |
| virtual void | calcPar () |
| Calc G pars from spline info. | |
Private Member Functions | |
| void | newCalBuffer (const Vector< Int > &fieldIdKeys, const Vector< Int > &antennaId) |
| Create and fill an empty output calibration buffer. | |
| Int | getKnots (const Vector< Double > ×, Vector< Double > &knots) |
| Compute the number of spline knots required and their location. | |
| virtual void | updateCalTable (const Vector< Int > &fieldIdKeys, const Vector< Int > &antennaId, const Vector< String > &freqGrpName, const Vector< String > &polyType, const Vector< String > &polyMode, const Vector< Complex > &scaleFactor, const Matrix< Double > &polyCoeffAmp, const Matrix< Double > &polyCoeffPhase, const Vector< String > &phaseUnits, const Vector< Double > &splineKnotsAmp, const Vector< Double > &splineKnotsPhase, const Vector< MFrequency > &refFreq, const Vector< Int > &refAnt) |
| Update the output calibration table. | |
| Double | getSplineVal (Double x, Vector< Double > &knots, Vector< Double > &coeff) |
| Compute a spline polynomial value. | |
| void | fillRawPhaseBuff () |
| Double | getRawPhase (Int ant1, Int ant2, Double time) |
| return the rawphase of | |
| *void | plotsolve (const Vector< Double > &x, const Matrix< Double > &yall, const Matrix< Double > &weightall, const Vector< Double > &errall, Matrix< Double > &coeff, Bool phasesoln) |
| Plot solutions as compare with data. | |
| Vector< Int > | fieldIdRange () |
| Return all field id. | |
| void | writeAsciiLog (const String &filename, const Matrix< Double > &coeff, const Vector< Double > &rmsFit, Bool phasesoln) |
| Logging solution and rms. | |
Private Attributes | |
| VisSet * | vs_p |
| The underlying VisSet. | |
| Bool | solveAmp_p |
| Private variables containing the solver parameters. | |
| Bool | solvePhase_p |
| Double | splinetime_p |
| Double | cacheTimeValid_p |
| Time for which the current calibration cache is valid. | |
| GJonesSplineMBuf * | calBuffer_p |
| Ptr to a calibration buffer associated with the calibration solutions which are to be interpolated and applied to the data. | |
| VisSet * | rawvs_p |
| Parameters for raw phase removal from another spw. | |
| Bool | rawPhaseRemoval_p |
| SimpleOrderedMap< String, Int > | timeValueMap_p |
| Matrix< Double > | rawPhase_p |
| Double | solTimeStamp_p |
| Solution timestamp. | |
| Int | numpoint_p |
| Double | phaseWrap_p |
Definition at line 75 of file GSpline.h.
| casa::GJonesSpline::GJonesSpline | ( | VisSet & | vs | ) |
Construct from a visibility data set.
| virtual casa::GJonesSpline::~GJonesSpline | ( | ) | [virtual] |
Destructor.
| virtual void casa::GJonesSpline::calcPar | ( | ) | [protected, virtual] |
Calc G pars from spline info.
Reimplemented from casa::SolvableVisCal.
| Vector<Int> casa::GJonesSpline::fieldIdRange | ( | ) | [private] |
Return all field id.
's in the underlying MS
| void casa::GJonesSpline::fillRawPhaseBuff | ( | ) | [private] |
| Int casa::GJonesSpline::getKnots | ( | const Vector< Double > & | times, | |
| Vector< Double > & | knots | |||
| ) | [private] |
Compute the number of spline knots required and their location.
| Double casa::GJonesSpline::getRawPhase | ( | Int | ant1, | |
| Int | ant2, | |||
| Double | time | |||
| ) | [private] |
return the rawphase of
| Double casa::GJonesSpline::getSplineVal | ( | Double | x, | |
| Vector< Double > & | knots, | |||
| Vector< Double > & | coeff | |||
| ) | [private] |
Compute a spline polynomial value.
| virtual Jones::JonesType casa::GJonesSpline::jonesType | ( | ) | [inline, virtual] |
Type of Jones matrix according to nPar() TBD:.
Reimplemented from casa::GJones.
Definition at line 97 of file GSpline.h.
References casa::Jones::Diagonal.
| virtual String casa::GJonesSpline::longTypeName | ( | ) | [inline, virtual] |
Reimplemented from casa::GJones.
| void casa::GJonesSpline::newCalBuffer | ( | const Vector< Int > & | fieldIdKeys, | |
| const Vector< Int > & | antennaId | |||
| ) | [private] |
Create and fill an empty output calibration buffer.
| virtual Int casa::GJonesSpline::nPar | ( | ) | [inline, protected, virtual] |
GSPLINE has one trivial Complex parameter (single pol, for now) TBD:.
Reimplemented from casa::GJones.
| * void casa::GJonesSpline::plotsolve | ( | const Vector< Double > & | x, | |
| const Matrix< Double > & | yall, | |||
| const Matrix< Double > & | weightall, | |||
| const Vector< Double > & | errall, | |||
| Matrix< Double > & | coeff, | |||
| Bool | phasesoln | |||
| ) | [private] |
Plot solutions as compare with data.
| virtual void casa::GJonesSpline::selfGatherAndSolve | ( | VisSet & | vs, | |
| VisEquation & | ve | |||
| ) | [virtual] |
Solve.
Reimplemented from casa::SolvableVisCal.
| virtual void casa::GJonesSpline::setApply | ( | const Record & | applypar | ) | [virtual] |
Reimplemented from casa::SolvableVisCal.
| void casa::GJonesSpline::setPhaseWrapHelp | ( | const Int & | numpoi, | |
| const Double & | phaseWrap | |||
| ) |
Set parameters for phase wrapping resolution.
| void casa::GJonesSpline::setRawPhaseVisSet | ( | VisSet & | rawvs_p | ) |
| virtual void casa::GJonesSpline::setSolve | ( | const Record & | solvepar | ) | [virtual] |
Reimplemented from casa::SolvableVisCal.
| virtual Type casa::GJonesSpline::type | ( | ) | [inline, virtual] |
Return the type enum.
Reimplemented from casa::GJones.
Definition at line 85 of file GSpline.h.
References casa::VisCal::G.
| virtual String casa::GJonesSpline::typeName | ( | ) | [inline, virtual] |
Return type name as a string.
Reimplemented from casa::GJones.
| virtual void casa::GJonesSpline::updateCalTable | ( | const Vector< Int > & | fieldIdKeys, | |
| const Vector< Int > & | antennaId, | |||
| const Vector< String > & | freqGrpName, | |||
| const Vector< String > & | polyType, | |||
| const Vector< String > & | polyMode, | |||
| const Vector< Complex > & | scaleFactor, | |||
| const Matrix< Double > & | polyCoeffAmp, | |||
| const Matrix< Double > & | polyCoeffPhase, | |||
| const Vector< String > & | phaseUnits, | |||
| const Vector< Double > & | splineKnotsAmp, | |||
| const Vector< Double > & | splineKnotsPhase, | |||
| const Vector< MFrequency > & | refFreq, | |||
| const Vector< Int > & | refAnt | |||
| ) | [private, virtual] |
Update the output calibration table.
| virtual Bool casa::GJonesSpline::useGenericGatherForSolve | ( | ) | [inline, virtual] |
GSpline gathers/solves for itself.
Reimplemented from casa::SolvableVisCal.
Definition at line 93 of file GSpline.h.
References casacore::False.
| void casa::GJonesSpline::writeAsciiLog | ( | const String & | filename, | |
| const Matrix< Double > & | coeff, | |||
| const Vector< Double > & | rmsFit, | |||
| Bool | phasesoln | |||
| ) | [private] |
Logging solution and rms.
Double casa::GJonesSpline::cacheTimeValid_p [private] |
GJonesSplineMBuf* casa::GJonesSpline::calBuffer_p [private] |
Int casa::GJonesSpline::numpoint_p [private] |
Double casa::GJonesSpline::phaseWrap_p [private] |
Matrix<Double> casa::GJonesSpline::rawPhase_p [private] |
Bool casa::GJonesSpline::rawPhaseRemoval_p [private] |
VisSet* casa::GJonesSpline::rawvs_p [private] |
Double casa::GJonesSpline::solTimeStamp_p [private] |
Bool casa::GJonesSpline::solveAmp_p [private] |
Bool casa::GJonesSpline::solvePhase_p [private] |
Double casa::GJonesSpline::splinetime_p [private] |
SimpleOrderedMap<String, Int> casa::GJonesSpline::timeValueMap_p [private] |
VisSet* casa::GJonesSpline::vs_p [private] |
1.6.1