casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
casa::SimplePBConvFunc Class Reference

#include <SimplePBConvFunc.h>

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

List of all members.

Public Member Functions

 SimplePBConvFunc ()
 SimplePBConvFunc (const PBMathInterface::PBClass typeToUse)
 SimplePBConvFunc (const RecordInterface &rec, Bool calcFlux_needed)
virtual ~SimplePBConvFunc ()
virtual void findConvFunction (const ImageInterface< Complex > &, const VisBuffer &, const Int &, SkyJones &, Matrix< Complex > &, Matrix< Complex > &, Int &, 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.
Returns the convfunctions in
the Cubes the Matrix
rowChanMap maps the vb row and
channel to the plane of the
convfunc appropriate *virtual
void 
findConvFunction (const ImageInterface< Complex > &iimage, const VisBuffer &vb, const Int &convSampling, Cube< Complex > &convFunc, Cube< Complex > &weightConvFunc, Vector< Int > &convsize, Vector< Int > &convSupport, Vector< Int > &rowChanMap)
virtual ImageInterface< Float > & getFluxScaleImage ()
virtual void sliceFluxScale (Int npol)
 slice fluxscale image by npol
virtual void setWeightImage (CountedPtr< TempImage< 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.
virtual void setSkyJones (SkyJones *sj)
Bool findSupport (Array< Complex > &, Float &, Int &, Int &)
virtual Bool makeAverageResponse (const VisBuffer &, const ImageInterface< Complex > &, ImageInterface< Float > &, Bool)
virtual Bool toRecord (RecordInterface &outRec)
 Serialization.
virtual Bool fromRecord (String &err, const RecordInterface &rec, Bool calcFluxneeded=False)
 From record set calcfluxneeded to True if flux scale need to be computed.
virtual void reset ()
 give possibility to erase history

Protected Member Functions

virtual void storeImageParams (const ImageInterface< Complex > &iimage, const VisBuffer &vb)
virtual void toPix (const VisBuffer &vb)
 return the direction pixel corresponding to a direction

Protected Attributes

SkyJonessj_p
TempImage< FloatfluxScale_p
Int nx_p
Int ny_p
Int nchan_p
Int npol_p
CoordinateSystem csys_p
DirectionCoordinate dc_p
MDirection::Convert pointToPix_p
MeasFrame pointFrame_p
MEpoch::Types timeMType_p
Unit timeUnit_p
Int directionIndex_p
MDirection direction1_p
MDirection direction2_p
Vector< DoublethePix_p
Bool filledFluxScale_p
Bool doneMainConv_p
Bool calcFluxScale_p
CountedPtr< TempImage< Float > > convWeightImage_p

Private Member Functions

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

Private Attributes

SimpleOrderedMap< String, IntconvFunctionMap_p
Int actualConvIndex_p
PBMathInterface::PBClass pbClass_p
Matrix< Complex > convFunc_p
Matrix< Complex > weightConvFunc_p
Matrix< Complex > convSave_p
Matrix< Complex > weightSave_p
Int convSize_p
Int convSupport_p
Block< CountedPtr< Cube
< Complex > > > 
convFunctions_p
 These are cubes for multiple PA May need a per antenna one if each antenna has its own.
Block< CountedPtr< Cube
< Complex > > > 
convWeights_p
Block< CountedPtr< Vector< Int > > > convSizes_p
Block< CountedPtr< Vector< Int > > > convSupportBlock_p
Matrix< BoolpointingPix_p

Detailed Description

Definition at line 63 of file SimplePBConvFunc.h.


Constructor & Destructor Documentation

casa::SimplePBConvFunc::SimplePBConvFunc ( const RecordInterface rec,
Bool  calcFlux_needed 
)

Member Function Documentation

void casa::SimplePBConvFunc::addPBToFlux ( const VisBuffer vb) [private]
virtual void casa::SimplePBConvFunc::findConvFunction ( const ImageInterface< Complex > &  ,
const VisBuffer ,
const Int ,
SkyJones ,
Matrix< Complex > &  ,
Matrix< Complex > &  ,
Int ,
Int  
) [inline, virtual]

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 74 of file SimplePBConvFunc.h.

Returns the convfunctions in the Cubes the Matrix rowChanMap maps the vb row and channel to the plane of the convfunc appropriate* virtual void casa::SimplePBConvFunc::findConvFunction ( const ImageInterface< Complex > &  iimage,
const VisBuffer vb,
const Int convSampling,
Cube< Complex > &  convFunc,
Cube< Complex > &  weightConvFunc,
Vector< Int > &  convsize,
Vector< Int > &  convSupport,
Vector< Int > &  rowChanMap 
) [virtual]

Reimplemented in casa::HetArrayConvFunc.

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

Definition at line 101 of file SimplePBConvFunc.h.

virtual Bool casa::SimplePBConvFunc::fromRecord ( String err,
const RecordInterface rec,
Bool  calcFluxneeded = False 
) [virtual]

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

Reimplemented in casa::HetArrayConvFunc.

Reimplemented in casa::HetArrayConvFunc.

virtual Bool casa::SimplePBConvFunc::makeAverageResponse ( const VisBuffer ,
const ImageInterface< Complex > &  ,
ImageInterface< Float > &  ,
Bool   
) [inline, virtual]

Definition at line 103 of file SimplePBConvFunc.h.

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 ( CountedPtr< TempImage< 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 ( Int  npol) [virtual]

slice fluxscale image by npol

Reimplemented in casa::HetArrayConvFunc.

virtual void casa::SimplePBConvFunc::storeImageParams ( const ImageInterface< Complex > &  iimage,
const VisBuffer vb 
) [protected, virtual]
virtual void casa::SimplePBConvFunc::toPix ( const VisBuffer vb) [protected, virtual]

return the direction pixel corresponding to a direction

virtual Bool casa::SimplePBConvFunc::toRecord ( RecordInterface outRec) [virtual]

Serialization.

Reimplemented in casa::HetArrayConvFunc.


Member Data Documentation

Reimplemented in casa::HetArrayConvFunc.

Definition at line 144 of file SimplePBConvFunc.h.

Definition at line 135 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 147 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 143 of file SimplePBConvFunc.h.

These are cubes for multiple PA May need a per antenna one if each antenna has its own.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 155 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 149 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 151 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 157 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 152 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 158 of file SimplePBConvFunc.h.

Definition at line 139 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 156 of file SimplePBConvFunc.h.

Definition at line 123 of file SimplePBConvFunc.h.

Definition at line 124 of file SimplePBConvFunc.h.

Definition at line 130 of file SimplePBConvFunc.h.

Definition at line 131 of file SimplePBConvFunc.h.

Definition at line 129 of file SimplePBConvFunc.h.

Definition at line 134 of file SimplePBConvFunc.h.

Definition at line 133 of file SimplePBConvFunc.h.

Definition at line 118 of file SimplePBConvFunc.h.

Definition at line 121 of file SimplePBConvFunc.h.

Definition at line 122 of file SimplePBConvFunc.h.

Definition at line 119 of file SimplePBConvFunc.h.

Definition at line 120 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 145 of file SimplePBConvFunc.h.

Definition at line 126 of file SimplePBConvFunc.h.

Definition at line 159 of file SimplePBConvFunc.h.

Definition at line 125 of file SimplePBConvFunc.h.

Definition at line 117 of file SimplePBConvFunc.h.

Definition at line 132 of file SimplePBConvFunc.h.

Definition at line 127 of file SimplePBConvFunc.h.

Definition at line 128 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 148 of file SimplePBConvFunc.h.

Reimplemented in casa::HetArrayConvFunc.

Definition at line 150 of file SimplePBConvFunc.h.


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