29 #ifndef SYNTHESIS_GRIDBOTH_H
30 #define SYNTHESIS_GRIDBOTH_H
A Measure: astronomical direction.
void initializeToVis(casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb)
Initialize transform to Visibility plane using the image as a template.
A Measure: position on Earth.
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...
Temporary astronomical images.
void getWeightImage(casacore::ImageInterface< casacore::Float > &, casacore::Matrix< casacore::Float > &)
Get the final weights image.
void finalizeToVis()
Finalize transform to Visibility plane: flushes the image cache and shows statistics if it is being u...
void initializeToSky(casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight, const VisBuffer &vb)
Initialize transform to Sky plane: initializes the image.
virtual Type type()
Return the type enum.
casacore::ImageInterface< casacore::Complex > * image
casacore::TempImage< casacore::Complex > * synImage_p
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...
Type
Types of known Images that may be made using the makeImage method.
bool Bool
Define the standard types used by Casacore.
GridBoth(SkyJones &sj, casacore::Long cachesize, casacore::Int tilesize, casacore::String sdConvType="BOX", casacore::String synConvType="SF", casacore::Float padding=1.0, casacore::Float sdScale=1.0, casacore::Float sdWeight=1.0)
Constructor: cachesize is the size of the cache in words (e.g.
GridBoth & operator=(const GridBoth &other)
Assignment operator.
casacore::Float sdWeight_p
An FTMachine for Gridding Single Dish data.
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.
FTMachine * lastMachine_p
virtual casacore::Bool fromRecord(casacore::String &error, const casacore::RecordInterface &inRec)
Sky Jones: Model sky-plane instrumental effects for the SkyEquation.
Base class for all Casacore library errors.
casacore::Float sdScale_p
virtual void ComputeResiduals(VisBuffer &, casacore::Bool)
Make the VB and VBStore interefaces for the interim re-factoring work.
virtual void normalizeImage(casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Double > &, casacore::Lattice< casacore::Float > &, casacore::Bool)
casacore::TempImage< casacore::Complex > * sdImage_p
Images for Synthesis and SD.
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
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...
Abstract base class for Record classes.
virtual casacore::Bool changed(const VisBuffer &vb)
Has this operator changed since the last application?
virtual casacore::String name() const
Return the name of the machine.
defines interface for the Fourier Transform Machine
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.