casa
$Rev:20696$
|
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) |
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, const VisBuffer &vb, Bool doSquint=True, Int bandID=-1, Double freqVal=-1) |
void | regridAperture (CoordinateSystem &skyCS, IPosition &skyShape, TempImage< Complex > &uvGrid, const VisBuffer &vb, const Vector< Float > &paList, Bool doSquint, Int bandID) |
void | applyPB (ImageInterface< Float > &pbImage, const VisBuffer &vb, const Vector< Float > &paList, Int bandID, Bool doSquint=False) |
void | applyPB (ImageInterface< Float > &pbImage, const VisBuffer &vb, Int bandID=-1, Bool doSquint=False, Double freqVal=-1) |
void | applyPB (ImageInterface< Complex > &pbImage, const VisBuffer &vb, Int bandID=-1, Bool doSquint=True, Double freqVal=-1) |
void | applyPBSq (ImageInterface< Float > &pbImage, const VisBuffer &vb, const Vector< Float > &paList, Int bandID, Bool doSquint=False) |
void | applyPBSq (ImageInterface< Float > &pbImage, const VisBuffer &vb, Int bandID=-1, Bool doSquint=False) |
void | applyPBSq (ImageInterface< Complex > &pbImage, const VisBuffer &vb, Int bandID=-1, Bool doSquint=True) |
void | skyMuller (ImageInterface< Complex > &skyJones) |
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.
Definition at line 51 of file VLACalcIlluminationConvFunc.h.
References casa::False, and pbRead_p.
Definition at line 52 of file VLACalcIlluminationConvFunc.h.
References ap, and casa::ApertureCalcParams::aperture.
void casa::VLACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Float > & | pbImage, |
const VisBuffer & | vb, | ||
const Vector< Float > & | paList, | ||
Int | bandID, | ||
Bool | doSquint = False |
||
) |
void casa::VLACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Float > & | pbImage, |
const VisBuffer & | vb, | ||
Int | bandID = -1 , |
||
Bool | doSquint = False , |
||
Double | freqVal = -1 |
||
) |
void casa::VLACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Complex > & | pbImage, |
const VisBuffer & | vb, | ||
Int | bandID = -1 , |
||
Bool | doSquint = True , |
||
Double | freqVal = -1 |
||
) |
void casa::VLACalcIlluminationConvFunc::applyPBSq | ( | ImageInterface< Float > & | pbImage, |
const VisBuffer & | vb, | ||
const Vector< Float > & | paList, | ||
Int | bandID, | ||
Bool | doSquint = False |
||
) |
void casa::VLACalcIlluminationConvFunc::applyPBSq | ( | ImageInterface< Float > & | pbImage, |
const VisBuffer & | vb, | ||
Int | bandID = -1 , |
||
Bool | doSquint = False |
||
) |
void casa::VLACalcIlluminationConvFunc::applyPBSq | ( | ImageInterface< Complex > & | pbImage, |
const VisBuffer & | vb, | ||
Int | bandID = -1 , |
||
Bool | doSquint = True |
||
) |
void casa::VLACalcIlluminationConvFunc::fillPB | ( | ImageInterface< Complex > & | inImg, |
ImageInterface< Float > & | outImg, | ||
Bool | Square = False |
||
) | [private] |
void casa::VLACalcIlluminationConvFunc::fillPB | ( | ImageInterface< Complex > & | inImg, |
ImageInterface< Complex > & | 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 92 of file VLACalcIlluminationConvFunc.h.
void casa::VLACalcIlluminationConvFunc::ftAperture | ( | TempImage< Complex > & | uvgrid | ) |
void casa::VLACalcIlluminationConvFunc::ftAperture | ( | ) | [inline] |
Definition at line 61 of file VLACalcIlluminationConvFunc.h.
References convFunc_p, ftAperture(), pbRead_p, and casa::True.
Referenced by ftAperture().
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 94 of file VLACalcIlluminationConvFunc.h.
CoordinateSystem casa::VLACalcIlluminationConvFunc::makeUVCoords | ( | CoordinateSystem & | imageCoordSys, |
IPosition & | shape, | ||
Double | refFreq = -1.0 |
||
) |
Bool casa::VLACalcIlluminationConvFunc::pbReady | ( | ) | [inline] |
Definition at line 64 of file VLACalcIlluminationConvFunc.h.
References pbRead_p.
void casa::VLACalcIlluminationConvFunc::regridAperture | ( | CoordinateSystem & | skyCS, |
IPosition & | skyShape, | ||
TempImage< Complex > & | uvGrid, | ||
const VisBuffer & | vb, | ||
Bool | doSquint = True , |
||
Int | bandID = -1 , |
||
Double | freqVal = -1 |
||
) |
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::setBandID | ( | Int | bandID | ) | [inline] |
Definition at line 54 of file VLACalcIlluminationConvFunc.h.
References ap, and casa::ApertureCalcParams::band.
void casa::VLACalcIlluminationConvFunc::skyMuller | ( | ImageInterface< Complex > & | skyJones | ) |
void casa::VLACalcIlluminationConvFunc::storePB | ( | String & | fileName | ) |
Definition at line 112 of file VLACalcIlluminationConvFunc.h.
Referenced by setBandID(), and ~VLACalcIlluminationConvFunc().
TempImage<Complex> casa::VLACalcIlluminationConvFunc::convFunc_p [private] |
Definition at line 107 of file VLACalcIlluminationConvFunc.h.
Referenced by ftAperture().
Definition at line 111 of file VLACalcIlluminationConvFunc.h.
Definition at line 111 of file VLACalcIlluminationConvFunc.h.
Definition at line 110 of file VLACalcIlluminationConvFunc.h.
Referenced by ftAperture(), pbReady(), and VLACalcIlluminationConvFunc().
TempImage<Float> reAperture_p, imAperture_p;.
Definition at line 109 of file VLACalcIlluminationConvFunc.h.