casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
casa::SimplePBConvFunc Class Reference

#include <SimplePBConvFunc.h>

Inheritance diagram for casa::SimplePBConvFunc:
casa::HetArrayConvFunc

Public Member Functions

 SimplePBConvFunc ()
 
 SimplePBConvFunc (const PBMathInterface::PBClass typeToUse)
 
 SimplePBConvFunc (const casacore::RecordInterface &rec, casacore::Bool calcFlux_needed)
 
virtual ~SimplePBConvFunc ()
 
virtual void findConvFunction (const casacore::ImageInterface< casacore::Complex > &, const VisBuffer &, const casacore::Int &, SkyJones &, casacore::Matrix< casacore::Complex > &, casacore::Matrix< casacore::Complex > &, casacore::Int &, casacore::Int &)
 Inputs are the image, visbuffer, convSampling and skyjones findconv return a cached convvolution function appropriate for this visbuffer and skyjones...this one should be superseded by the one below and call setSkyJones when necessary. More...
 
virtual
casacore::ImageInterface
< casacore::Float > & 
getFluxScaleImage ()
 
virtual void sliceFluxScale (casacore::Int npol)
 slice fluxscale image by npol More...
 
virtual void setWeightImage (casacore::CountedPtr< casacore::TempImage< casacore::Float > > &wgtimage)
 This is a function to just store the final weight image as FT machines will share this object...they can get share this too. More...
 
virtual void setSkyJones (SkyJones *sj)
 
casacore::Bool findSupport (casacore::Array< casacore::Complex > &, casacore::Float &, casacore::Int &, casacore::Int &)
 
virtual casacore::Bool makeAverageResponse (const VisBuffer &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool)
 
virtual casacore::Bool toRecord (casacore::RecordInterface &outRec)
 Serialization. More...
 
virtual casacore::Bool fromRecord (casacore::String &err, const casacore::RecordInterface &rec, casacore::Bool calcFluxneeded=false)
 From record set calcfluxneeded to true if flux scale need to be computed. More...
 
virtual void reset ()
 give possibility to erase history More...
 
virtual casacore::String name ()
 

Public Attributes

Returns the convfunctions in
the Cubes the casacore::Matrix
rowChanMap maps the vb row and
channel to the plane of the
convfunc appropriate when 
conjugateFreqFuncs
 

Protected Member Functions

virtual casacore::Int convIndex (const VisBuffer &vb)
 
const casacore::MDirectionpointingDirAnt1 (const VisBuffer &vb)
 
virtual void storeImageParams (const casacore::ImageInterface< casacore::Complex > &iimage, const VisBuffer &vb)
 
virtual void findUsefulChannels (casacore::Vector< casacore::Int > &chanMap, casacore::Vector< casacore::Double > &chanFreqs, const VisBuffer &vb, const casacore::Vector< casacore::Double > &visFreq)
 
virtual void toPix (const VisBuffer &vb)
 return the direction pixel corresponding to a direction More...
 

Protected Attributes

SkyJonessj_p
 
casacore::TempImage
< casacore::Float
fluxScale_p
 
casacore::Int nx_p
 
casacore::Int ny_p
 
casacore::Int nchan_p
 
casacore::Int npol_p
 
casacore::CoordinateSystem csys_p
 
casacore::DirectionCoordinate dc_p
 
casacore::MDirection::Convert pointToPix_p
 
casacore::MeasFrame pointFrame_p
 
casacore::MEpoch::Types timeMType_p
 
casacore::Unit timeUnit_p
 
casacore::Int directionIndex_p
 
casacore::MDirection direction1_p
 
casacore::MDirection direction2_p
 
casacore::Vector
< casacore::Double
thePix_p
 
casacore::Bool filledFluxScale_p
 
casacore::Vector< casacore::BooldoneMainConv_p
 
casacore::Bool calcFluxScale_p
 
std::map< casacore::String,
casacore::Int
vbConvIndex_p
 
std::map< casacore::String,
casacore::Int
ant1PointVal_p
 
casacore::Vector
< casacore::MDirection
ant1PointingCache_p
 
FFT2D ft_p
 
