29 #ifndef SYNTHESIS_TRANSFORM2_GRIDFT_H
30 #define SYNTHESIS_TRANSFORM2_GRIDFT_H
54 namespace vi {
class VisBuffer2;}
271 std::shared_ptr<casacore::Lattice<casacore::Complex> >
lattice;
A Vector of integers, for indexing into Array<T> objects.
A Measure: astronomical direction.
A Measure: position on Earth.
casacore::Double timegrid_p
casacore::String convType
casacore::Bool noPadding_p
force no padding
defines interface for the Fourier Transform Machine
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
casacore::IPosition offsetLoc
virtual void setNoPadding(casacore::Bool nopad)
To make sure no padding is used in certain gridders.
void makeImage(FTMachine::Type type, vi::VisibilityIterator2 &vi, casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight)
Make the entire image.
casacore::Double timedegrid_p
virtual FTMachine * cloneFTM()
clone copy should make it pure virtual forcing every ftm to have a cloner
virtual void normalizeImage(casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Double > &, casacore::Lattice< casacore::Float > &, casacore::Bool)
virtual Type type()
Return the type enum.
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::Int convSupport_p
virtual void finalizeToVis()
Finalize transform to Visibility plane: flushes the image cache and shows statistics if it is being u...
casacore::String machineName_p
machine name
virtual casacore::Bool fromRecord(casacore::String &error, const casacore::RecordInterface &inRec)
virtual casacore::String name() const
Return the name of the machine.
casacore::IPosition centerLoc
Useful IPositions.
virtual casacore::Long estimateRAM(const casacore::CountedPtr< SIImageStore > &imstore)
estimate of memory necessary in kB
casacore::Vector< casacore::Double > convFunc_p
virtual void initializeToVis(casacore::ImageInterface< casacore::Complex > &image, const vi::VisBuffer2 &vb)
Initialize transform to Visibility plane using the image as a template.
casacore::Vector< casacore::Double > uvOffset
virtual 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::Vector< casacore::Double > uvScale
Image Scaling and offset.
Referenced counted pointer for constant data.
casacore::Long cachesize
Sizes.
An FTMachine for Gridded Fourier transforms.
casacore::Int convSampling_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 void ComputeResiduals(vi::VisBuffer2 &, casacore::Bool)
Make the VB and VBStore interefaces for the interim re-factoring work.
Type
Types of known Images that may be made using the makeImage method.
casacore::LatticeCache< casacore::Complex > * imageCache
Is this record on Grid? check both ends.
Converts UVW coordinates between coordinate systems.
virtual void modifyConvFunc(const casacore::Vector< casacore::Double > &convFunc, casacore::Int convSupport, casacore::Int convSampling)
bool Bool
Define the standard types used by Casacore.
casacore::Bool usezero_p
Grid/degrid zero spacing points?
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 prepGridForDegrid()
Prepare the grid for degridding.
std::shared_ptr< casacore::Lattice< casacore::Complex > > arrayLattice
casacore::Array lattice
casacore::ConvolveGridder< casacore::Double, casacore::Complex > * gridder
Gridder.
std::shared_ptr< casacore::Lattice< casacore::Complex > > lattice
Lattice.
casacore::Array< casacore::Complex > * getDataPointer(const casacore::IPosition &, casacore::Bool)
Get the appropriate data pointer.
casacore::Float maxAbsData
VisBuffer2s encapsulate one chunk of visibility data for processing.
Base class for all Casacore library errors.
virtual casacore::Bool isFourier()
Can this FTMachine be represented by Fourier convolutions?
virtual GridFT & operator=(const GridFT &other)
Assignment operator.
casacore::Float padding_p
Padding in FFT.
String: the storage and methods of handling collections of characters.
casacore::Int priorCacheSize
GridFT()
Constructor: cachesize is the size of the cache in words (e.g.
casacore::Bool isTiled
Is this tiled?
Abstract base class for Record classes.
void getWeightImage(casacore::ImageInterface< casacore::Float > &, casacore::Matrix< casacore::Float > &)
Get the final weights image.
virtual 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::ImageInterface< casacore::Complex > * image
casacore::Double timemass_p
virtual void finalizeToSky()
Finalize transform to Sky plane: flushes the image cache and shows statistics if it is being used...
casacore::Bool usePut2_p
Check if using put that avoids non-necessary reads.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.