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

#include <HetArrayConvFunc.h>

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

List of all members.

Public Member Functions

 HetArrayConvFunc ()
 HetArrayConvFunc (const PBMathInterface::PBClass typeToUse)
 HetArrayConvFunc (const RecordInterface &rec, Bool calcFluxscale)
 Constructor from record if for prediction only no need to recover fluxscale.
virtual ~HetArrayConvFunc ()
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 > &rowMap)
 Returns the convfunctions in the Cubes...the rowMap maps the vb.row to the plane of the convfunc appropriate.
virtual ImageInterface< Float > & getFluxScaleImage ()
virtual void sliceFluxScale (const Int npol)
 slice flux scale images
virtual Bool toRecord (RecordInterface &rec)
 Serialization.
virtual Bool fromRecord (String &err, const RecordInterface &rec, Bool calcFluxscale=False)
 From record set calcfluxneeded to True if flux scale need to be computed.
virtual void reset ()
 give possibility to erase history

Private Member Functions

Int factorial (Int n)
 

Int checkPBOfField (const VisBuffer &vb, Vector< Int > &rowMap)
 the return value are -1 or False for not in cache yet but pointing direction seems to be inside image 1 if value is cached 2 pointing is off image ...thus valid but not useful
void findAntennaSizes (const VisBuffer &vb)
void supportAndNormalize (Int plane, Int convSampling)
void init (const PBMathInterface::PBClass typeToUse)
void makerowmap (const VisBuffer &vb, Vector< Int > &rowMap)

Private Attributes

PBMathInterface::PBClass pbClass_p
Vector< Int64convFunctionMap_p
 SimpleOrderedMap <String, Int> convFunctionMap_p;.
Int64 nDefined_p
SimpleOrderedMap< Double, IntantDiam2IndexMap_p
Vector< IntantIndexToDiamIndex_p
Block< CountedPtr
< PBMathInterface > > 
antMath_p
Int msId_p
Int actualConvIndex_p
Cube< Complex > convFunc_p
Cube< Complex > weightConvFunc_p
Cube< Complex > convSave_p
Cube< Complex > weightSave_p
Int convSize_p
Vector< IntconvSupport_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

Detailed Description

Definition at line 57 of file HetArrayConvFunc.h.


Constructor & Destructor Documentation

casa::HetArrayConvFunc::HetArrayConvFunc ( const RecordInterface rec,
Bool  calcFluxscale 
)

Constructor from record if for prediction only no need to recover fluxscale.


Member Function Documentation

Int casa::HetArrayConvFunc::checkPBOfField ( const VisBuffer vb,
Vector< Int > &  rowMap 
) [private]

the return value are -1 or False for not in cache yet but pointing direction seems to be inside image 1 if value is cached 2 pointing is off image ...thus valid but not useful


void casa::HetArrayConvFunc::findAntennaSizes ( const VisBuffer vb) [private]
virtual void casa::HetArrayConvFunc::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 > &  rowMap 
) [virtual]

Returns the convfunctions in the Cubes...the rowMap maps the vb.row to the plane of the convfunc appropriate.

Reimplemented from casa::SimplePBConvFunc.

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

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

Reimplemented from casa::SimplePBConvFunc.

Reimplemented from casa::SimplePBConvFunc.

void casa::HetArrayConvFunc::init ( const PBMathInterface::PBClass  typeToUse) [private]
void casa::HetArrayConvFunc::makerowmap ( const VisBuffer vb,
Vector< Int > &  rowMap 
) [private]
virtual void casa::HetArrayConvFunc::reset ( ) [virtual]

give possibility to erase history

Reimplemented from casa::SimplePBConvFunc.

virtual void casa::HetArrayConvFunc::sliceFluxScale ( const Int  npol) [virtual]

slice flux scale images

Reimplemented from casa::SimplePBConvFunc.

void casa::HetArrayConvFunc::supportAndNormalize ( Int  plane,
Int  convSampling 
) [private]

Serialization.

Reimplemented from casa::SimplePBConvFunc.


Member Data Documentation

Reimplemented from casa::SimplePBConvFunc.

Definition at line 111 of file HetArrayConvFunc.h.

Definition at line 107 of file HetArrayConvFunc.h.

Definition at line 108 of file HetArrayConvFunc.h.

Definition at line 109 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 112 of file HetArrayConvFunc.h.

SimpleOrderedMap <String, Int> convFunctionMap_p;.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 105 of file HetArrayConvFunc.h.

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

Reimplemented from casa::SimplePBConvFunc.

Definition at line 118 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 114 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 116 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 120 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 117 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 121 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 119 of file HetArrayConvFunc.h.

Definition at line 110 of file HetArrayConvFunc.h.

Definition at line 106 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 103 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 113 of file HetArrayConvFunc.h.

Reimplemented from casa::SimplePBConvFunc.

Definition at line 115 of file HetArrayConvFunc.h.


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