29 #ifndef SYNTHESIS_PBMOSAICFT_H
30 #define SYNTHESIS_PBMOSAICFT_H
A Vector of integers, for indexing into Array<T> objects.
void setObservatoryLocation(const casacore::MPosition &mLocation)
A Measure: position on Earth.
virtual void runFortranGetGrad(casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Double > &dphase, casacore::Cube< casacore::Complex > &visdata, casacore::IPosition &s, casacore::Cube< casacore::Complex > &gradVisAzData, casacore::Cube< casacore::Complex > &gradVisElData, casacore::Int &Conj, casacore::Cube< casacore::Int > &flags, casacore::Vector< casacore::Int > &rowFlags, casacore::Int &rownr, casacore::Vector< casacore::Double > &actualOffset, casacore::Array< casacore::Complex > *dataPtr, casacore::Int &aNx, casacore::Int &aNy, casacore::Int &npol, casacore::Int &nchan, VisBuffer &vb, casacore::Int &Nant_p, casacore::Int &scanNo, casacore::Double &sigma, casacore::Array< casacore::Float > &l_off, casacore::Array< casacore::Float > &m_off, casacore::Double area, casacore::Int &doGrad, casacore::Int paIndex)
virtual void runFortranPut(casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Double > &dphase, const casacore::Complex &visdata_p, casacore::IPosition &s, casacore::Int &Conj, casacore::Cube< casacore::Int > &flags, casacore::Vector< casacore::Int > &rowFlags, const casacore::Matrix< casacore::Float > &weight, casacore::Int &rownr, casacore::Vector< casacore::Double > &actualOffset, casacore::Array< casacore::Complex > &dataPtr, casacore::Int &aNx, casacore::Int &aNy, casacore::Int &npol, casacore::Int &nchan, const VisBuffer &vb, casacore::Int &Nant_p, casacore::Int &scanNo, casacore::Double &sigma, casacore::Array< casacore::Float > &raoffsets, casacore::Array< casacore::Float > &decoffsets, casacore::Matrix< casacore::Double > &sumWeight, casacore::Double &area, casacore::Int &doGrad, casacore::Int &doPSF, casacore::Int paIndex)
std::complex< Float > Complex
virtual 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...
void normalizePB(casacore::ImageInterface< casacore::Float > &pb, const casacore::Float &nSamp=1)
virtual void initializeToSky(casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight, const VisBuffer &vb)
Initialize transform to Sky plane: initializes the image.
virtual void finalizeToSky()
Finalize transform to Sky plane: flushes the image cache and shows statistics if it is being used...
casacore::ImageInterface< casacore::Complex > * image
casacore::Vector< casacore::Int > fieldIds_p
virtual void runFortranGet(casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Double > &dphase, casacore::Cube< casacore::Complex > &visdata, casacore::IPosition &s, casacore::Int &Conj, casacore::Cube< casacore::Int > &flags, casacore::Vector< casacore::Int > &rowFlags, casacore::Int &rownr, casacore::Vector< casacore::Double > &actualOffset, casacore::Array< casacore::Complex > *dataPtr, casacore::Int &aNx, casacore::Int &aNy, casacore::Int &npol, casacore::Int &nchan, VisBuffer &vb, casacore::Int &Nant_p, casacore::Int &scanNo, casacore::Double &sigma, casacore::Array< casacore::Float > &raoffsets, casacore::Array< casacore::Float > &decoffsets, casacore::Double area, casacore::Int &doGrad, casacore::Int paIndex)
casacore::Float pbNorm;
casacore::Long cachesize
Sizes.
casacore::TempImage< casacore::Complex > griddedWeights
casacore::Bool makeAveragePB0(const VisBuffer &vb, const casacore::ImageInterface< casacore::Complex > &image, casacore::Int &polInUse, casacore::TempImage< casacore::Float > &avgPB)
casacore::Complex nApertures
virtual casacore::String name()
void normalizeAvgPB()
VLACalcIlluminationConvFunc vlaPB;.
bool Bool
Define the standard types used by Casacore.
Functor to apply complex function conj.
casacore::Matrix< casacore::Double > sumWeight
Sum of weights per polarization and per chan.
A Table intended to hold astronomical data (a set of Measurements).
casacore::Int polInUse
No.
const Double e
e and functions thereof:
String: the storage and methods of handling collections of characters.
casacore::TempImage< casacore::Float > avgPB
VPSkyJones *vpSJ;.
PBMosaicFT(casacore::MeasurementSet &ms, casacore::Int nFacets, casacore::Long cachesize, casacore::String &cfCacheDirName, 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.
VisBuffers encapsulate one chunk of visibility data for processing.
Abstract base class for Record classes.
PBMosaicFT & operator=(const PBMosaicFT &othher)
Copy constructor PBMosaicFT(const PBMosaicFT &other);.
casacore::Int findPointingOffsets(const VisBuffer &vb, casacore::Array< casacore::Float > &l_off, casacore::Array< casacore::Float > &m_off, casacore::Bool Evaluate)
casacore::MPosition mLocation_p
Default Position used for phase rotations.
virtual casacore::Bool verifyShapes(casacore::IPosition, casacore::IPosition)
virtual casacore::Float pbFunc(casacore::Float &a)