casacore::CountedPtr
< casacore::TempImage
< casacore::Float > > 
convWeightImage_p
 

Private Member Functions

casacore::Bool checkPBOfField (const VisBuffer &vb)
 
void addPBToFlux (const VisBuffer &vb)
 

Private Attributes

std::map< casacore::String,
casacore::Int
convFunctionMap_p
 
casacore::Int actualConvIndex_p
 
PBMathInterface::PBClass pbClass_p
 
casacore::Matrix
< casacore::Complex > 
convFunc_p
 
casacore::Matrix
< casacore::Complex > 
weightConvFunc_p
 
casacore::Matrix
< casacore::Complex > 
convSave_p
 
casacore::Matrix
< casacore::Complex > 
weightSave_p
 
casacore::Int convSize_p
 
casacore::Int convSupport_p
 
casacore::Block
< casacore::CountedPtr
< casacore::Array
< casacore::Complex > > > 
convFunctions_p
 These are Arrays of 5 dimension (x, y, npol, nchan, nrow) Thus every baseline may have its own. More...
 
casacore::Block
< casacore::CountedPtr
< casacore::Array
< casacore::Complex > > > 
convWeights_p
 
casacore::Block
< casacore::CountedPtr
< casacore::Vector
< casacore::Int > > > 
convSizes_p
 
casacore::Block
< casacore::CountedPtr
< casacore::Vector
< casacore::Int > > > 
convSupportBlock_p
 
casacore::Matrix< casacore::BoolpointingPix_p
 
VisBufferUtil vbUtil_p
 

Detailed Description

Definition at line 79 of file SimplePBConvFunc.h.

Constructor & Destructor Documentation

casa::SimplePBConvFunc::SimplePBConvFunc ( )
casa::SimplePBConvFunc::SimplePBConvFunc ( const PBMathInterface::PBClass  typeToUse)
casa::SimplePBConvFunc::SimplePBConvFunc ( const casacore::RecordInterface rec,
casacore::Bool  calcFlux_needed 
)
virtual casa::SimplePBConvFunc::~SimplePBConvFunc ( )
virtual

Member Function Documentation

void casa::SimplePBConvFunc::addPBToFlux ( const VisBuffer vb)
private
casacore::Bool casa::SimplePBConvFunc::checkPBOfField ( const VisBuffer vb)
private
virtual casacore::Int casa::SimplePBConvFunc::convIndex ( const VisBuffer vb)
protectedvirtual
virtual void casa::SimplePBConvFunc::findConvFunction ( const casacore::ImageInterface< casacore::Complex > &  ,
const VisBuffer ,
const casacore::Int ,
SkyJones ,
casacore::Matrix< casacore::Complex > &  ,
casacore::Matrix< casacore::Complex > &  ,
casacore::Int ,
casacore::Int  
)
inlinevirtual

Inputs are the image, visbuffer, convSampling and skyjones findconv return a cached convvolution function appropriate for this visbuffer and skyjones...this one should be superseded by the one below and call setSkyJones when necessary.

Definition at line 90 of file SimplePBConvFunc.h.

casacore::Bool casa::SimplePBConvFunc::findSupport ( casacore::Array< casacore::Complex > &  ,
casacore::Float ,
casacore::Int ,
casacore::Int  
)
inline

Definition at line 120 of file SimplePBConvFunc.h.

virtual void casa::SimplePBConvFunc::findUsefulChannels ( casacore::Vector< casacore::Int > &  chanMap,
casacore::Vector< casacore::Double > &  chanFreqs,
const VisBuffer vb,
const casacore::Vector< casacore::Double > &  visFreq 
)
protectedvirtual
virtual casacore::Bool casa::SimplePBConvFunc::fromRecord ( casacore::String err,
const casacore::RecordInterface rec,
casacore::Bool  calcFluxneeded = false 
)
virtual

From record set calcfluxneeded to true if flux scale need to be computed.

Reimplemented in casa::HetArrayConvFunc.

virtual casacore::ImageInterface<casacore::Float>& casa::SimplePBConvFunc::getFluxScaleImage ( )
virtual

Reimplemented in casa::HetArrayConvFunc.

