29 #ifndef SYNTHESIS_TRANSFORM2_VISIBILITYRESAMPLER_H
30 #define SYNTHESIS_TRANSFORM2_VISIBILITYRESAMPLER_H
virtual void GridToData(VBStore &vbs, const casacore::Array< casacore::Complex > &griddedData)
virtual void setCFMaps(const casacore::Vector< casacore::Int > &cfMap, const casacore::Vector< casacore::Int > &conjCFMap)
virtual void initializePutBuffers(const casacore::Array< casacore::Complex > &griddedData, const casacore::Matrix< casacore::Double > &sumwt)
casacore::Vector< casacore::Double > dphase_p
virtual void initializePutBuffers(const casacore::Array< casacore::DComplex > &griddedData, const casacore::Matrix< casacore::Double > &sumwt)
virtual void copy(const VisibilityResamplerBase &other)
virtual void setFreqMaps(const casacore::Matrix< casacore::Double > &spwChanFreqs, const casacore::Matrix< casacore::Double > &spwChanConjFreqs)
double paTolerance_p
VBRow2CFMapType vbRow2CFMap_p;.
virtual void GatherGrids(casacore::Array< casacore::Complex > &griddedData, casacore::Matrix< casacore::Double > &sumwt)
virtual void setParams(const casacore::Vector< casacore::Double > &uvwScale, const casacore::Vector< casacore::Double > &offset, const casacore::Vector< casacore::Double > &dphase)
void copy(const VisibilityResamplerBase &other)
VisibilityResampler& operator=(const VisibilityResampler& other);.
virtual void initializeDataBuffers(VBStore &vbs)
virtual void setMutex(async::Mutex *mu)
virtual ~VisibilityResampler()
{setConvFunc(cfs);};
virtual void init(const casacore::Bool &doublePrecision)
Genealogical baggage – required for the MultiThreadedVisibilityResampler – that everyone else has to ...
casacore::Matrix< casacore::Double > spwChanConjFreq_p
virtual void assign(const Array< T > &other)
Assign the other array (which must be dimension 2) to this matrix.
casacore::Vector< casacore::Int > chanMap_p
virtual void setConvFunc(const CFStore &cfs)
casacore::Vector< casacore::Double > uvwScale_p
-------------------------—Private parts----------------------------------—
virtual void GatherGrids(casacore::Array< casacore::DComplex > &griddedData, casacore::Matrix< casacore::Double > &sumwt)
virtual void assign(const Array< T > &other)
Assign the other array (which must be of dimension one) to this vector.
virtual void DataToGrid(casacore::Array< casacore::DComplex > &griddedData, VBStore &vbs, casacore::Matrix< casacore::Double > &sumwt, const casacore::Bool &dopsf, casacore::Bool=false)
virtual void ComputeResiduals(VBStore &vbs)
virtual void GridToData(VBStore& vbs, casacore::Array<casacore::Complex>& griddedData); ...
bool Bool
Define the standard types used by Casacore.
virtual void setMaps(const casacore::Vector< casacore::Int > &chanMap, const casacore::Vector< casacore::Int > &polMap)
async::Mutex * myMutex_p
-------------------------—Private parts----------------------------------—
virtual void DataToGrid(casacore::Array< casacore::Complex > &griddedData, VBStore &vbs, casacore::Matrix< casacore::Double > &sumwt, const casacore::Bool &dopsf, casacore::Bool=false)
casacore::Vector< casacore::Int > polMap_p
VisibilityResampler(const VisibilityResampler &other)
VisibilityResampler(const CFStore& cfs): VisibilityResamplerBase(cfs) {};.
void DataToGridImpl_p(casacore::Array< T > &griddedData, VBStore &vb, const casacore::Bool &dopsf, casacore::Matrix< casacore::Double > &sumwt, casacore::Bool useConjFreqCF=false)
casacore::Vector<casacore::Double> uvwScale_p, offset_p, dphase_p; casacore::Vector<casacore::Int> ch...
casacore::Vector< casacore::Double > offset_p
virtual VisibilityResamplerBase * clone()
virtual void setPATolerance(const double &dPA)
virtual void getParams(casacore::Vector< casacore::Double > &uvwScale, casacore::Vector< casacore::Double > &offset, casacore::Vector< casacore::Double > &dphase)
virtual void reference(const Array< T > &other)
Create a reference to "other", which must be of dimension one.
casacore::Matrix< casacore::Double > spwChanFreq_p
virtual void releaseBuffers()