29 #ifndef SYNTHESIS_SKYMODEL_H
30 #define SYNTHESIS_SKYMODEL_H
virtual void finalizeGradients()=0
Finalize for gradient search.
virtual casacore::Bool hasXFR(casacore::Int model=0)=0
virtual casacore::ImageInterface< casacore::Float > & ggS(casacore::Int model=0)=0
Grad Grad chi-squared wrt pixels (diagonal elements only)
casacore::Bool isImageNormalized()
void setAlgorithm(const casacore::String &alg)
set Algorithm (e.g clean, mem, nnls)
const casacore::String getAlgorithm()
get Algorithm
virtual casacore::ImageInterface< casacore::Float > & deltaImage(casacore::Int model=0)=0
Increment in the image.
virtual casacore::Matrix< casacore::Float > & weight(casacore::Int model=0)=0
Weight per model (channels, polarizations)
virtual casacore::ImageInterface< casacore::Float > & fluxScale(casacore::Int model=0)=0
FluxScale image: image * fluxScale => true brightness distribution.
virtual ComponentList & componentList()=0
Return the component list.
virtual void initializeGradients()=0
Initialize for gradient search.
virtual casacore::ImageInterface< casacore::Float > & work(casacore::Int model=0)=0
Work image.
virtual casacore::Bool hasComponentList()=0
Return the component list.
virtual casacore::ImageInterface< casacore::Float > & gS(casacore::Int model=0)=0
Gradient of chi-squared wrt pixels.
virtual casacore::Int numberOfModels()=0
Number of models contained.
virtual void addStatistics(casacore::Float sumwt, casacore::Float chisq)=0
Add to Sum weights, Chi-Squared.
casacore::String itsAlgorithm
virtual void setMemoryUse(casacore::Bool memuse)=0
set and get memory usage model
virtual casacore::Bool solve(SkyEquation &se)=0
Solve for this SkyModel.
virtual casacore::Double getReferenceFrequency()=0
MFS : Reference Frequency.
casacore::String itsSubAlgorithm
virtual casacore::ImageInterface< casacore::Float > & PSF(casacore::Int model=0)=0
PSF.
bool Bool
Define the standard types used by Casacore.
virtual casacore::Bool isSolveable(casacore::Int model=0)=0
Is this SkyModel solveable?
virtual casacore::Bool doFluxScale(casacore::Int model=0)=0
Is there a flux scale image associated with this model?
casacore::ImageRegion * imageRegion_p
this casacore::ImageRegion is used to suggest the shape for the XFR.
virtual casacore::Bool getMemoryUse()=0
virtual casacore::ImageInterface< casacore::Complex > & cImage(casacore::Int model=0)=0
casacore::Complex image (needed for e.g.
void setImageRegion(casacore::ImageRegion &ir)
Set the imageregion that will be used for the next XFR generation.
virtual casacore::Int numberOfTaylorTerms()=0
MFS : Number of taylor terms per model.
Class to hold a region of interest in an image.
virtual casacore::Int getModelIndex(casacore::uInt field=0, casacore::uInt taylor=0)=0
Sky Model: Model the Sky Brightness for the SkyEquation.
void unsetImageRegion()
use the default shape
void setSubAlgorithm(const casacore::String &alg)
set Sub Algorithm
virtual casacore::ImageInterface< casacore::Complex > & XFR(casacore::Int model=0, casacore::Int numXFR=0)=0
casacore::Complex XFR
void setImageNormalization(casacore::Bool val)
virtual casacore::Bool isEmpty(casacore::Int model=0)=0
Is this model empty.
A class for manipulating groups of components.
String: the storage and methods of handling collections of characters.
Base class for Iteration.
casacore::Bool isImageNormalized_p
const casacore::String getSubAlgorithm()
get Sub Algorithm
virtual casacore::Int getTaylorIndex(casacore::Int index=0)=0
MFS : Index of Taylor term in array of nmodels x ntaylorterms.
virtual casacore::ImageInterface< casacore::Float > & image(casacore::Int model=0)=0
Image interface for this model (casacore::Stokes representation)