29 #ifndef SYNTHESIS_TRANSFORM2_AWPROJECTWBFT_H
30 #define SYNTHESIS_TRANSFORM2_AWPROJECTWBFT_H
32 #define MAGICPAVALUE -999.0
158 {(void)shape0; (void)shape1;
return false;};
A Vector of integers, for indexing into Array<T> objects.
casacore::TempImage< casacore::DComplex > griddedWeights_D
virtual casacore::Float pbFunc(const casacore::Float &, const casacore::Float &)
Method used to convert the pixel value of the PB image, passed as pbPixValue, to a value used for PB-...
casacore::Long cachesize
Sizes.
A Measure: position on Earth.
virtual casacore::ImageInterface< casacore::Complex > & getImage(casacore::Matrix< casacore::Float > &, casacore::Bool normalize=true)
Method used to make normalized image from gridded visibilites.
void ftWeightImage(casacore::Lattice< T > &wtImage, const casacore::Matrix< casacore::Float > &sumWt, const casacore::Bool &doFFTNorm)
casacore::Bool conjBeams_p
virtual casacore::String name() const
Return the name of the machine.
casacore::Bool wtImageFTDone_p
casacore::Bool avgPBReady_p
casacore::TempImage< casacore::Complex > griddedWeights
casacore::Vector< casacore::Int > fieldIds_p
AWProjectWBFT & operator=(const AWProjectWBFT &other)
Assignment operator.
AWProjectWBFT(casacore::Int nFacets, casacore::Long cachesize, casacore::CountedPtr< CFCache > &cfcache, casacore::CountedPtr< ConvolutionFunction > &cf, casacore::CountedPtr< VisibilityResamplerBase > &visResampler, casacore::Bool applyPointingOffset=true, casacore::Bool doPBCorr=true, casacore::Int tilesize=16, casacore::Float paSteps=5.0, casacore::Float pbLimit=5e-4, casacore::Bool usezero=false, casacore::Bool conjBeams_p=true, casacore::Bool doublePrecGrid=false)
Constructor: cachesize is the size of the cache in words (e.g.
virtual casacore::Bool doublePrecGrid()
return whether the ftmachine is using a double precision grid
virtual casacore::Bool computeAvgPB(const casacore::Double &, const casacore::Double &)
Returns true if accumulation during gridding to compute the average PB must be done.
casacore::Bool resetPBs_p
virtual void setCFCache(casacore::CountedPtr< CFCache > &cfc, const casacore::Bool resetCFC=true)
virtual void setMiscInfo(const casacore::Int qualifier) {sensitivityPatternQualifier_p=qualifier;} {q...
casacore::Int findPointingOffsets(const VisBuffer2 &vb, casacore::Array< casacore::Float > &l_off, casacore::Array< casacore::Float > &m_off, casacore::Bool Evaluate)
casacore::Bool changed(const VisBuffer& vb) {return vpSJ->changed(vb,1);}; casacore::Bool changed(con...
casacore::CountedPtr< VisibilityResamplerBase > visResamplerWt_p
AWProjectWBFT(const AWProjectWBFT &other)
Copy constructor.
void setObservatoryLocation(const casacore::MPosition &mLocation)
A templated, abstract base class for array-like objects.
Referenced counted pointer for constant data.
void normalizeAvgPB(casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &)
void makeSensitivitySqImage(casacore::Lattice< casacore::Complex > &wtImage, casacore::ImageInterface< casacore::Complex > &sensitivitySqImage, const casacore::Matrix< casacore::Float > &sumWt=casacore::Matrix< casacore::Float >(), const casacore::Bool &doFFTNorm=true)
casacore::Array< casacore::Complex > griddedData
casacore::Array for non-tiled gridding These are common to most FTmachines
virtual void initializeToSky(casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight, const VisBuffer2 &vb)
Initialize transform to Sky plane: initializes the image.
bool Bool
Define the standard types used by Casacore.
VisBuffer2s encapsulate one chunk of visibility data for processing.
virtual void resampleDataToGrid(casacore::Array< casacore::Complex > &griddedData, VBStore &vbs, const VisBuffer2 &vb, casacore::Bool &dopsf)
Base class for all Casacore library errors.
const Double e
e and functions thereof:
casacore::Bool oneTimeMessage_p
// These ugly methods (ugly due to their flirtation with FORTRAN) should go!
virtual casacore::Bool verifyShapes(casacore::IPosition shape0, casacore::IPosition shape1)
String: the storage and methods of handling collections of characters.
casacore::MPosition mLocation_p
Default Position used for phase rotations.
Abstract base class for Record classes.
void resampleCFToGrid(casacore::Array< T > &wtsGrid, VBStore &vbs, const VisBuffer2 &vb)
virtual void resampleGridToData(VBStore& vbs, const VisBuffer2& vb);
casacore::ImageInterface< casacore::Complex > * image
virtual void makeSensitivityImage(const VisBuffer2 &vb, const casacore::ImageInterface< casacore::Complex > &imageTemplate, casacore::ImageInterface< casacore::Float > &sensitivityImage)
This method is called from AWProjectFT to compute the sensitivity image by accumulating in the image ...
virtual void finalizeToSky()
{casacore::Float tt=(pbPixValue);return (abs(tt) >= pbLimit)?tt:1.0;};