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