casa
$Rev:20696$
|
#include <HetArrayConvFunc.h>
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< Int64 > | convFunctionMap_p |
SimpleOrderedMap <String, Int> convFunctionMap_p;. | |
Int64 | nDefined_p |
SimpleOrderedMap< Double, Int > | antDiam2IndexMap_p |
Vector< Int > | antIndexToDiamIndex_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< 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 |
Definition at line 57 of file HetArrayConvFunc.h.
casa::HetArrayConvFunc::HetArrayConvFunc | ( | const PBMathInterface::PBClass | typeToUse | ) |
casa::HetArrayConvFunc::HetArrayConvFunc | ( | const RecordInterface & | rec, |
Bool | calcFluxscale | ||
) |
Constructor from record if for prediction only no need to recover fluxscale.
virtual casa::HetArrayConvFunc::~HetArrayConvFunc | ( | ) | [virtual] |
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
Int casa::HetArrayConvFunc::factorial | ( | Int | n | ) | [private] |
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.
virtual ImageInterface<Float>& casa::HetArrayConvFunc::getFluxScaleImage | ( | ) | [virtual] |
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] |
virtual Bool casa::HetArrayConvFunc::toRecord | ( | RecordInterface & | rec | ) | [virtual] |
Serialization.
Reimplemented from casa::SimplePBConvFunc.
Int casa::HetArrayConvFunc::actualConvIndex_p [private] |
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.
Block<CountedPtr<PBMathInterface> > casa::HetArrayConvFunc::antMath_p [private] |
Definition at line 109 of file HetArrayConvFunc.h.
Cube<Complex> casa::HetArrayConvFunc::convFunc_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 112 of file HetArrayConvFunc.h.
Vector<Int64> casa::HetArrayConvFunc::convFunctionMap_p [private] |
SimpleOrderedMap <String, Int> convFunctionMap_p;.
Reimplemented from casa::SimplePBConvFunc.
Definition at line 105 of file HetArrayConvFunc.h.
Block<CountedPtr<Cube<Complex> > > casa::HetArrayConvFunc::convFunctions_p [private] |
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.
Cube<Complex> casa::HetArrayConvFunc::convSave_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 114 of file HetArrayConvFunc.h.
Int casa::HetArrayConvFunc::convSize_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 116 of file HetArrayConvFunc.h.
Block<CountedPtr<Vector<Int> > > casa::HetArrayConvFunc::convSizes_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 120 of file HetArrayConvFunc.h.
Vector<Int> casa::HetArrayConvFunc::convSupport_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 117 of file HetArrayConvFunc.h.
Block<CountedPtr<Vector<Int> > > casa::HetArrayConvFunc::convSupportBlock_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 121 of file HetArrayConvFunc.h.
Block<CountedPtr<Cube<Complex> > > casa::HetArrayConvFunc::convWeights_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 119 of file HetArrayConvFunc.h.
Int casa::HetArrayConvFunc::msId_p [private] |
Definition at line 110 of file HetArrayConvFunc.h.
Int64 casa::HetArrayConvFunc::nDefined_p [private] |
Definition at line 106 of file HetArrayConvFunc.h.
Reimplemented from casa::SimplePBConvFunc.
Definition at line 103 of file HetArrayConvFunc.h.
Cube<Complex> casa::HetArrayConvFunc::weightConvFunc_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 113 of file HetArrayConvFunc.h.
Cube<Complex> casa::HetArrayConvFunc::weightSave_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 115 of file HetArrayConvFunc.h.