casa
$Rev:20696$
|
#include <SimplePBConvFunc.h>
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 | |
SkyJones * | sj_p |
TempImage< Float > | fluxScale_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< Double > | thePix_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, Int > | convFunctionMap_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< Bool > | pointingPix_p |
Definition at line 63 of file SimplePBConvFunc.h.
casa::SimplePBConvFunc::SimplePBConvFunc | ( | const PBMathInterface::PBClass | typeToUse | ) |
casa::SimplePBConvFunc::SimplePBConvFunc | ( | const RecordInterface & | rec, |
Bool | calcFlux_needed | ||
) |
virtual casa::SimplePBConvFunc::~SimplePBConvFunc | ( | ) | [virtual] |
void casa::SimplePBConvFunc::addPBToFlux | ( | const VisBuffer & | vb | ) | [private] |
Bool casa::SimplePBConvFunc::checkPBOfField | ( | 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.
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.
virtual ImageInterface<Float>& casa::SimplePBConvFunc::getFluxScaleImage | ( | ) | [virtual] |
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.
Int casa::SimplePBConvFunc::actualConvIndex_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 144 of file SimplePBConvFunc.h.
Bool casa::SimplePBConvFunc::calcFluxScale_p [protected] |
Definition at line 135 of file SimplePBConvFunc.h.
Matrix<Complex> casa::SimplePBConvFunc::convFunc_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 147 of file SimplePBConvFunc.h.
Reimplemented in casa::HetArrayConvFunc.
Definition at line 143 of file SimplePBConvFunc.h.
Block<CountedPtr<Cube<Complex> > > casa::SimplePBConvFunc::convFunctions_p [private] |
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.
Matrix<Complex> casa::SimplePBConvFunc::convSave_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 149 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::convSize_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 151 of file SimplePBConvFunc.h.
Block<CountedPtr<Vector<Int> > > casa::SimplePBConvFunc::convSizes_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 157 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::convSupport_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 152 of file SimplePBConvFunc.h.
Block<CountedPtr<Vector<Int> > > casa::SimplePBConvFunc::convSupportBlock_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 158 of file SimplePBConvFunc.h.
CountedPtr<TempImage<Float> > casa::SimplePBConvFunc::convWeightImage_p [protected] |
Definition at line 139 of file SimplePBConvFunc.h.
Block<CountedPtr<Cube<Complex> > > casa::SimplePBConvFunc::convWeights_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 156 of file SimplePBConvFunc.h.
CoordinateSystem casa::SimplePBConvFunc::csys_p [protected] |
Definition at line 123 of file SimplePBConvFunc.h.
DirectionCoordinate casa::SimplePBConvFunc::dc_p [protected] |
Definition at line 124 of file SimplePBConvFunc.h.
MDirection casa::SimplePBConvFunc::direction1_p [protected] |
Definition at line 130 of file SimplePBConvFunc.h.
MDirection casa::SimplePBConvFunc::direction2_p [protected] |
Definition at line 131 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::directionIndex_p [protected] |
Definition at line 129 of file SimplePBConvFunc.h.
Bool casa::SimplePBConvFunc::doneMainConv_p [protected] |
Definition at line 134 of file SimplePBConvFunc.h.
Bool casa::SimplePBConvFunc::filledFluxScale_p [protected] |
Definition at line 133 of file SimplePBConvFunc.h.
TempImage<Float> casa::SimplePBConvFunc::fluxScale_p [protected] |
Definition at line 118 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::nchan_p [protected] |
Definition at line 121 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::npol_p [protected] |
Definition at line 122 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::nx_p [protected] |
Definition at line 119 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::ny_p [protected] |
Definition at line 120 of file SimplePBConvFunc.h.
Reimplemented in casa::HetArrayConvFunc.
Definition at line 145 of file SimplePBConvFunc.h.
MeasFrame casa::SimplePBConvFunc::pointFrame_p [protected] |
Definition at line 126 of file SimplePBConvFunc.h.
Matrix<Bool> casa::SimplePBConvFunc::pointingPix_p [private] |
Definition at line 159 of file SimplePBConvFunc.h.
Definition at line 125 of file SimplePBConvFunc.h.
SkyJones* casa::SimplePBConvFunc::sj_p [protected] |
Definition at line 117 of file SimplePBConvFunc.h.
Vector<Double> casa::SimplePBConvFunc::thePix_p [protected] |
Definition at line 132 of file SimplePBConvFunc.h.
MEpoch::Types casa::SimplePBConvFunc::timeMType_p [protected] |
Definition at line 127 of file SimplePBConvFunc.h.
Unit casa::SimplePBConvFunc::timeUnit_p [protected] |
Definition at line 128 of file SimplePBConvFunc.h.
Matrix<Complex> casa::SimplePBConvFunc::weightConvFunc_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 148 of file SimplePBConvFunc.h.
Matrix<Complex> casa::SimplePBConvFunc::weightSave_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 150 of file SimplePBConvFunc.h.