28 #ifndef SYNTHESIS_UVMOD_H
29 #define SYNTHESIS_UVMOD_H
virtual void residual()
Calculate residuals (incl.
A Measure: astronomical direction.
casacore::Vector< casacore::Double > & lastGrad()
casacore::Vector< casacore::Bool > & vary()
casacore::Matrix< casacore::Double > & lastHess()
VisBuffer * svb_
VisBuffer (from outside)
Shape
The shapes of all the components.
casacore::Matrix< casacore::Double > & hess()
void initSolve()
Initial solving data.
SkyComponent & skycomp(const casacore::uInt id)
Access to SkyComponents by id.
ComponentList & cl()
Access to ComponentList.
virtual Type type()
Return the type enum.
casacore::Matrix< casacore::Double > hess_
casacore::Int & fitfld()
Access to fieldId we are fitting for.
casacore::Double chiSq_
Chi2, sum wts.
void solveGradHess(const casacore::Bool &doCovar=false)
VisCal: Model multiplicative errors for the VisEquation.
casacore::Cube< casacore::DComplex > & R()
Accessors to current svb's (differentiated) Residuals.
casacore::Int nPar_
Total Number of parameters.
void setModel(const ComponentType::Shape type, const casacore::Vector< casacore::Double > inpar, const casacore::Vector< casacore::Bool > invary)
casacore::Double & chiSq()
Access to chi2.
casacore::Double lamb_
Gradient, Hessian, par update.
VisSet * vs_
Associated VisSet (LOCAL)
casacore::Vector< casacore::Bool > vary_
VisBuffer & svb()
Access to current VisBuffer.
void accGradHess()
Internal solving methods.
casacore::Double lastChiSq_
casacore::Array< casacore::DComplex > dR_
casacore::Vector< casacore::Bool > polWt_
casacore::Double & sumWt()
casacore::Vector< casacore::Double > par_
Parameter storage.
ComponentList * cl_
ComponentList (LOCAL)
casacore::Vector< casacore::Double > lastGrad_
VisSet & vs()
Access to VisSet.
casacore::Bool modelfit(const casacore::Int &maxiter, const casacore::String file)
casacore::Double & lamb()
Access to parameters, & grad,hess,dp.
bool Bool
Define the standard types used by Casacore.
casacore::Vector< casacore::Double > lastPar_
casacore::MDirection pc_
Phase center w.r.t.
casacore::Vector< casacore::Double > dpar_
casacore::Matrix< casacore::Double > lastHess_
casacore::Double & lastChiSq()
casacore::Vector< casacore::Double > grad_
casacore::MDirection & pc()
void printPar(const casacore::Int &iter)
casacore::Int fitfld_
FieldId in fit.
A class for manipulating groups of components.
A component of a model of the sky.
casacore::Cube< casacore::DComplex > R_
Residual/Differentiation caches.
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
casacore::Vector< casacore::Double > & dpar()
casacore::Vector< casacore::Double > & grad()
casacore::Bool setCompPar()
casacore::Vector< casacore::Double > & lastPar()
const SkyComponent & component(const casacore::uInt &index) const
returns a reference to the specified element in the list.
casacore::Vector< casacore::Double > & par()
casacore::Array< casacore::DComplex > & dR()
casacore::Vector< casacore::Bool > & polWt()
Defines nreal time structures used by the VLA table filler.