#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, 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 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 Int | convIndex (const VisBuffer &vb) |
| const MDirection & | pointingDirAnt1 (const VisBuffer &vb) |
| virtual void | storeImageParams (const ImageInterface< Complex > &iimage, const VisBuffer &vb) |
| virtual void | findUsefulChannels (Vector< Int > &chanMap, Vector< Double > &chanFreqs, const VisBuffer &vb, const Vector< Double > &visFreq) |
| 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 |
| Vector< Bool > | doneMainConv_p |
| Bool | calcFluxScale_p |
| std::map< String, Int > | vbConvIndex_p |
| std::map< String, Int > | ant1PointVal_p |
| Vector< MDirection > | ant1PointingCache_p |
| FFT2D | ft_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< 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 |
| Matrix< Bool > | pointingPix_p |
| VisBufferUtil | vbUtil_p |
Definition at line 75 of file SimplePBConvFunc.h.
| casa::SimplePBConvFunc::SimplePBConvFunc | ( | ) |
| 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 Int casa::SimplePBConvFunc::convIndex | ( | const VisBuffer & | vb | ) | [protected, virtual] |
| 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, | |||
| 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] |
Reimplemented in casa::HetArrayConvFunc.
| 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 86 of file SimplePBConvFunc.h.
| Bool casa::SimplePBConvFunc::findSupport | ( | Array< Complex > & | , | |
| Float & | , | |||
| Int & | , | |||
| Int & | ||||
| ) | [inline] |
Definition at line 115 of file SimplePBConvFunc.h.
| virtual void casa::SimplePBConvFunc::findUsefulChannels | ( | Vector< Int > & | chanMap, | |
| Vector< Double > & | chanFreqs, | |||
| const VisBuffer & | vb, | |||
| const Vector< Double > & | visFreq | |||
| ) | [protected, virtual] |
| 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 117 of file SimplePBConvFunc.h.
| const MDirection& casa::SimplePBConvFunc::pointingDirAnt1 | ( | const VisBuffer & | vb | ) | [protected] |
| 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 165 of file SimplePBConvFunc.h.
Vector<MDirection> casa::SimplePBConvFunc::ant1PointingCache_p [protected] |
Definition at line 153 of file SimplePBConvFunc.h.
std::map<String, Int> casa::SimplePBConvFunc::ant1PointVal_p [protected] |
Definition at line 152 of file SimplePBConvFunc.h.
Bool casa::SimplePBConvFunc::calcFluxScale_p [protected] |
Definition at line 149 of file SimplePBConvFunc.h.
Matrix<Complex> casa::SimplePBConvFunc::convFunc_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 168 of file SimplePBConvFunc.h.
SimpleOrderedMap<String, Int> casa::SimplePBConvFunc::convFunctionMap_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 164 of file SimplePBConvFunc.h.
Block<CountedPtr<Array<Complex> > > casa::SimplePBConvFunc::convFunctions_p [private] |
These are Arrays of 5 dimension (x, y, npol, nchan, nrow) Thus every baseline may have its own.
Reimplemented in casa::HetArrayConvFunc.
Definition at line 176 of file SimplePBConvFunc.h.
Matrix<Complex> casa::SimplePBConvFunc::convSave_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 170 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::convSize_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 172 of file SimplePBConvFunc.h.
Block<CountedPtr<Vector<Int> > > casa::SimplePBConvFunc::convSizes_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 178 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::convSupport_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 173 of file SimplePBConvFunc.h.
Block<CountedPtr<Vector<Int> > > casa::SimplePBConvFunc::convSupportBlock_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 179 of file SimplePBConvFunc.h.
CountedPtr<TempImage<Float> > casa::SimplePBConvFunc::convWeightImage_p [protected] |
Definition at line 160 of file SimplePBConvFunc.h.
Block<CountedPtr<Array<Complex> > > casa::SimplePBConvFunc::convWeights_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 177 of file SimplePBConvFunc.h.
CoordinateSystem casa::SimplePBConvFunc::csys_p [protected] |
Definition at line 137 of file SimplePBConvFunc.h.
DirectionCoordinate casa::SimplePBConvFunc::dc_p [protected] |
Definition at line 138 of file SimplePBConvFunc.h.
MDirection casa::SimplePBConvFunc::direction1_p [protected] |
Definition at line 144 of file SimplePBConvFunc.h.
MDirection casa::SimplePBConvFunc::direction2_p [protected] |
Definition at line 145 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::directionIndex_p [protected] |
Definition at line 143 of file SimplePBConvFunc.h.
Vector<Bool> casa::SimplePBConvFunc::doneMainConv_p [protected] |
Definition at line 148 of file SimplePBConvFunc.h.
Bool casa::SimplePBConvFunc::filledFluxScale_p [protected] |
Definition at line 147 of file SimplePBConvFunc.h.
TempImage<Float> casa::SimplePBConvFunc::fluxScale_p [protected] |
Definition at line 132 of file SimplePBConvFunc.h.
FFT2D casa::SimplePBConvFunc::ft_p [protected] |
Definition at line 159 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::nchan_p [protected] |
Definition at line 135 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::npol_p [protected] |
Definition at line 136 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::nx_p [protected] |
Definition at line 133 of file SimplePBConvFunc.h.
Int casa::SimplePBConvFunc::ny_p [protected] |
Definition at line 134 of file SimplePBConvFunc.h.
Reimplemented in casa::HetArrayConvFunc.
Definition at line 166 of file SimplePBConvFunc.h.
MeasFrame casa::SimplePBConvFunc::pointFrame_p [protected] |
Definition at line 140 of file SimplePBConvFunc.h.
Matrix<Bool> casa::SimplePBConvFunc::pointingPix_p [private] |
Definition at line 180 of file SimplePBConvFunc.h.
MDirection::Convert casa::SimplePBConvFunc::pointToPix_p [protected] |
Definition at line 139 of file SimplePBConvFunc.h.
SkyJones* casa::SimplePBConvFunc::sj_p [protected] |
Definition at line 131 of file SimplePBConvFunc.h.
Vector<Double> casa::SimplePBConvFunc::thePix_p [protected] |
Definition at line 146 of file SimplePBConvFunc.h.
MEpoch::Types casa::SimplePBConvFunc::timeMType_p [protected] |
Definition at line 141 of file SimplePBConvFunc.h.
Unit casa::SimplePBConvFunc::timeUnit_p [protected] |
Definition at line 142 of file SimplePBConvFunc.h.
std::map<String, Int> casa::SimplePBConvFunc::vbConvIndex_p [protected] |
Definition at line 150 of file SimplePBConvFunc.h.
Definition at line 181 of file SimplePBConvFunc.h.
Matrix<Complex> casa::SimplePBConvFunc::weightConvFunc_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 169 of file SimplePBConvFunc.h.
Matrix<Complex> casa::SimplePBConvFunc::weightSave_p [private] |
Reimplemented in casa::HetArrayConvFunc.
Definition at line 171 of file SimplePBConvFunc.h.
1.6.1