29 #ifndef SYNTHESIS_rGRIDFT_H
30 #define SYNTHESIS_rGRIDFT_H
A Vector of integers, for indexing into Array<T> objects.
virtual casacore::Bool toRecord(casacore::String &error, casacore::RecordInterface &outRec, casacore::Bool withImage=false, const casacore::String diskimage="")
Save and restore the GridFT to and from a record.
void finalizeToVis()
Finalize transform to Visibility plane: flushes the image cache and shows statistics if it is being u...
A Measure: astronomical direction.
A Measure: position on Earth.
virtual casacore::Bool fromRecord(casacore::String &error, const casacore::RecordInterface &inRec)
casacore::ConvolveGridder< casacore::Double, casacore::Complex > * gridder
Gridder.
casacore::LatticeCache< casacore::Complex > * imageCache
Image cache.
void makeImage(FTMachine::Type type, VisSet &vs, casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight)
Make the entire image.
virtual casacore::String name() const
Return the name of the machine.
virtual Type type()
Return the type enum.
casacore::Float padding_p
Padding in FFT.
casacore::Bool recordOnGrid(const VisBuffer &vb, casacore::Int rownr) const
Is this record on Grid? check both ends.
casacore::Bool usezero_p
Grid/degrid zero spacing points?
casacore::String convType
void put(const VisBuffer &vb, casacore::Int row=-1, casacore::Bool dopsf=false, FTMachine::Type type=FTMachine::OBSERVED)
Put coherence to grid by gridding.
void finalizeToSky()
Finalize transform to Sky plane: flushes the image cache and shows statistics if it is being used...
void initializeToSky(casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight, const VisBuffer &vb)
Initialize transform to Sky plane: initializes the image.
casacore::Vector< casacore::Double > uvOffset
casacore::Float maxAbsData
casacore::ImageInterface< casacore::Complex > * image
casacore::Double timegrid_p
casacore::IPosition offsetLoc
casacore::Array< casacore::Complex > * getDataPointer(const casacore::IPosition &, casacore::Bool)
Get the appropriate data pointer.
Referenced counted pointer for constant data.
virtual void normalizeImage(casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Double > &, casacore::Lattice< casacore::Float > &, casacore::Bool)
void getWeightImage(casacore::ImageInterface< casacore::Float > &, casacore::Matrix< casacore::Float > &)
Get the final weights image.
casacore::Double timemass_p
void prepGridForDegrid()
Prepare the grid for degridding.
An FTMachine for Gridded Fourier transforms.
Type
Types of known Images that may be made using the makeImage method.
virtual void ComputeResiduals(VisBuffer &, casacore::Bool)
Make the VB and VBStore interefaces for the interim re-factoring work.
Converts UVW coordinates between coordinate systems.
casacore::Long cachesize
Sizes.
bool Bool
Define the standard types used by Casacore.
virtual casacore::Bool isFourier()
Can this FTMachine be represented by Fourier convolutions?
rGridFT & operator=(const rGridFT &other)
Assignment operator.
casacore::Int priorCacheSize
casacore::CountedPtr< casacore::Lattice< casacore::Complex > > lattice
Lattice.
casacore::Bool isTiled
Is this tiled?
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...
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.
virtual void setNoPadding(casacore::Bool nopad)
To make sure no padding is used in certain gridders.
casacore::Bool noPadding_p
force no padding
casacore::Vector< casacore::Double > uvScale
Image Scaling and offset.
Base class for all Casacore library errors.
casacore::CountedPtr< casacore::Lattice< casacore::Complex > > arrayLattice
casacore::Array lattice
casacore::Bool usePut2_p
Check if using put that avoids non-necessary reads.
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
Abstract base class for Record classes.
rGridFT(casacore::Long cachesize, casacore::Int tilesize, casacore::String convType="SF", casacore::Float padding=1.0, casacore::Bool usezero=true, casacore::Bool useDoublePrec=false)
Constructor: cachesize is the size of the cache in words (e.g.
casacore::String machineName_p
machine name
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...
defines interface for the Fourier Transform Machine
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.