29 #ifndef SYNTHESIS_WPROJECTFT_H
30 #define SYNTHESIS_WPROJECTFT_H
266 void findGridSector(
const casacore::Int& nxp,
const casacore::Int& nyp,
const casacore::Int& ixsub,
const casacore::Int& iysub,
const casacore::Int& minx,
const casacore::Int& miny,
const casacore::Int& icounter,
casacore::Int& x0,
casacore::Int& y0,
casacore::Int& nxsub,
casacore::Int& nysub,
const casacore::Bool linear);
casacore::Double timedegrid_p
A Vector of integers, for indexing into Array<T> objects.
casacore::Double timemass_p
virtual FTMachine * cloneFTM()
clone to FTMachine pointer
A Measure: astronomical direction.
A Measure: position on Earth.
casacore::Bool fromRecord(casacore::String &error, const casacore::RecordInterface &inRec)
casacore::Vector< casacore::Int > ysect_p
An FTMachine for Gridded Fourier transforms.
casacore::ConvolveGridder< casacore::Double, casacore::Complex > * gridder
Gridder.
casacore::Float padding_p
Padding in FFT.
casacore::Long cachesize
Sizes.
casacore::Double timegrid_p
casacore::CountedPtr< WPConvFunc > wpConvFunc_p
casacore::Bool toRecord(casacore::String &error, casacore::RecordInterface &outRec, casacore::Bool withImage=false, const casacore::String diskimage="")
Save and restore the WProjectFT to and from a record.
casacore::Vector< casacore::Int > xsect_p
casacore::Vector< casacore::Double > uvOffset
virtual void ComputeResiduals(VisBuffer &, casacore::Bool)
Make the VB and VBStore interefaces for the interim re-factoring work.
virtual Type type()
Return the type enum.
virtual void normalizeImage(casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Double > &, casacore::Lattice< casacore::Float > &, casacore::Bool)
casacore::CountedPtr< casacore::Lattice< casacore::Complex > > arrayLattice
casacore::Array lattice
void put(const VisBuffer &vb, casacore::Int row=-1, casacore::Bool dopsf=false, FTMachine::Type type=FTMachine::OBSERVED)
Put coherence to grid by gridding.
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::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::Vector< casacore::Int > nxsect_p
casacore::ImageInterface< casacore::Complex > * image
LatticeExprNode floor(const LatticeExprNode &expr)
casacore::Vector< casacore::Int > convSupport
void setConvFunc(casacore::CountedPtr< WPConvFunc > &pbconvFunc)
Copy convolution function etc to another FT machine necessary if ft and ift are distinct but can shar...
casacore::Int nint(casacore::Double val)
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...
WProjectFT & operator=(const WProjectFT &other)
Assignment operator.
void findGridSector(const casacore::Int &nxp, const casacore::Int &nyp, const casacore::Int &ixsub, const casacore::Int &iysub, const casacore::Int &minx, const casacore::Int &miny, const casacore::Int &icounter, casacore::Int &x0, casacore::Int &y0, casacore::Int &nxsub, casacore::Int &nysub, const casacore::Bool linear)
Is this record on Grid? check both ends.
casacore::LatticeCache< casacore::Complex > * imageCache
Image cache.
casacore::String name() const
Return name of this machine.
casacore::Int getIndex(const casacore::ROMSPointingColumns &mspc, const casacore::Double &time, const casacore::Double &interval)
Simple map with keys ordered.
casacore::Double savedWScale_p
Referenced counted pointer for constant data.
void findConvFunction(const casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb)
Find the convolution function.
void initializeToSky(casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight, const VisBuffer &vb)
Initialize transform to Sky plane: initializes the image.
A class to provide easy read-only access to MSPointing columns.
casacore::Bool isTiled
Is this tiled?
Type
Types of known Images that may be made using the makeImage method.
casacore::Int convSampling
bool Bool
Define the standard types used by Casacore.
void finalizeToSky()
Finalize transform to Sky plane: flushes the image cache and shows statistics if it is being used...
static void wStat(ROVisibilityIterator &vi, casacore::Double &minW, casacore::Double &maxW, casacore::Double &rmsW)
Helper function to calculate min, max, rms of W in the data set.
void getWeightImage(casacore::ImageInterface< casacore::Float > &, casacore::Matrix< casacore::Float > &)
Get the final weights image.
casacore::Array< casacore::Complex > * getDataPointer(const casacore::IPosition &, casacore::Bool)
Get the appropriate data pointer.
casacore::IPosition centerLoc
Useful IPositions.
void initializeToVis(casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb)
Initialize transform to Visibility plane using the image as a template.
A drop-in replacement for Block<T*>.
void tweakGridSector(const casacore::Int &nx, const casacore::Int &ny, const casacore::Int &ixsub, const casacore::Int &iysub, casacore::Vector< casacore::Int > &x0, casacore::Vector< casacore::Int > &y0, casacore::Vector< casacore::Int > &nxsub, casacore::Vector< casacore::Int > &nysub)
casacore::Vector< casacore::Int > convSizes_p
casacore::Vector< casacore::Double > uvScale
Image Scaling and offset.
casacore::String machineName_p
Base class for all Casacore library errors.
casacore::Bool isFourier()
Can this FTMachine be represented by Fourier convolutions?
casacore::IPosition offsetLoc
casacore::Vector< casacore::Int > nysect_p
WProjectFT(casacore::Int nFacets, casacore::Long cachesize, casacore::Int tilesize=16, casacore::Bool usezero=true, casacore::Bool useDoublePrec=false, const casacore::Double minW=-1.0, const casacore::Double maxW=-1.0, const casacore::Double rmsW=-1.0)
Constructor: cachesize is the size of the cache in words (e.g.
void makeImage(FTMachine::Type type, VisSet &vs, casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight)
Make the entire image.
String: the storage and methods of handling collections of characters.
casacore::CountedPtr< casacore::Lattice< casacore::Complex > > lattice
Lattice.
VisBuffers encapsulate one chunk of visibility data for processing.
casacore::CountedPtr< WPConvFunc > & getConvFunc()
Abstract base class for Record classes.
casacore::Float maxAbsData
ROVisibilityIterator iterates through one or more readonly MeasurementSets.
casacore::Cube< casacore::Complex > convFunc
casacore::Int lastIndex_p
void finalizeToVis()
This version returns the gridded vis...should be used in conjunction.
casacore::Bool usezero_p
Grid/degrid zero spacing points?
defines interface for the Fourier Transform Machine
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.