casa
5.7.0-16
|
#include <SimplePBConvFunc.h>
Public Member Functions | |
SimplePBConvFunc () | |
SimplePBConvFunc (const PBMathInterface::PBClass typeToUse) | |
SimplePBConvFunc (const casacore::RecordInterface &rec, casacore::Bool calcFlux_needed) | |
virtual | ~SimplePBConvFunc () |
virtual void | findConvFunction (const casacore::ImageInterface< casacore::Complex > &, const vi::VisBuffer2 &, const casacore::Int &, SkyJones &, casacore::Matrix< casacore::Complex > &, casacore::Matrix< casacore::Complex > &, casacore::Int &, casacore::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. More... | |
Returns the convfunctions in the Cubes the casacore::Matrix rowChanMap maps the vb row and channel to the plane of the convfunc appropriate *virtual void | findConvFunction (const casacore::ImageInterface< casacore::Complex > &iimage, const vi::VisBuffer2 &vb, const casacore::Int &convSampling, const casacore::Vector< casacore::Double > &visFreq, casacore::Array< casacore::Complex > &convFunc, casacore::Array< casacore::Complex > &weightConvFunc, casacore::Vector< casacore::Int > &convsize, casacore::Vector< casacore::Int > &convSupport, casacore::Vector< casacore::Int > &polMap, casacore::Vector< casacore::Int > &chanMap, casacore::Vector< casacore::Int > &rowMap, const casacore::Bool getConjFreqConvFunc=false, const casacore::MVDirection &extraShift=casacore::MVDirection(0.0), const casacore::Bool useExtraShift=casacore::False) |
virtual casacore::ImageInterface < casacore::Float > & | getFluxScaleImage () |
virtual void | sliceFluxScale (casacore::Int npol) |
slice fluxscale image by npol More... | |
virtual void | setWeightImage (casacore::CountedPtr< casacore::TempImage< casacore::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. More... | |
virtual void | setSkyJones (SkyJones *sj) |
virtual void | setVBUtil (casacore::CountedPtr< VisBufferUtil > vbutil) |
virtual casacore::CountedPtr < VisBufferUtil > | getVBUtil () |
casacore::Bool | findSupport (casacore::Array< casacore::Complex > &, casacore::Float &, casacore::Int &, casacore::Int &) |
virtual casacore::Bool | makeAverageResponse (const vi::VisBuffer2 &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool) |
virtual casacore::Bool | toRecord (casacore::RecordInterface &outRec) |
Serialization. More... | |
virtual casacore::Bool | fromRecord (casacore::String &err, const casacore::RecordInterface &rec, casacore::Bool calcFluxneeded=false) |
From record set calcfluxneeded to true if flux scale need to be computed. More... | |
virtual void | reset () |
give possibility to erase history More... | |
virtual casacore::String | name () |
void | setUsePointing (casacore::Bool usepointing) |
Protected Member Functions | |
virtual casacore::Int | convIndex (const vi::VisBuffer2 &vb) |
const casacore::MDirection & | pointingDirAnt1 (const vi::VisBuffer2 &vb) |
virtual void | storeImageParams (const casacore::ImageInterface< casacore::Complex > &iimage, const vi::VisBuffer2 &vb) |
virtual void | findUsefulChannels (casacore::Vector< casacore::Int > &chanMap, casacore::Vector< casacore::Double > &chanFreqs, const vi::VisBuffer2 &vb, const casacore::Vector< casacore::Double > &visFreq) |
virtual void | toPix (const vi::VisBuffer2 &vb, const casacore::MVDirection &extraShift=casacore::MVDirection(0.0), const casacore::Bool useExtraShift=casacore::False) |
return the direction pixel corresponding to a direction More... | |
Private Member Functions | |
casacore::Bool | checkPBOfField (const vi::VisBuffer2 &vb) |
void | addPBToFlux (const vi::VisBuffer2 &vb) |
Private Attributes | |
std::map< casacore::String, casacore::Int > | convFunctionMap_p |
casacore::Int | actualConvIndex_p |
PBMathInterface::PBClass | pbClass_p |
casacore::Matrix < casacore::Complex > | convFunc_p |
casacore::Matrix < casacore::Complex > | weightConvFunc_p |
casacore::Matrix < casacore::Complex > | convSave_p |
casacore::Matrix < casacore::Complex > | weightSave_p |
casacore::Int | convSize_p |
casacore::Int | convSupport_p |
casacore::Block < casacore::CountedPtr < casacore::Array < casacore::Complex > > > | convFunctions_p |
These are Arrays of 5 dimension (x, y, npol, nchan, nrow) Thus every baseline may have its own. More... | |
casacore::Block < casacore::CountedPtr < casacore::Array < casacore::Complex > > > | convWeights_p |
casacore::Block < casacore::CountedPtr < casacore::Vector < casacore::Int > > > | convSizes_p |
casacore::Block < casacore::CountedPtr < casacore::Vector < casacore::Int > > > | convSupportBlock_p |
casacore::Matrix< casacore::Bool > | pointingPix_p |
Definition at line 86 of file SimplePBConvFunc.h.
casa::refim::SimplePBConvFunc::SimplePBConvFunc | ( | ) |
casa::refim::SimplePBConvFunc::SimplePBConvFunc | ( | const PBMathInterface::PBClass | typeToUse | ) |
casa::refim::SimplePBConvFunc::SimplePBConvFunc | ( | const casacore::RecordInterface & | rec, |
casacore::Bool | calcFlux_needed | ||
) |
|
virtual |
|
private |
|
private |
|
protectedvirtual |
|
inlinevirtual |
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 98 of file SimplePBConvFunc.h.
|
virtual |
Reimplemented in casa::refim::HetArrayConvFunc.
|
inline |
Definition at line 128 of file SimplePBConvFunc.h.
|
protectedvirtual |
|
virtual |
From record set calcfluxneeded to true if flux scale need to be computed.
Reimplemented in casa::refim::HetArrayConvFunc.
|
virtual |
Reimplemented in casa::refim::HetArrayConvFunc.
|
inlinevirtual |
Definition at line 127 of file SimplePBConvFunc.h.
References vbutil_p.
|
inlinevirtual |
Definition at line 130 of file SimplePBConvFunc.h.
|
inlinevirtual |
Reimplemented in casa::refim::HetArrayConvFunc.
Definition at line 143 of file SimplePBConvFunc.h.
|
protected |
|
virtual |
give possibility to erase history
Reimplemented in casa::refim::HetArrayConvFunc.
|
virtual |
|
inline |
Definition at line 144 of file SimplePBConvFunc.h.
|
inlinevirtual |
Definition at line 126 of file SimplePBConvFunc.h.
References vbutil_p.
|
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 |
slice fluxscale image by npol
Reimplemented in casa::refim::HetArrayConvFunc.
|
protectedvirtual |
|
protectedvirtual |
return the direction pixel corresponding to a direction
|
virtual |
Serialization.
Reimplemented in casa::refim::HetArrayConvFunc.
|
private |
Definition at line 183 of file SimplePBConvFunc.h.
|
protected |
Definition at line 168 of file SimplePBConvFunc.h.
|
protected |
Definition at line 167 of file SimplePBConvFunc.h.
|
protected |
Definition at line 176 of file SimplePBConvFunc.h.
|
protected |
Definition at line 164 of file SimplePBConvFunc.h.
|
private |
Definition at line 186 of file SimplePBConvFunc.h.
|
private |
Definition at line 182 of file SimplePBConvFunc.h.
|
private |
These are Arrays of 5 dimension (x, y, npol, nchan, nrow) Thus every baseline may have its own.
Definition at line 194 of file SimplePBConvFunc.h.
|
private |
Definition at line 188 of file SimplePBConvFunc.h.
|
private |
Definition at line 190 of file SimplePBConvFunc.h.
|
private |
Definition at line 196 of file SimplePBConvFunc.h.
|
private |
Definition at line 191 of file SimplePBConvFunc.h.
|
private |
Definition at line 197 of file SimplePBConvFunc.h.
|
protected |
Definition at line 175 of file SimplePBConvFunc.h.
|
private |
Definition at line 195 of file SimplePBConvFunc.h.
|
protected |
Definition at line 152 of file SimplePBConvFunc.h.
|
protected |
Definition at line 153 of file SimplePBConvFunc.h.
|
protected |
Definition at line 159 of file SimplePBConvFunc.h.
|
protected |
Definition at line 160 of file SimplePBConvFunc.h.
|
protected |
Definition at line 158 of file SimplePBConvFunc.h.
|
protected |
Definition at line 163 of file SimplePBConvFunc.h.
|
protected |
Definition at line 162 of file SimplePBConvFunc.h.
|
protected |
Definition at line 147 of file SimplePBConvFunc.h.
|
protected |
Definition at line 174 of file SimplePBConvFunc.h.
|
protected |
Definition at line 150 of file SimplePBConvFunc.h.
|
protected |
Definition at line 151 of file SimplePBConvFunc.h.
|
protected |
Definition at line 148 of file SimplePBConvFunc.h.
|
protected |
Definition at line 149 of file SimplePBConvFunc.h.
|
private |
Definition at line 184 of file SimplePBConvFunc.h.
|
protected |
Definition at line 155 of file SimplePBConvFunc.h.
|
private |
Definition at line 198 of file SimplePBConvFunc.h.
|
protected |
Definition at line 154 of file SimplePBConvFunc.h.
|
protected |
Definition at line 144 of file SimplePBConvFunc.h.
|
protected |
Definition at line 161 of file SimplePBConvFunc.h.
|
protected |
Definition at line 156 of file SimplePBConvFunc.h.
|
protected |
Definition at line 157 of file SimplePBConvFunc.h.
|
protected |
Definition at line 178 of file SimplePBConvFunc.h.
|
protected |
Definition at line 165 of file SimplePBConvFunc.h.
|
protected |
Definition at line 177 of file SimplePBConvFunc.h.
Referenced by getVBUtil(), and setVBUtil().
|
private |
Definition at line 187 of file SimplePBConvFunc.h.
|
private |
Definition at line 189 of file SimplePBConvFunc.h.