#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 vi::VisBuffer2 &, 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 vi::VisBuffer2 &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 vi::VisBuffer2 &, 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 vi::VisBuffer2 &vb) | 
| const MDirection & | pointingDirAnt1 (const vi::VisBuffer2 &vb) | 
| virtual void | storeImageParams (const ImageInterface< Complex > &iimage, const vi::VisBuffer2 &vb) | 
| virtual void | findUsefulChannels (Vector< Int > &chanMap, Vector< Double > &chanFreqs, const vi::VisBuffer2 &vb, const Vector< Double > &visFreq) | 
| virtual void | toPix (const vi::VisBuffer2 &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 vi::VisBuffer2 &vb) | 
| void | addPBToFlux (const vi::VisBuffer2 &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 82 of file SimplePBConvFunc.h.
| casa::refim::SimplePBConvFunc::SimplePBConvFunc | ( | ) | 
| casa::refim::SimplePBConvFunc::SimplePBConvFunc | ( | const PBMathInterface::PBClass | typeToUse | ) | 
| casa::refim::SimplePBConvFunc::SimplePBConvFunc | ( | const RecordInterface & | rec, | |
| Bool | calcFlux_needed | |||
| ) | 
| virtual casa::refim::SimplePBConvFunc::~SimplePBConvFunc | ( | ) |  [virtual] | 
| void casa::refim::SimplePBConvFunc::addPBToFlux | ( | const vi::VisBuffer2 & | vb | ) |  [private] | 
| Bool casa::refim::SimplePBConvFunc::checkPBOfField | ( | const vi::VisBuffer2 & | vb | ) |  [private] | 
| virtual Int casa::refim::SimplePBConvFunc::convIndex | ( | const vi::VisBuffer2 & | 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::refim::SimplePBConvFunc::findConvFunction | ( | const ImageInterface< Complex > & | iimage, | |
| const vi::VisBuffer2 & | 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::refim::HetArrayConvFunc.
| virtual void casa::refim::SimplePBConvFunc::findConvFunction | ( | const ImageInterface< Complex > & | , | |
| const vi::VisBuffer2 & | , | |||
| 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 94 of file SimplePBConvFunc.h.
| Bool casa::refim::SimplePBConvFunc::findSupport | ( | Array< Complex > & | , | |
| Float & | , | |||
| Int & | , | |||
| Int & | ||||
| ) |  [inline] | 
Definition at line 123 of file SimplePBConvFunc.h.
| virtual void casa::refim::SimplePBConvFunc::findUsefulChannels | ( | Vector< Int > & | chanMap, | |
| Vector< Double > & | chanFreqs, | |||
| const vi::VisBuffer2 & | vb, | |||
| const Vector< Double > & | visFreq | |||
| ) |  [protected, virtual] | 
| virtual Bool casa::refim::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::refim::HetArrayConvFunc.
| virtual ImageInterface<Float>& casa::refim::SimplePBConvFunc::getFluxScaleImage | ( | ) |  [virtual] | 
Reimplemented in casa::refim::HetArrayConvFunc.
| virtual Bool casa::refim::SimplePBConvFunc::makeAverageResponse | ( | const vi::VisBuffer2 & | , | |
| const ImageInterface< Complex > & | , | |||
| ImageInterface< Float > & | , | |||
| Bool | ||||
| ) |  [inline, virtual] | 
Definition at line 125 of file SimplePBConvFunc.h.
| const MDirection& casa::refim::SimplePBConvFunc::pointingDirAnt1 | ( | const vi::VisBuffer2 & | vb | ) |  [protected] | 
| virtual void casa::refim::SimplePBConvFunc::reset | ( | ) |  [virtual] | 
give possibility to erase history
Reimplemented in casa::refim::HetArrayConvFunc.
| virtual void casa::refim::SimplePBConvFunc::setSkyJones | ( | SkyJones * | sj | ) |  [virtual] | 
| virtual void casa::refim::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::refim::SimplePBConvFunc::sliceFluxScale | ( | Int | npol | ) |  [virtual] | 
slice fluxscale image by npol
Reimplemented in casa::refim::HetArrayConvFunc.
| virtual void casa::refim::SimplePBConvFunc::storeImageParams | ( | const ImageInterface< Complex > & | iimage, | |
| const vi::VisBuffer2 & | vb | |||
| ) |  [protected, virtual] | 
| virtual void casa::refim::SimplePBConvFunc::toPix | ( | const vi::VisBuffer2 & | vb | ) |  [protected, virtual] | 
return the direction pixel corresponding to a direction
| virtual Bool casa::refim::SimplePBConvFunc::toRecord | ( | RecordInterface & | outRec | ) |  [virtual] | 
Serialization.
Reimplemented in casa::refim::HetArrayConvFunc.
| Int casa::refim::SimplePBConvFunc::actualConvIndex_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 174 of file SimplePBConvFunc.h.
| Vector<MDirection> casa::refim::SimplePBConvFunc::ant1PointingCache_p  [protected] | 
Definition at line 162 of file SimplePBConvFunc.h.
| std::map<String, Int> casa::refim::SimplePBConvFunc::ant1PointVal_p  [protected] | 
Definition at line 161 of file SimplePBConvFunc.h.
| Bool casa::refim::SimplePBConvFunc::calcFluxScale_p  [protected] | 
Definition at line 158 of file SimplePBConvFunc.h.
| Matrix<Complex> casa::refim::SimplePBConvFunc::convFunc_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 177 of file SimplePBConvFunc.h.
| SimpleOrderedMap<String, Int> casa::refim::SimplePBConvFunc::convFunctionMap_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 173 of file SimplePBConvFunc.h.
| Block<CountedPtr<Array<Complex> > > casa::refim::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::refim::HetArrayConvFunc.
Definition at line 185 of file SimplePBConvFunc.h.
| Matrix<Complex> casa::refim::SimplePBConvFunc::convSave_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 179 of file SimplePBConvFunc.h.
| Int casa::refim::SimplePBConvFunc::convSize_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 181 of file SimplePBConvFunc.h.
| Block<CountedPtr<Vector<Int> > > casa::refim::SimplePBConvFunc::convSizes_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 187 of file SimplePBConvFunc.h.
| Int casa::refim::SimplePBConvFunc::convSupport_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 182 of file SimplePBConvFunc.h.
| Block<CountedPtr<Vector<Int> > > casa::refim::SimplePBConvFunc::convSupportBlock_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 188 of file SimplePBConvFunc.h.
| CountedPtr<TempImage<Float> > casa::refim::SimplePBConvFunc::convWeightImage_p  [protected] | 
Definition at line 169 of file SimplePBConvFunc.h.
| Block<CountedPtr<Array<Complex> > > casa::refim::SimplePBConvFunc::convWeights_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 186 of file SimplePBConvFunc.h.
| CoordinateSystem casa::refim::SimplePBConvFunc::csys_p  [protected] | 
Definition at line 146 of file SimplePBConvFunc.h.
| DirectionCoordinate casa::refim::SimplePBConvFunc::dc_p  [protected] | 
Definition at line 147 of file SimplePBConvFunc.h.
| MDirection casa::refim::SimplePBConvFunc::direction1_p  [protected] | 
Definition at line 153 of file SimplePBConvFunc.h.
| MDirection casa::refim::SimplePBConvFunc::direction2_p  [protected] | 
Definition at line 154 of file SimplePBConvFunc.h.
| Int casa::refim::SimplePBConvFunc::directionIndex_p  [protected] | 
Definition at line 152 of file SimplePBConvFunc.h.
| Vector<Bool> casa::refim::SimplePBConvFunc::doneMainConv_p  [protected] | 
Definition at line 157 of file SimplePBConvFunc.h.
| Bool casa::refim::SimplePBConvFunc::filledFluxScale_p  [protected] | 
Definition at line 156 of file SimplePBConvFunc.h.
| TempImage<Float> casa::refim::SimplePBConvFunc::fluxScale_p  [protected] | 
Definition at line 141 of file SimplePBConvFunc.h.
| FFT2D casa::refim::SimplePBConvFunc::ft_p  [protected] | 
Definition at line 168 of file SimplePBConvFunc.h.
| Int casa::refim::SimplePBConvFunc::nchan_p  [protected] | 
Definition at line 144 of file SimplePBConvFunc.h.
| Int casa::refim::SimplePBConvFunc::npol_p  [protected] | 
Definition at line 145 of file SimplePBConvFunc.h.
| Int casa::refim::SimplePBConvFunc::nx_p  [protected] | 
Definition at line 142 of file SimplePBConvFunc.h.
| Int casa::refim::SimplePBConvFunc::ny_p  [protected] | 
Definition at line 143 of file SimplePBConvFunc.h.
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 175 of file SimplePBConvFunc.h.
| MeasFrame casa::refim::SimplePBConvFunc::pointFrame_p  [protected] | 
Definition at line 149 of file SimplePBConvFunc.h.
| Matrix<Bool> casa::refim::SimplePBConvFunc::pointingPix_p  [private] | 
Definition at line 189 of file SimplePBConvFunc.h.
| MDirection::Convert casa::refim::SimplePBConvFunc::pointToPix_p  [protected] | 
Definition at line 148 of file SimplePBConvFunc.h.
| SkyJones* casa::refim::SimplePBConvFunc::sj_p  [protected] | 
Definition at line 140 of file SimplePBConvFunc.h.
| Vector<Double> casa::refim::SimplePBConvFunc::thePix_p  [protected] | 
Definition at line 155 of file SimplePBConvFunc.h.
| MEpoch::Types casa::refim::SimplePBConvFunc::timeMType_p  [protected] | 
Definition at line 150 of file SimplePBConvFunc.h.
| Unit casa::refim::SimplePBConvFunc::timeUnit_p  [protected] | 
Definition at line 151 of file SimplePBConvFunc.h.
| std::map<String, Int> casa::refim::SimplePBConvFunc::vbConvIndex_p  [protected] | 
Definition at line 159 of file SimplePBConvFunc.h.
Definition at line 190 of file SimplePBConvFunc.h.
| Matrix<Complex> casa::refim::SimplePBConvFunc::weightConvFunc_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 178 of file SimplePBConvFunc.h.
| Matrix<Complex> casa::refim::SimplePBConvFunc::weightSave_p  [private] | 
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 180 of file SimplePBConvFunc.h.
 1.6.1
 1.6.1