#include <ALMACalcIlluminationConvFunc.h>
Public Member Functions | |
ALMACalcIlluminationConvFunc () | |
ALMACalcIlluminationConvFunc (Int n) | |
~ALMACalcIlluminationConvFunc () | |
void | setBandID (Int) |
void | setAntRayPath (const String &antRayPath) |
void | loadFromImage (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) |
void | regridAperture (CoordinateSystem &skyCS, IPosition &skyShape, TempImage< Complex > &uvGrid, const VisBuffer &vb, const Vector< Float > &paList, Bool doSquint, Int bandID) |
void | regridAperture (CoordinateSystem &skyCS, IPosition &skyShape, TempImage< Complex > &uvGrid, const String &telescope, const MVFrequency &freqQ, Float pa=0., Bool doSquint=True, Int bandID=-1) |
void | applyPB (ImageInterface< Float > &pbImage, const VisBuffer &vb, Bool doSquint=False, Int cfKey=0) |
void | applyPB (ImageInterface< Complex > &pbImage, const VisBuffer &vb, Bool doSquint=True, Int cfKey=0) |
void | applyPB (ImageInterface< Float > &pbImage, const String &telescope, const MEpoch &obsTime, const String &antType0, const String &antType1, const MVFrequency &freqQ, Double pa=0., Bool doSquint=False) |
void | applyPB (ImageInterface< Complex > &pbImage, const String &telescope, const MEpoch &obsTime, const String &antType0, const String &antType1, const MVFrequency &freqQ, Double pa=0., Bool doSquint=True) |
void | applyVP (ImageInterface< Complex > &pbImage, const String &telescope, const MEpoch &obsTime, const String &antType0, const String &antType1, const MVFrequency &freqQ, Double pa=0., Bool doSquint=True) |
void | skyMuller (ImageInterface< Complex > &skyJones) |
virtual void | prepareConvFunction (const VisBuffer &, CFStore &) |
Int getALMABandId(const Double& freq);. | |
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) |
void | fillVP (ImageInterface< Complex > &inImg, ImageInterface< Complex > &outImg, Bool Square=False) |
Private Attributes | |
TempImage< Complex > | convFunc_p |
Vector< Double > | resolution |
Bool | pbRead_p |
Float | freq_p |
Float | lastPA |
ApertureCalcParams | ap |
Bool | haveCannedResponses |
String | otherAntRayPath_p |
Definition at line 45 of file ALMACalcIlluminationConvFunc.h.
casa::ALMACalcIlluminationConvFunc::ALMACalcIlluminationConvFunc | ( | ) |
casa::ALMACalcIlluminationConvFunc::ALMACalcIlluminationConvFunc | ( | Int | n | ) | [inline] |
Definition at line 50 of file ALMACalcIlluminationConvFunc.h.
References casacore::False, and pbRead_p.
casa::ALMACalcIlluminationConvFunc::~ALMACalcIlluminationConvFunc | ( | ) | [inline] |
Definition at line 52 of file ALMACalcIlluminationConvFunc.h.
References ap, and casa::ApertureCalcParams::aperture.
void casa::ALMACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Complex > & | pbImage, | |
const String & | telescope, | |||
const MEpoch & | obsTime, | |||
const String & | antType0, | |||
const String & | antType1, | |||
const MVFrequency & | freqQ, | |||
Double | pa = 0. , |
|||
Bool | doSquint = True | |||
) |
void casa::ALMACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Float > & | pbImage, | |
const String & | telescope, | |||
const MEpoch & | obsTime, | |||
const String & | antType0, | |||
const String & | antType1, | |||
const MVFrequency & | freqQ, | |||
Double | pa = 0. , |
|||
Bool | doSquint = False | |||
) |
void casa::ALMACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Complex > & | pbImage, | |
const VisBuffer & | vb, | |||
Bool | doSquint = True , |
|||
Int | cfKey = 0 | |||
) |
void casa::ALMACalcIlluminationConvFunc::applyPB | ( | ImageInterface< Float > & | pbImage, | |
const VisBuffer & | vb, | |||
Bool | doSquint = False , |
|||
Int | cfKey = 0 | |||
) |
void casa::ALMACalcIlluminationConvFunc::applyVP | ( | ImageInterface< Complex > & | pbImage, | |
const String & | telescope, | |||
const MEpoch & | obsTime, | |||
const String & | antType0, | |||
const String & | antType1, | |||
const MVFrequency & | freqQ, | |||
Double | pa = 0. , |
|||
Bool | doSquint = True | |||
) |
void casa::ALMACalcIlluminationConvFunc::fillPB | ( | ImageInterface< Complex > & | inImg, | |
ImageInterface< Complex > & | outImg, | |||
Bool | Square = False | |||
) | [private] |
void casa::ALMACalcIlluminationConvFunc::fillPB | ( | ImageInterface< Complex > & | inImg, | |
ImageInterface< Float > & | outImg, | |||
Bool | Square = False | |||
) | [private] |
void casa::ALMACalcIlluminationConvFunc::fillVP | ( | ImageInterface< Complex > & | inImg, | |
ImageInterface< Complex > & | outImg, | |||
Bool | Square = False | |||
) | [private] |
void casa::ALMACalcIlluminationConvFunc::ftAperture | ( | ) | [inline] |
Definition at line 62 of file ALMACalcIlluminationConvFunc.h.
References convFunc_p, ftAperture(), pbRead_p, and casacore::True.
Referenced by ftAperture().
void casa::ALMACalcIlluminationConvFunc::ftAperture | ( | TempImage< Complex > & | uvgrid | ) |
void casa::ALMACalcIlluminationConvFunc::getIdealConvFunc | ( | Array< Complex > & | buf | ) |
void casa::ALMACalcIlluminationConvFunc::loadFromImage | ( | String & | fileName | ) |
CoordinateSystem casa::ALMACalcIlluminationConvFunc::makeUVCoords | ( | CoordinateSystem & | imageCoordSys, | |
IPosition & | shape, | |||
Double | refFreq = -1.0 | |||
) |
Bool casa::ALMACalcIlluminationConvFunc::pbReady | ( | ) | [inline] |
Definition at line 65 of file ALMACalcIlluminationConvFunc.h.
References pbRead_p.
virtual void casa::ALMACalcIlluminationConvFunc::prepareConvFunction | ( | const VisBuffer & | , | |
CFStore & | ||||
) | [inline, virtual] |
Int getALMABandId(const Double& freq);.
Reimplemented from casa::TabulatedConvFunc.
Definition at line 117 of file ALMACalcIlluminationConvFunc.h.
void casa::ALMACalcIlluminationConvFunc::regridAperture | ( | CoordinateSystem & | skyCS, | |
IPosition & | skyShape, | |||
TempImage< Complex > & | uvGrid, | |||
const String & | telescope, | |||
const MVFrequency & | freqQ, | |||
Float | pa = 0. , |
|||
Bool | doSquint = True , |
|||
Int | bandID = -1 | |||
) |
void casa::ALMACalcIlluminationConvFunc::regridAperture | ( | CoordinateSystem & | skyCS, | |
IPosition & | skyShape, | |||
TempImage< Complex > & | uvGrid, | |||
const VisBuffer & | vb, | |||
const Vector< Float > & | paList, | |||
Bool | doSquint, | |||
Int | bandID | |||
) |
void casa::ALMACalcIlluminationConvFunc::regridAperture | ( | CoordinateSystem & | skyCS, | |
IPosition & | skyShape, | |||
TempImage< Complex > & | uvGrid, | |||
const VisBuffer & | vb, | |||
Bool | doSquint = True , |
|||
Int | bandID = -1 | |||
) |
void casa::ALMACalcIlluminationConvFunc::setAntRayPath | ( | const String & | antRayPath | ) | [inline] |
Definition at line 57 of file ALMACalcIlluminationConvFunc.h.
References otherAntRayPath_p.
void casa::ALMACalcIlluminationConvFunc::setBandID | ( | Int | ) | [inline] |
Definition at line 55 of file ALMACalcIlluminationConvFunc.h.
void casa::ALMACalcIlluminationConvFunc::skyMuller | ( | ImageInterface< Complex > & | skyJones | ) |
void casa::ALMACalcIlluminationConvFunc::storePB | ( | String & | fileName | ) |
Definition at line 131 of file ALMACalcIlluminationConvFunc.h.
Referenced by ~ALMACalcIlluminationConvFunc().
TempImage<Complex> casa::ALMACalcIlluminationConvFunc::convFunc_p [private] |
Definition at line 127 of file ALMACalcIlluminationConvFunc.h.
Referenced by ftAperture().
Float casa::ALMACalcIlluminationConvFunc::freq_p [private] |
Definition at line 130 of file ALMACalcIlluminationConvFunc.h.
Bool casa::ALMACalcIlluminationConvFunc::haveCannedResponses [private] |
Definition at line 133 of file ALMACalcIlluminationConvFunc.h.
Float casa::ALMACalcIlluminationConvFunc::lastPA [private] |
Definition at line 130 of file ALMACalcIlluminationConvFunc.h.
String casa::ALMACalcIlluminationConvFunc::otherAntRayPath_p [private] |
Definition at line 135 of file ALMACalcIlluminationConvFunc.h.
Referenced by setAntRayPath().
Bool casa::ALMACalcIlluminationConvFunc::pbRead_p [private] |
Definition at line 129 of file ALMACalcIlluminationConvFunc.h.
Referenced by ALMACalcIlluminationConvFunc(), ftAperture(), and pbReady().
Vector<Double> casa::ALMACalcIlluminationConvFunc::resolution [private] |
Definition at line 128 of file ALMACalcIlluminationConvFunc.h.