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