virtual casacore::Bool casa::SimplePBConvFunc::makeAverageResponse ( const VisBuffer ,
const casacore::ImageInterface< casacore::Complex > &  ,
casacore::ImageInterface< casacore::Float > &  ,
casacore::Bool   
)
inlinevirtual

Definition at line 122 of file SimplePBConvFunc.h.

virtual casacore::String casa::SimplePBConvFunc::name ( )
inlinevirtual

Reimplemented in casa::HetArrayConvFunc.

Definition at line 135 of file SimplePBConvFunc.h.

const casacore::MDirection& casa::SimplePBConvFunc::pointingDirAnt1 ( const VisBuffer vb)
protected
virtual void casa::SimplePBConvFunc::reset ( )
virtual

give possibility to erase history

Reimplemented in casa::HetArrayConvFunc.

virtual void casa::SimplePBConvFunc::setSkyJones ( SkyJones sj)
virtual
virtual void casa::SimplePBConvFunc::setWeightImage ( casacore::CountedPtr< casacore::TempImage< casacore::Float > > &  wgtimage)
virtual

This is a function to just store the final weight image as FT machines will share this object...they can get share this too.

virtual void casa::SimplePBConvFunc::sliceFluxScale ( casacore::Int  npol)
virtual

slice fluxscale image by npol

Reimplemented in casa::HetArrayConvFunc.

virtual void casa::SimplePBConvFunc::storeImageParams ( const casacore::ImageInterface< casacore::Complex > &  iimage,
const VisBuffer vb 
)
protectedvirtual
virtual void casa::SimplePBConvFunc::toPix ( const VisBuffer vb)
protectedvirtual

return the direction pixel corresponding to a direction

virtual casacore::Bool casa::SimplePBConvFunc::toRecord ( casacore::RecordInterface outRec)
virtual

Serialization.

Reimplemented in casa::HetArrayConvFunc.

Member Data Documentation

casacore::Int casa::SimplePBConvFunc::actualConvIndex_p
private

Definition at line 171 of file SimplePBConvFunc.h.

casacore::Vector<casacore::MDirection> casa::SimplePBConvFunc::ant1PointingCache_p
protected

Definition at line 159 of file SimplePBConvFunc.h.

std::map<casacore::String, casacore::Int> casa::SimplePBConvFunc::ant1PointVal_p
protected

Definition at line 158 of file SimplePBConvFunc.h.

casacore::Bool casa::SimplePBConvFunc::calcFluxScale_p
protected

Definition at line 155 of file SimplePBConvFunc.h.

Returns the convfunctions in the Cubes the casacore::Matrix rowChanMap maps the vb row and channel to the plane of the convfunc appropriate when casa::SimplePBConvFunc::conjugateFreqFuncs

Definition at line 100 of file SimplePBConvFunc.h.

casacore::Matrix<casacore::Complex> casa::SimplePBConvFunc::convFunc_p
private

Definition at line 174 of file SimplePBConvFunc.h.

std::map<casacore::String, casacore::Int> casa::SimplePBConvFunc::convFunctionMap_p
private

Definition at line 170 of file SimplePBConvFunc.h.

casacore::Block<casacore::CountedPtr<casacore::Array<casacore::Complex> > > casa::SimplePBConvFunc::convFunctions_p
private

These are Arrays of 5 dimension (x, y, npol, nchan, nrow) Thus every baseline may have its own.

Definition at line 182 of file SimplePBConvFunc.h.

casacore::Matrix<casacore::Complex> casa::SimplePBConvFunc::convSave_p
private

Definition at line 176 of file SimplePBConvFunc.h.

casacore::Int casa::SimplePBConvFunc::convSize_p
private

Definition at line 178 of file SimplePBConvFunc.h.

casacore::Block<casacore::CountedPtr<casacore::Vector<casacore::Int> > > casa::SimplePBConvFunc::convSizes_p
private

Definition at line 184 of file SimplePBConvFunc.h.

casacore::Int casa::SimplePBConvFunc::convSupport_p
private

Definition at line 179 of file SimplePBConvFunc.h.

casacore::Block<casacore::CountedPtr<casacore::Vector<casacore::Int> > > casa::SimplePBConvFunc::convSupportBlock_p
private

