casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::VLACalcIlluminationConvFunc Class Reference

Int getVLABandID(Double& freq,String&telescopeName);. More...

#include <VLACalcIlluminationConvFunc.h>

Inheritance diagram for casa::VLACalcIlluminationConvFunc:
casa::IlluminationConvFunc casa::TabulatedConvFunc casa::ConvolutionFunction

List of all members.

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< Doubleresolution
 TempImage<Float> reAperture_p, imAperture_p;.
Bool pbRead_p
Float freq_p
Float lastPA
ApertureCalcParams ap

Detailed Description

Int getVLABandID(Double& freq,String&telescopeName);.

Definition at line 46 of file VLACalcIlluminationConvFunc.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Definition at line 61 of file VLACalcIlluminationConvFunc.h.

References convFunc_p, ftAperture(), pbRead_p, and casa::True.

Referenced by ftAperture().

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.

Parameters:
theavgPBTempImage<Float>& theavgPB,

Reimplemented from casa::IlluminationConvFunc.

Definition at line 94 of file VLACalcIlluminationConvFunc.h.

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 
)

Definition at line 54 of file VLACalcIlluminationConvFunc.h.

References ap, and casa::ApertureCalcParams::band.


Member Data Documentation

Definition at line 112 of file VLACalcIlluminationConvFunc.h.

Referenced by setBandID(), and ~VLACalcIlluminationConvFunc().

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.


The documentation for this class was generated from the following file: