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