Definition at line 185 of file SimplePBConvFunc.h.

casacore::CountedPtr<casacore::TempImage<casacore::Float> > casa::SimplePBConvFunc::convWeightImage_p
protected

Definition at line 166 of file SimplePBConvFunc.h.

casacore::Block<casacore::CountedPtr<casacore::Array<casacore::Complex> > > casa::SimplePBConvFunc::convWeights_p
private

Definition at line 183 of file SimplePBConvFunc.h.

casacore::CoordinateSystem casa::SimplePBConvFunc::csys_p
protected

Definition at line 143 of file SimplePBConvFunc.h.

casacore::DirectionCoordinate casa::SimplePBConvFunc::dc_p
protected

Definition at line 144 of file SimplePBConvFunc.h.

casacore::MDirection casa::SimplePBConvFunc::direction1_p
protected

Definition at line 150 of file SimplePBConvFunc.h.

casacore::MDirection casa::SimplePBConvFunc::direction2_p
protected

Definition at line 151 of file SimplePBConvFunc.h.

casacore::Int casa::SimplePBConvFunc::directionIndex_p
protected

Definition at line 149 of file SimplePBConvFunc.h.

casacore::Vector<casacore::Bool> casa::SimplePBConvFunc::doneMainConv_p
protected

Definition at line 154 of file SimplePBConvFunc.h.

casacore::Bool casa::SimplePBConvFunc::filledFluxScale_p
protected

Definition at line 153 of file SimplePBConvFunc.h.

casacore::TempImage<casacore::Float> casa::SimplePBConvFunc::fluxScale_p
protected

Definition at line 138 of file SimplePBConvFunc.h.

FFT2D casa::SimplePBConvFunc::ft_p
protected

Definition at line 165 of file SimplePBConvFunc.h.

casacore::Int casa::SimplePBConvFunc::nchan_p
protected

Definition at line 141 of file SimplePBConvFunc.h.

casacore::Int casa::SimplePBConvFunc::npol_p
protected

Definition at line 142 of file SimplePBConvFunc.h.

casacore::Int casa::SimplePBConvFunc::nx_p
protected

Definition at line 139 of file SimplePBConvFunc.h.

casacore::Int casa::SimplePBConvFunc::ny_p
protected

Definition at line 140 of file SimplePBConvFunc.h.

PBMathInterface::PBClass casa::SimplePBConvFunc::pbClass_p
private

Definition at line 172 of file SimplePBConvFunc.h.

casacore::MeasFrame casa::SimplePBConvFunc::pointFrame_p
protected

Definition at line 146 of file SimplePBConvFunc.h.

casacore::Matrix<casacore::Bool> casa::SimplePBConvFunc::pointingPix_p
private

Definition at line 186 of file SimplePBConvFunc.h.

casacore::MDirection::Convert casa::SimplePBConvFunc::pointToPix_p
protected

Definition at line 145 of file SimplePBConvFunc.h.

SkyJones* casa::SimplePBConvFunc::sj_p
protected

Definition at line 137 of file SimplePBConvFunc.h.

casacore::Vector<casacore::Double> casa::SimplePBConvFunc::thePix_p
protected

Definition at line 152 of file SimplePBConvFunc.h.

casacore::MEpoch::Types casa::SimplePBConvFunc::timeMType_p
protected

Definition at line 147 of file SimplePBConvFunc.h.

casacore::Unit casa::SimplePBConvFunc::timeUnit_p
protected

Definition at line 148 of file SimplePBConvFunc.h.

std::map<casacore::String, casacore::Int> casa::SimplePBConvFunc::vbConvIndex_p
protected

Definition at line 156 of file SimplePBConvFunc.h.

VisBufferUtil casa::SimplePBConvFunc::vbUtil_p
private

Definition at line 187 of file SimplePBConvFunc.h.

casacore::Matrix<casacore::Complex> casa::SimplePBConvFunc::weightConvFunc_p
private

Definition at line 175 of file SimplePBConvFunc.h.

casacore::Matrix<casacore::Complex> casa::SimplePBConvFunc::weightSave_p
private

Definition at line 177 of file SimplePBConvFunc.h.


The documentation for this class was generated from the following file: