29 #ifndef SYNTHESIS_SDGRID_H
30 #define SYNTHESIS_SDGRID_H
casacore::MDirection worldPosMeas
A Vector of integers, for indexing into Array<T> objects.
A Measure: astronomical direction.
casacore::Bool useImagingWeight_p
virtual casacore::Bool useWeightImage()
SDGrind needs to fill weightimage.
A Measure: position on Earth.
virtual casacore::String name() const
Return the name of the machine.
casacore::Array< casacore::Complex > gmin_
casacore::ImageInterface< casacore::Complex > & getImage(casacore::Matrix< casacore::Float > &, casacore::Bool normalize=true)
Get the final image: optionally normalize by the summed weights.
casacore::String convType
defines interface for the Fourier Transform Machine
casacore::Int userSetSupport_p
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
casacore::Vector< casacore::Double > xyPosMovingOrig_p
Original xypos of moving source.
casacore::LatticeCache< casacore::Complex > * imageCache
Image cache.
casacore::Int convSupport
casacore::MDirection interpolateDirectionMeas(const casacore::ROMSPointingColumns &mspc, const casacore::Double &time, const casacore::Int &index, const casacore::Int &index1, const casacore::Int &index2)
virtual Type type()
Return the type enum.
virtual void ComputeResiduals(vi::VisBuffer2 &, casacore::Bool)
Make the VB and VBStore interefaces for the interim re-factoring work.
SDPosInterpolator * interpolator
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::DirectionCoordinate directionCoord
casacore::Lattice< casacore::Float > * wLattice
casacore::Bool getXYPos(const vi::VisBuffer2 &vb, casacore::Int row)
casacore::Array< casacore::Float > wGriddedData
casacore::Array for non-tiled gridding
casacore::Lattice< casacore::Float > * wArrayLattice
casacore::Array< casacore::Complex > gmax_
casacore::Bool clipminmax_
for minmax clipping
casacore::Float truncate_p
casacore::Vector< casacore::Int > lastIndexPerAnt_p
SDGrid & operator=(const SDGrid &other)
Assignment operator.
casacore::ImageInterface< casacore::Float > * wImage
Storage for weights.
void finalizeToSky()
Finalize transform to Sky plane: flushes the image cache and shows statistics if it is being used...
virtual void normalizeImage(casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Double > &, casacore::Lattice< casacore::Float > &, casacore::Bool)
casacore::Cube< casacore::Int > flags
casacore::Array< casacore::Float > wmax_
casacore::Vector< casacore::Float > convFunc
casacore::Int lastIndex_p
casacore::Array< casacore::Int > npoints_
casacore::Int convSampling
A class to provide easy read-only access to MSPointing columns.
Interconvert pixel positions and directions (e.g. RA/DEC).
casacore::Bool isSplineInterpolationReady
casacore::IPosition centerLoc
Useful IPositions.
casacore::MDirection directionMeas(const casacore::ROMSPointingColumns &mspc, const casacore::Int &index)
get the casacore::MDirection from a chosen column of pointing table
casacore::Array< casacore::Float > wmin_
casacore::Array< casacore::Float > * getWDataPointer(const casacore::IPosition &, casacore::Bool)
Type
Types of known Images that may be made using the makeImage method.
casacore::Int cachesize
Sizes.
bool Bool
Define the standard types used by Casacore.
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::LatticeCache< casacore::Float > * wImageCache
SDGrid(SkyJones &sj, casacore::Int cachesize, casacore::Int tilesize, casacore::String convType="BOX", casacore::Int userSupport=-1, casacore::Bool useImagingWeight=false)
Constructor: cachesize is the size of the cache in words (e.g.
casacore::MDirection::Convert * pointingToImage
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...
An FTMachine for Gridding Single Dish data.
Sky Jones: Model sky-plane instrumental effects for the SkyEquation.
casacore::Lattice< casacore::Complex > * arrayLattice
casacore::Array lattice
void pickWeights(const vi::VisBuffer2 &vb, casacore::Matrix< casacore::Float > &weight)
void findPBAsConvFunction(const casacore::ImageInterface< casacore::Complex > &image, const vi::VisBuffer2 &vb)
Find the Primary beam and convert it into a convolution buffer.
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::Float minWeight_p
VisBuffer2s encapsulate one chunk of visibility data for processing.
Base class for all Casacore library errors.
void initializeToVis(casacore::ImageInterface< casacore::Complex > &image, const vi::VisBuffer2 &vb)
Initialize transform to Visibility plane using the image as a template.
casacore::IPosition offsetLoc
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...
casacore::Int lastAntID_p
String: the storage and methods of handling collections of characters.
casacore::Int getIndex(const casacore::ROMSPointingColumns &mspc, const casacore::Double &time, const casacore::Double &interval=-1.0, const casacore::Int &antid=-1)
casacore::Array< casacore::Complex > * getDataPointer(const casacore::IPosition &, casacore::Bool)
Get the appropriate data pointer.
casacore::Vector< casacore::Double > xyPos
casacore::ImageInterface< casacore::Complex > * image
virtual void makeImage(FTMachine::Type type, vi::VisibilityIterator2 &vi, casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight)
Make the entire image using a ROVisIter...
virtual casacore::Bool changed(const vi::VisBuffer2 &vb)
Has this operator changed since the last application?
casacore::Lattice< casacore::Complex > * lattice
Lattice.
casacore::Bool isTiled
Is this tiled?