28 #ifndef SYNTHESIS_EPJONES_H
29 #define SYNTHESIS_EPJONES_H
VisSet * vs_p
PBMosaicFT *pbwp_p; casacore::MeasurementSet *ms_p;
casacore::Vector< casacore::Int > polMap_p
CalSet< casacore::Float > * rcs_
casacore::Bool verifyForSolve(VisBuffer &vb)
casacore::Cube< casacore::Float > pointPar_
inline virtual CalSet<casacore::Float> rcs() {return *cs_;}
virtual void setTolerance(const casacore::Float &tol)
casacore::Array< casacore::Double > getTime(const casacore::Int &spw)
virtual Type type()
Return the type enum.
casacore::Double minTimePerSolution
virtual void setRPar(casacore::Double val)
void initSolve(VisSet &vs)
EPJones (pointing errors)
const IPosition & shape() const
The length of each axis of the cube.
casacore::Array< T > & par(const casacore::Int &spw)
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
casacore::Double avgTimePerSolution
casacore::Double maxTimePerSolution
virtual casacore::String longTypeName()
Jones::JonesType jonesType()
Type of Jones matrix according to nPar()
virtual void setApply()
Set the application parameters.
casacore::Int & startChan()
virtual casacore::Float printFraction(const casacore::Int &)
virtual casacore::Int nPar()
EP has a pair of real parameters per feed.
virtual void makeComplexGrid(casacore::TempImage< casacore::Complex > &Grid, casacore::PagedImage< casacore::Float > &ModelImage, VisBuffer &vb)
Fill-in a complex grid with the image values in prepration for computing it's FT. ...
virtual VisCalEnum::VCParType setParType(VisCalEnum::VCParType type)
casacore::TempImage< casacore::Complex > targetVisModel_
casacore::Array<casacore::Float> azOff, elOff;
virtual void postSolveMassage(const VisBuffer &)
virtual void setGain(const casacore::Float &gain)
casacore::Bool & append()
virtual void setSolve()
Set the solving parameters.
Type
Allowed types of VisCal matrices - 'correct' order enum Type{UVMOD,Mf,M,K,B,G,D,C,E,P,T,EP,F}; enum Type{Test=0,ANoise,M,KAntPos,K,B,G,J,D,X,C,P,E,T,F,A,ALL};.
virtual casacore::Bool trivialJonesElem()
Jones matrix elements are NOT trivial.
void resize(size_t nx, size_t ny, size_t nz, Bool copyValues=False)
casacore::Array< casacore::Float > getOffsets(const casacore::Int &spw)
virtual void inflate(const casacore::Vector< casacore::Int > &nChan, const casacore::Vector< casacore::Int > &startChan, const casacore::Vector< casacore::Int > &nSlot)
Inflate the pristine CalSet (generically)
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual void applyCal(VisBuffer &vb, casacore::Cube< casacore::Complex > &Mout)
Apply calibration to a VisBuffer.
measure the time it takes to execute parts of a program
virtual casacore::Cube< casacore::Float > & solveRPar()
virtual void keep(const casacore::Int &slot)
virtual BaseCalSet& cs() {return *rcs_;};
virtual ~EPJones()
EPJones(const casacore::Int& nAnt); // NYI.
virtual VisCalEnum::VCParType parType()
Return the parameter type (nominally complex)
virtual casacore::String typeName()
Return type name as string.
A Table intended to hold astronomical data (a set of Measurements).
virtual void differentiate(VisBuffer &vb, casacore::Cube< casacore::Complex > &Mout, casacore::Array< casacore::Complex > &dMout, casacore::Matrix< casacore::Bool > &Mflg)
Differentiate a VisBuffer w.r.t.
casacore::Cube< casacore::Float > & loadPar()
Specialized access to pointing parameters (no chan axis)
virtual void selfGatherAndSolve(VisSet &vs, VisEquation &ve)
Self- gather and/or solve prototypes (triggered by useGenericGatherForSolve=F or useGenericSolveOne=F...
virtual void setModel(const casacore::String &modelImage)
virtual casacore::Bool normalizable()
virtual void keep(const casacore::Int& slot);
void printActivity(const casacore::Int slotNo, const casacore::Int fieldId, const casacore::Int spw, const casacore::Int nSolutions)
casacore::Vector< T > solve(const casacore::Matrix< T > &A, const casacore::Vector< T > &y, double &ferr, double &berr)
Given a matrix "A", and given some vector "y" which is the right hand side of the equation "Ax=y"...
String: the storage and methods of handling collections of characters.
virtual casacore::Bool useGenericGatherForSolve()
Report if calibration available for specified spw (if no CalInterp available, assume true) ...
virtual void setRPar(casacore::Cube< casacore::Float > &val)
VisBuffers encapsulate one chunk of visibility data for processing.
virtual CalSet< casacore::Float > & rcs()
VisibilityIterator iterates through one or more writable MeasurementSets.
void initSolvePar()
Initialize solve parameter shape Jones version: (nPar(),1,nAnt()) (one chan, all antennas) ...
casacore::Vector< casacore::Double > & time(const casacore::Int &spw)
casacore::Float tolerance_p
virtual void setNiter(const casacore::Int &niter)
void nearest(const casacore::Double time, casacore::Array< casacore::Float > &vals)
EPJones(VisSet &vs)
Constructor.
virtual void diffResiduals(VisIter &vi, VisEquation &ve, VisBuffer &residuals, VisBuffer &dVr1, VisBuffer &dVr2, casacore::Matrix< casacore::Bool > &flags)
This one averages the residuals and the derivatives in time.