29 #ifndef SYNTHESIS_MOSAICFT_H
30 #define SYNTHESIS_MOSAICFT_H
132 class SimplePBConvFunc;
233 virtual void reset();
A Vector of integers, for indexing into Array<T> objects.
casacore::IPosition centerLoc
Useful IPositions.
void findConvFunction(const casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb)
Find the convolution function.
A Measure: astronomical direction.
A Measure: position on Earth.
casacore::Int convSampling
casacore::Vector< casacore::Int > convSizePlanes_p
casacore::CountedPtr< SimplePBConvFunc > & getConvFunc()
virtual casacore::String name() const
Return name of this machine.
MosaicFT & operator=(const MosaicFT &other)
Assignment operator – convolution function is referenced.
casacore::String stokes_p
casacore::Vector< casacore::Double > uvOffset
casacore::Vector< casacore::Int > convPolMap_p
casacore::CountedPtr< SimplePBConvFunc > pbConvFunc_p
casacore::Array< casacore::Complex > weightConvFunc_p
virtual Type type()
Return the type enum.
casacore::Array< casacore::Complex > convFunc
casacore::String machineName_p
Later this.
virtual void normalizeImage(casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Double > &, casacore::Lattice< casacore::Float > &, casacore::Bool)
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
void setConvFunc(casacore::CountedPtr< SimplePBConvFunc > &pbconvFunc)
Copy convolution function etc to another FT machine necessary if ft and ift are distinct but can shar...
A class to provide easy read-write access to MSPointing columns.
casacore::Int getIndex(const casacore::ROMSPointingColumns &mspc, const casacore::Double &time, const casacore::Double &interval)
casacore::Bool toRecord(casacore::String &error, casacore::RecordInterface &outRec, casacore::Bool withImage=false, const casacore::String diskimage="")
Save and restore the MosaicFT to and from a record.
casacore::ImageInterface< casacore::Complex > * image
casacore::MDirection worldPosMeas
casacore::Int priorCacheSize
casacore::Vector< casacore::Double > xyPos
casacore::Bool usezero_p
Grid/degrid zero spacing points?
virtual void ComputeResiduals(VisBuffer &, casacore::Bool)
Make the VB and VBStore interefaces for the interim re-factoring work.
casacore::LatticeCache< casacore::Complex > * imageCache
Image cache.
void addBeamCoverage(casacore::ImageInterface< casacore::Complex > &image)
void girarUVW(casacore::Matrix<casacore::Double>& uvw, casacore::Vector<casacore::Double>& dphase...
LatticeExprNode floor(const LatticeExprNode &expr)
void getWeightImage(casacore::ImageInterface< casacore::Float > &, casacore::Matrix< casacore::Float > &)
Get the final weights image.
virtual void getFluxImage(casacore::ImageInterface< casacore::Float > &image)
Get a flux (divide by this to get a flux density correct image) image if there is one...
virtual void setMiscInfo(const casacore::Int qualifier)
set the order of the Taylor term for MFS this is to tell A-casacore::Projection to qualify the accumu...
Referenced counted pointer for constant data.
A class to provide easy read-only access to MSPointing columns.
Interconvert pixel positions and directions (e.g. RA/DEC).
casacore::Vector< casacore::Double > uvScale
Image Scaling and offset.
void finalizeToVis()
Finalize transform to Visibility plane: flushes the image cache and shows statistics if it is being u...
casacore::Float maxAbsData
MosaicFT(SkyJones *sj, casacore::MPosition mloc, casacore::String stokes, casacore::Long cachesize, casacore::Int tilesize=16, casacore::Bool usezero=true, casacore::Bool useDoublePrec=false)
Constructor: cachesize is the size of the cache in words (e.g.
Type
Types of known Images that may be made using the makeImage method.
casacore::Array< casacore::Complex > * getDataPointer(const casacore::IPosition &, casacore::Bool)
Get the appropriate data pointer.
casacore::Bool isTiled
Is this tiled?
casacore::MSPointingColumns * mspc
Pointing columns.
Converts UVW coordinates between coordinate systems.
casacore::Bool isFourier()
Can this FTMachine be represented by Fourier convolutions?
A class to provide easy read-write access to MSAntenna columns.
bool Bool
Define the standard types used by Casacore.
void put(const VisBuffer &vb, casacore::Int row=-1, casacore::Bool dopsf=false, FTMachine::Type type=FTMachine::OBSERVED)
Put coherence to grid by gridding.
casacore::Vector< casacore::Int > convSupportPlanes_p
casacore::TempImage< casacore::Complex > * convWeightImage_p
casacore::CountedPtr< casacore::Lattice< casacore::Complex > > arrayLattice
casacore::Array lattice
casacore::CountedPtr< casacore::Lattice< casacore::Complex > > weightLattice
casacore::CountedPtr< casacore::TempImage< casacore::Float > > skyCoverage_p
casacore::Vector< casacore::Int > convChanMap_p
virtual void finalizeToSky()=0
Finalize transform to Sky plane
casacore::Array< casacore::DComplex > griddedWeight2
casacore::Int nint(casacore::Double val)
casacore::Array< casacore::Complex > griddedWeight
casacore::Array for non-tiled gridding
void initializeToSky(casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight, const VisBuffer &vb)
Initialize transform to Sky plane: initializes the image.
Sky Jones: Model sky-plane instrumental effects for the SkyEquation.
void makeImage(FTMachine::Type type, VisSet &vs, casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight)
Make the entire image.
casacore::Bool doneWeightImage_p
Base class for all Casacore library errors.
casacore::Int lastIndex_p
casacore::ImageInterface< casacore::Complex > & getImage(casacore::Matrix< casacore::Float > &, casacore::Bool normalize=true)
Get the final image: do the Fourier transform and grid-correct, then optionally normalize by the summ...
virtual casacore::Bool useWeightImage()
All FTMachines that fill weightimage, need to set this.
casacore::CountedPtr< casacore::TempImage< casacore::Float > > & getConvWeightImage()
void initializeToVis(casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb)
Initialize transform to Visibility plane using the image as a template.
String: the storage and methods of handling collections of characters.
casacore::ConvolveGridder< casacore::Double, casacore::Complex > * gridder
Gridder.
VisBuffers encapsulate one chunk of visibility data for processing.
virtual void reset()
reset weight image
casacore::CountedPtr< casacore::Lattice< casacore::Complex > > lattice
Lattice.
Abstract base class for Record classes.
casacore::Vector< casacore::Int > convRowMap_p
casacore::DirectionCoordinate directionCoord
casacore::Int convSupport
casacore::Long cachesize
Sizes.
casacore::Bool getXYPos(const VisBuffer &vb, casacore::Int row)
casacore::IPosition offsetLoc
casacore::MDirection::Convert * pointingToImage
casacore::MSAntennaColumns * msac
Antenna columns.
casacore::Bool recordOnGrid(const VisBuffer &vb, casacore::Int rownr) const
Is this record on Grid? check both ends.
casacore::Bool fromRecord(casacore::String &error, const casacore::RecordInterface &inRec)
defines interface for the Fourier Transform Machine
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.