27 #ifndef SYNTHESIS_CUBESKYEQUATION_H
28 #define SYNTHESIS_CUBESKYEQUATION_H
39 template <
class T>
class Block;
46 class VisibilityIterator;
47 class ROVisibilityIterator;
casacore::Block< casacore::Vector< casacore::Int > > blockNumChanGroup_p
virtual void initializePutSlice(const VisBuffer &vb, casacore::Bool dopsf, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
void oldInitializeGetSlice(const VisBuffer &vb, casacore::Int row, casacore::Bool incremental, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
virtual void gradientsChiSquared(casacore::Bool incremental, casacore::Bool commitModel=false)
virtual void finalizePutSlice(const VisBuffer &vb, casacore::Bool dopsf, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
Temporary astronomical images.
virtual void newFinalizePutSlice(const VisBuffer &vb, casacore::Bool dopsf, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
casacore::Block< casacore::CountedPtr< FTMachine > > ftm_p
casacore::Block< casacore::Vector< casacore::Int > > blockSpw_p
casacore::Bool getFreqRange(ROVisibilityIterator &vi, const casacore::CoordinateSystem &coords, casacore::Int slice, casacore::Int nslice)
frequency range from image
casacore::Block< casacore::CountedPtr< casacore::ImageInterface< casacore::Complex > > > imPutSlice_p
virtual VisBuffer & getSlice(VisBuffer &vb, casacore::Bool incremental, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
virtual void predict(casacore::Bool incremental=false, casacore::MS::PredefinedColumns Type=casacore::MS::MODEL_DATA)
Predict model coherence for the SkyModel.
casacore::Bool firstOneChangesPut_p
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
virtual void fixImageScale()
Modify the ggS and Create the imageScale.
casacore::Bool firstOneChangesGet_p
casacore::Block< casacore::Vector< casacore::Int > > blockChanInc_p
PredefinedColumns
The Main table colums with predefined meaning.
casacore::Int nchanPerSlice_p
void initializeGetSlice(const VisBuffer &vb, casacore::Int row, casacore::Bool incremental, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
void isLargeCube(casacore::ImageInterface< casacore::Complex > &theIm, casacore::Int &nCubeSlice)
virtual void putSlice(VisBuffer &vb, casacore::Bool dopsf, FTMachine::Type col, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
The model visibility data (optional).
Referenced counted pointer for constant data.
A base class for astronomical images.
CubeSkyEquation(SkyModel &sm, VisSet &vs, FTMachine &ft, ComponentFTMachine &cft, casacore::Bool noModelCol=false)
casacore::Block< casacore::Vector< casacore::Int > > blockChanWidth_p
void newInitializeGetSlice(const VisBuffer &vb, casacore::Int row, casacore::Bool incremental, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
virtual void newInitializePutSlice(const VisBuffer &vb, casacore::Bool dopsf, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
Type
Types of known Images that may be made using the makeImage method.
casacore::Block< casacore::Vector< casacore::Int > > blockChanStart_p
void setPhaseCenterTime(const casacore::Double time)
bool Bool
Define the standard types used by Casacore.
virtual void getWeightImage(const casacore::Int model, casacore::ImageInterface< casacore::Float > &weightim)
get the weight image from the ftmachines
casacore::Block< casacore::Matrix< casacore::Float > > weightSlice_p
A (masked) subset of an ImageInterface object.
A drop-in replacement for Block<T*>.
virtual ~CubeSkyEquation()
casacore::Block< casacore::CountedPtr< casacore::ImageInterface< casacore::Complex > > > imGetSlice_p
void configureAsyncIo(ROVisibilityIterator *&oldRvi, VisibilityIterator *&oldWvi)
Specify which elements to extract from an n-dimensional array.
Sky Model: Model the Sky Brightness for the SkyEquation.
void makeSimplePSF(casacore::PtrBlock< casacore::ImageInterface< casacore::Float > * > &psfs)
Different versions of psf making.
void init(FTMachine &ft)
if skyjones changed in get or put we need to tell put or get respectively about it ...
virtual void oldFinalizePutSlice(const VisBuffer &vb, casacore::Bool dopsf, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
virtual void oldInitializePutSlice(const VisBuffer &vb, casacore::Bool dopsf, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1)
virtual void getCoverageImage(casacore::Int model, casacore::ImageInterface< casacore::Float > &im)
Get the flux scale that the ftmachines have if they have.
casacore::Bool internalChangesPut_p
casacore::Block< casacore::CountedPtr< FTMachine > > iftm_p
void tmpWBNormalizeImage(casacore::Bool &dopsf, const casacore::Float &pbLimit)
void makeApproxPSF(casacore::PtrBlock< casacore::ImageInterface< casacore::Float > * > &psfs)
void makeApproxPSF(casacore::Int model, casacore::ImageInterface<casacore::Float>& psf); virtual void...
void sliceCube(casacore::CountedPtr< casacore::ImageInterface< casacore::Complex > > &slice, casacore::Int model, casacore::Int cubeSlice, casacore::Int nCubeSlice, casacore::Int typeOfCopy=0)
Type of copy 0 => a independent image just with coordinates gotten from cImage 1 => a subImage refere...
VisBuffers encapsulate one chunk of visibility data for processing.
VisibilityIterator iterates through one or more writable MeasurementSets.
casacore::Bool internalChangesGet_p
ROVisibilityIterator iterates through one or more readonly MeasurementSets.
casacore::Bool isNewFTM()
void makeMosaicPSF(casacore::PtrBlock< casacore::ImageInterface< casacore::Float > * > &psfs)
Interconvert pixel and world coordinates.
casacore::Bool destroyVisibilityIterator_p
defines interface for the Fourier Transform Machine
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.