#include <HetArrayConvFunc.h>
Public Member Functions | |
HetArrayConvFunc () | |
HetArrayConvFunc (const PBMathInterface::PBClass typeToUse, const String vpTable="") | |
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, const Vector< Double > &visFreq, Array< Complex > &convFunc, Array< Complex > &weightConvFunc, Vector< Int > &convsize, Vector< Int > &convSupport, Vector< Int > &polMap, Vector< Int > &chanMap, Vector< Int > &rowMap) |
Returns the convfunctions in the Arrays...the rowMap maps the vb.row to the plane of the convfunc appropriate...chanMap and polMap similarly. | |
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 | |
void | applyGradientToYLine (const Int iy, Complex *&convFunctions, Complex *&convWeights, const Double pixXdir, const Double pixYdir, Int convSize, const Int ndishpair, const Int nchan, const Int nPol) |
---------------------------------------------- | |
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..we have stopped caching..so it should not return this value 2 pointing is off image ...thus valid but not useful | |
void | findAntennaSizes (const VisBuffer &vb) |
void | supportAndNormalize (Int plane, Int convSampling) |
void | supportAndNormalizeLatt (Int plane, Int convSampling, TempLattice< Complex > &convFuncLat, TempLattice< Complex > &weightConvFuncLat) |
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< String, Int > | antDiam2IndexMap_p |
Vector< Int > | antIndexToDiamIndex_p |
Block< CountedPtr < PBMathInterface > > | antMath_p |
Int | msId_p |
Int | actualConvIndex_p |
Array< Complex > | convFunc_p |
Array< Complex > | weightConvFunc_p |
Array< Complex > | convSave_p |
Array< Complex > | weightSave_p |
Int | convSize_p |
String | vpTable_p |
Vector< Int > | convSupport_p |
Block< CountedPtr< Array < Complex > > > | convFunctions_p |
These are Arrays of 5 dimension (x, y, npol, nchan, nrow) Thus every baseline may have its own. | |
Block< CountedPtr< Array < 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 | ( | ) |
casa::HetArrayConvFunc::HetArrayConvFunc | ( | const PBMathInterface::PBClass | typeToUse, | |
const String | vpTable = "" | |||
) |
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] |
void casa::HetArrayConvFunc::applyGradientToYLine | ( | const Int | iy, | |
Complex *& | convFunctions, | |||
Complex *& | convWeights, | |||
const Double | pixXdir, | |||
const Double | pixYdir, | |||
Int | convSize, | |||
const Int | ndishpair, | |||
const Int | nchan, | |||
const Int | nPol | |||
) | [private] |
----------------------------------------------
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..we have stopped caching..so it should not return this value 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, | |||
const Vector< Double > & | visFreq, | |||
Array< Complex > & | convFunc, | |||
Array< Complex > & | weightConvFunc, | |||
Vector< Int > & | convsize, | |||
Vector< Int > & | convSupport, | |||
Vector< Int > & | polMap, | |||
Vector< Int > & | chanMap, | |||
Vector< Int > & | rowMap | |||
) | [virtual] |
Returns the convfunctions in the Arrays...the rowMap maps the vb.row to the plane of the convfunc appropriate...chanMap and polMap similarly.
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] |
void casa::HetArrayConvFunc::supportAndNormalizeLatt | ( | Int | plane, | |
Int | convSampling, | |||
TempLattice< Complex > & | convFuncLat, | |||
TempLattice< Complex > & | weightConvFuncLat | |||
) | [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 116 of file HetArrayConvFunc.h.
SimpleOrderedMap<String, Int> casa::HetArrayConvFunc::antDiam2IndexMap_p [private] |
Definition at line 112 of file HetArrayConvFunc.h.
Vector<Int> casa::HetArrayConvFunc::antIndexToDiamIndex_p [private] |
Definition at line 113 of file HetArrayConvFunc.h.
Block<CountedPtr<PBMathInterface> > casa::HetArrayConvFunc::antMath_p [private] |
Definition at line 114 of file HetArrayConvFunc.h.
Array<Complex> casa::HetArrayConvFunc::convFunc_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 117 of file HetArrayConvFunc.h.
Vector<Int64> casa::HetArrayConvFunc::convFunctionMap_p [private] |
SimpleOrderedMap <String, Int> convFunctionMap_p;.
Reimplemented from casa::SimplePBConvFunc.
Definition at line 110 of file HetArrayConvFunc.h.
Block<CountedPtr<Array<Complex> > > casa::HetArrayConvFunc::convFunctions_p [private] |
These are Arrays of 5 dimension (x, y, npol, nchan, nrow) Thus every baseline may have its own.
Reimplemented from casa::SimplePBConvFunc.
Definition at line 124 of file HetArrayConvFunc.h.
Array<Complex> casa::HetArrayConvFunc::convSave_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 119 of file HetArrayConvFunc.h.
Int casa::HetArrayConvFunc::convSize_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 121 of file HetArrayConvFunc.h.
Block<CountedPtr<Vector<Int> > > casa::HetArrayConvFunc::convSizes_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 126 of file HetArrayConvFunc.h.
Vector<Int> casa::HetArrayConvFunc::convSupport_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 123 of file HetArrayConvFunc.h.
Block<CountedPtr<Vector<Int> > > casa::HetArrayConvFunc::convSupportBlock_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 127 of file HetArrayConvFunc.h.
Block<CountedPtr<Array<Complex> > > casa::HetArrayConvFunc::convWeights_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 125 of file HetArrayConvFunc.h.
Int casa::HetArrayConvFunc::msId_p [private] |
Definition at line 115 of file HetArrayConvFunc.h.
Int64 casa::HetArrayConvFunc::nDefined_p [private] |
Definition at line 111 of file HetArrayConvFunc.h.
Reimplemented from casa::SimplePBConvFunc.
Definition at line 108 of file HetArrayConvFunc.h.
String casa::HetArrayConvFunc::vpTable_p [private] |
Definition at line 122 of file HetArrayConvFunc.h.
Array<Complex> casa::HetArrayConvFunc::weightConvFunc_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 118 of file HetArrayConvFunc.h.
Array<Complex> casa::HetArrayConvFunc::weightSave_p [private] |
Reimplemented from casa::SimplePBConvFunc.
Definition at line 120 of file HetArrayConvFunc.h.