Int getVLABandID(Double& freq,String&telescopeName);. More...
#include <VLACalcIlluminationConvFunc.h>
Public Member Functions | |
VLACalcIlluminationConvFunc () | |
VLACalcIlluminationConvFunc (Int n) | |
~VLACalcIlluminationConvFunc () | |
void | setBandID (Int bandID) |
void | loadFromImage (String &fileName) |
void storeImg(String &fileName,ImageInterface<Complex>& img); void storeImg(String &fileName,ImageInterface<Float>& img); void store(String &fileName); | |
void | getIdealConvFunc (Array< Complex > &buf) |
void | ftAperture (TempImage< Complex > &uvgrid, Bool makeMueller) |
void ftAperture(TempImage<Complex>& uvgrid); | |
void | ftAperture (TempImage< Complex > &uvgrid, Int makeMuerller=0) |
void | ftAperture () |
void | storePB (String &fileName) |
Bool | pbReady () |
CoordinateSystem | makeUVCoords (CoordinateSystem &imageCoordSys, IPosition &shape, Double refFreq=-1.0) |
void | regridAperture (CoordinateSystem &skyCS, IPosition &skyShape, TempImage< Complex > &uvGrid, Double &pa, Bool doSquint=True, Int bandID=-1, Int muellerTerm=0, Double freqVal=-1.0) |
void | regridAperture (CoordinateSystem &skyCS, IPosition &skyShape, TempImage< Complex > &uvGrid, const VisBuffer &vb, const Vector< Float > &paList, Bool doSquint, Int bandID) |
void | regridApertureEngine (ApertureCalcParams &ap, const Int &inStokes) |
void | setApertureParams (ApertureCalcParams &ap, const Float &Freq, const Float &pa, const Int &bandID, const Int &inStokes, const IPosition &skyShape, const Vector< Double > &uvIncr) |
void | applyPB (ImageInterface< Float > &pbImage, Double &pa, const Vector< Float > &paList, Int bandID, Bool doSquint=False) |
void | applyPB (ImageInterface< Float > &pbImage, Double &pa, Int bandID=-1, Bool doSquint=False, Double freqVal=-1.0) |
void | applyPB (ImageInterface< Complex > &pbImage, Double &pa, Bool doSquint=True, Int bandID=-1, Int muellerTerm=0, Double freqVal=-1.0) |
void | applyPBSq (ImageInterface< Float > &pbImage, Double &pa, const Vector< Float > &paList, Int bandID, Bool doSquint=False) |
void | applyPBSq (ImageInterface< Float > &pbImage, Double &pa, Int bandID=-1, Bool doSquint=False) |
void | applyPBSq (ImageInterface< Complex > &pbImage, Double &pa, Int bandID=-1, Bool doSquint=True) |
void | makeFullJones (ImageInterface< Complex > &pbImage, const VisBuffer &vb, Bool doSquint, Int bandID, Double freqVal=-1.0) |
void | skyMuller (ImageInterface< Complex > &skyJones) |
void | skyMuller (ImageInterface< Complex > &skyJones, Int muellerTerm=0) |
void | skyMuller (Array< Complex > &skyJones, const IPosition &shape, const Int &inStokes) |
Bool | findSupport (Array< Complex > &, Float &, Int &, Int &) |
virtual void setFeedStokes(const Vector<Int>& feedStokes) = 0; | |
virtual Bool | makeAverageResponse (const VisBuffer &, const ImageInterface< Complex > &, ImageInterface< Float > &, Bool=True) |
This method computes the average response function. | |
Private Member Functions | |
void | fillPB (ImageInterface< Complex > &inImg, ImageInterface< Float > &outImg, Bool Square=False) |
void | fillPB (ImageInterface< Complex > &inImg, ImageInterface< Complex > &outImg, Bool Square=False) |
Private Attributes | |
TempImage< Complex > | convFunc_p |
Vector< Double > | resolution |
TempImage<Float> reAperture_p, imAperture_p;. | |
Bool | pbRead_p |
Float | freq_p |
Float | lastPA |
ApertureCalcParams | ap |
Int getVLABandID(Double& freq,String&telescopeName);.
Definition at line 46 of file VLACalcIlluminationConvFunc.h.
casa::VLACalcIlluminationConvFunc::VLACalcIlluminationConvFunc | ( | ) |
casa::VLACalcIlluminationConvFunc::VLACalcIlluminationConvFunc | ( | Int | n | ) | [inline] |
Definition at line 51 of file VLACalcIlluminationConvFunc.h.
References casacore::False, and pbRead_p.
casa::VLACalcIlluminationConvFunc::~VLACalcIlluminationConvFunc | ( | ) | [inline] |
Definition at line 55 of file VLACalcIlluminationConvFunc.h.
References ap, and casa::ApertureCalcParams::aperture.
void casa::VLACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Complex > & | pbImage, | |
Double & | pa, | |||
Bool | doSquint = True , |
|||
Int | bandID = -1 , |
|||
Int | muellerTerm = 0 , |
|||
Double | freqVal = -1.0 | |||
) |
void casa::VLACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Float > & | pbImage, | |
Double & | pa, | |||
Int | bandID = -1 , |
|||
Bool | doSquint = False , |
|||
Double | freqVal = -1.0 | |||
) |
void casa::VLACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Float > & | pbImage, | |
Double & | pa, | |||
const Vector< Float > & | paList, | |||
Int | bandID, | |||
Bool | doSquint = False | |||
) |
void casa::VLACalcIlluminationConvFunc::applyPBSq | ( | ImageInterface< Complex > & | pbImage, | |
Double & | pa, | |||
Int | bandID = -1 , |
|||
Bool | doSquint = True | |||
) |
void casa::VLACalcIlluminationConvFunc::applyPBSq | ( | ImageInterface< Float > & | pbImage, | |
Double & | pa, | |||
Int | bandID = -1 , |
|||
Bool | doSquint = False | |||
) |
void casa::VLACalcIlluminationConvFunc::applyPBSq | ( | ImageInterface< Float > & | pbImage, | |
Double & | pa, | |||
const Vector< Float > & | paList, | |||
Int | bandID, | |||
Bool | doSquint = False | |||
) |
void casa::VLACalcIlluminationConvFunc::fillPB | ( | ImageInterface< Complex > & | inImg, | |
ImageInterface< Complex > & | outImg, | |||
Bool | Square = False | |||
) | [private] |
void casa::VLACalcIlluminationConvFunc::fillPB | ( | ImageInterface< Complex > & | inImg, | |
ImageInterface< Float > & | outImg, | |||
Bool | Square = False | |||
) | [private] |
Bool casa::VLACalcIlluminationConvFunc::findSupport | ( | Array< Complex > & | func, | |
Float & | threshold, | |||
Int & | origin, | |||
Int & | R | |||
) | [inline, virtual] |
virtual void setFeedStokes(const Vector<Int>& feedStokes) = 0;
Reimplemented from casa::IlluminationConvFunc.
Definition at line 113 of file VLACalcIlluminationConvFunc.h.
void casa::VLACalcIlluminationConvFunc::ftAperture | ( | ) | [inline] |
Definition at line 66 of file VLACalcIlluminationConvFunc.h.
References convFunc_p, ftAperture(), pbRead_p, and casacore::True.
Referenced by ftAperture().
void casa::VLACalcIlluminationConvFunc::ftAperture | ( | TempImage< Complex > & | uvgrid, | |
Int | makeMuerller = 0 | |||
) |
void casa::VLACalcIlluminationConvFunc::ftAperture | ( | TempImage< Complex > & | uvgrid, | |
Bool | makeMueller | |||
) |
void ftAperture(TempImage<Complex>& uvgrid);
void casa::VLACalcIlluminationConvFunc::getIdealConvFunc | ( | Array< Complex > & | buf | ) |
void casa::VLACalcIlluminationConvFunc::loadFromImage | ( | String & | fileName | ) |
void storeImg(String &fileName,ImageInterface<Complex>& img); void storeImg(String &fileName,ImageInterface<Float>& img); void store(String &fileName);
virtual Bool casa::VLACalcIlluminationConvFunc::makeAverageResponse | ( | const VisBuffer & | vb, | |
const ImageInterface< Complex > & | image, | |||
ImageInterface< Float > & | theavgPB, | |||
Bool | reset = True | |||
) | [inline, virtual] |
This method computes the average response function.
This is typically image-plane equivalent of the convolution functions, averaged over various axis. The precise averaging will be implementation dependent in the derived classes.
theavgPB | TempImage<Float>& theavgPB, |
Reimplemented from casa::IlluminationConvFunc.
Definition at line 115 of file VLACalcIlluminationConvFunc.h.
void casa::VLACalcIlluminationConvFunc::makeFullJones | ( | ImageInterface< Complex > & | pbImage, | |
const VisBuffer & | vb, | |||
Bool | doSquint, | |||
Int | bandID, | |||
Double | freqVal = -1.0 | |||
) |
CoordinateSystem casa::VLACalcIlluminationConvFunc::makeUVCoords | ( | CoordinateSystem & | imageCoordSys, | |
IPosition & | shape, | |||
Double | refFreq = -1.0 | |||
) |
Bool casa::VLACalcIlluminationConvFunc::pbReady | ( | ) | [inline] |
Definition at line 69 of file VLACalcIlluminationConvFunc.h.
References pbRead_p.
void casa::VLACalcIlluminationConvFunc::regridAperture | ( | CoordinateSystem & | skyCS, | |
IPosition & | skyShape, | |||
TempImage< Complex > & | uvGrid, | |||
const VisBuffer & | vb, | |||
const Vector< Float > & | paList, | |||
Bool | doSquint, | |||
Int | bandID | |||
) |
void casa::VLACalcIlluminationConvFunc::regridAperture | ( | CoordinateSystem & | skyCS, | |
IPosition & | skyShape, | |||
TempImage< Complex > & | uvGrid, | |||
Double & | pa, | |||
Bool | doSquint = True , |
|||
Int | bandID = -1 , |
|||
Int | muellerTerm = 0 , |
|||
Double | freqVal = -1.0 | |||
) |
pa | const VisBuffer& vb, |
void casa::VLACalcIlluminationConvFunc::regridApertureEngine | ( | ApertureCalcParams & | ap, | |
const Int & | inStokes | |||
) |
void casa::VLACalcIlluminationConvFunc::setApertureParams | ( | ApertureCalcParams & | ap, | |
const Float & | Freq, | |||
const Float & | pa, | |||
const Int & | bandID, | |||
const Int & | inStokes, | |||
const IPosition & | skyShape, | |||
const Vector< Double > & | uvIncr | |||
) |
void casa::VLACalcIlluminationConvFunc::setBandID | ( | Int | bandID | ) | [inline] |
Definition at line 57 of file VLACalcIlluminationConvFunc.h.
References ap, and casa::ApertureCalcParams::band.
void casa::VLACalcIlluminationConvFunc::skyMuller | ( | Array< Complex > & | skyJones, | |
const IPosition & | shape, | |||
const Int & | inStokes | |||
) |
void casa::VLACalcIlluminationConvFunc::skyMuller | ( | ImageInterface< Complex > & | skyJones, | |
Int | muellerTerm = 0 | |||
) |
void casa::VLACalcIlluminationConvFunc::skyMuller | ( | ImageInterface< Complex > & | skyJones | ) |
void casa::VLACalcIlluminationConvFunc::storePB | ( | String & | fileName | ) |
Definition at line 133 of file VLACalcIlluminationConvFunc.h.
Referenced by setBandID(), and ~VLACalcIlluminationConvFunc().
TempImage<Complex> casa::VLACalcIlluminationConvFunc::convFunc_p [private] |
Definition at line 128 of file VLACalcIlluminationConvFunc.h.
Referenced by ftAperture().
Float casa::VLACalcIlluminationConvFunc::freq_p [private] |
Definition at line 132 of file VLACalcIlluminationConvFunc.h.
Float casa::VLACalcIlluminationConvFunc::lastPA [private] |
Definition at line 132 of file VLACalcIlluminationConvFunc.h.
Bool casa::VLACalcIlluminationConvFunc::pbRead_p [private] |
Definition at line 131 of file VLACalcIlluminationConvFunc.h.
Referenced by ftAperture(), pbReady(), and VLACalcIlluminationConvFunc().
Vector<Double> casa::VLACalcIlluminationConvFunc::resolution [private] |
TempImage<Float> reAperture_p, imAperture_p;.
Definition at line 130 of file VLACalcIlluminationConvFunc.h.