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