29 #ifndef SYNTHESIS_MULTITERMAWPROJECTWBFT_H
30 #define SYNTHESIS_MULTITERMAWPROJECTWBFT_H
32 #define MAGICPAVALUE -999.0
34 #include <synthesis/MeasurementComponents/AWProjectWBFT.h>
void normalizeAvgPB(casacore::ImageInterface< casacore::Complex > &inImage, casacore::ImageInterface< casacore::Float > &outImage)
virtual casacore::Bool computeAvgPB(const casacore::Double &actualPA, const casacore::Double &lastPAUsedForWtImg)
Returns true if accumulation during gridding to compute the average PB must be done.
casacore::Float lastPAUsedForWtImg
~MultiTermAWProjectWBFT()
Referenced counted pointer for constant data.
MultiTermAWProjectWBFT(const casacore::RecordInterface &stateRec)
Construct from a casacore::Record containing the AWProjectWBFT state.
virtual casacore::String name() const
Return the name of the machine.
virtual void normalizeImage(casacore::Lattice< casacore::Complex > &skyImage, const casacore::Matrix< casacore::Double > &sumOfWts, casacore::Lattice< casacore::Float > &sensitivityImage, casacore::Bool fftNorm=true)
Given the sky image (Fourier transform of the visibilities), sum of weights and the sensitivity image...
MultiTermAWProjectWBFT & operator=(const MultiTermAWProjectWBFT &other)
Assignment operator.
bool Bool
Define the standard types used by Casacore.
virtual void makeSensitivityImage(casacore::Lattice< casacore::Complex > &wtImage, casacore::ImageInterface< casacore::Float > &sensitivityImage, const casacore::Matrix< casacore::Float > &sumWt=casacore::Matrix< casacore::Float >(), const casacore::Bool &doFFTNorm=true)
In AWProjectWBFT and its derivatives, sensitivity image is computed by accumulating weight functions ...
Base class for all Casacore library errors.
const Double e
e and functions thereof:
MultiTermAWProjectWBFT(casacore::Int nFacets, casacore::Long cachesize, casacore::CountedPtr< CFCache > &cfcache, casacore::CountedPtr< ConvolutionFunction > &cf, casacore::Bool applyPointingOffset=true, casacore::Bool doPBCorr=true, casacore::Int tilesize=16, casacore::Float paSteps=5.0, casacore::Float pbLimit=5e-2, casacore::Bool usezero=false)
Constructor: cachesize is the size of the cache in words (e.g.
String: the storage and methods of handling collections of characters.
virtual casacore::ImageInterface< casacore::Complex > & getImage(casacore::Matrix< casacore::Float > &, casacore::Bool normalize=true)
Method used to make normalized image from gridded visibilites.
Abstract base class for Record classes.
casacore::Bool avgPBReady_p
casacore::Long cachesize
Sizes.