casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::VLAIlluminationConvFunc Class Reference

#include <VLAIlluminationConvFunc.h>

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

Public Member Functions

 VLAIlluminationConvFunc (casacore::String fileName)
 
 VLAIlluminationConvFunc ()
 
 VLAIlluminationConvFunc (casacore::Int n)
 
 ~VLAIlluminationConvFunc ()
 
void load (casacore::String &fileName, casacore::Vector< casacore::Int > &whichStokes, casacore::Float overSampling=20, casacore::Bool putCoords=true)
 
void storeImg (casacore::String &fileName, casacore::ImageInterface< casacore::Complex > &img)
 
void storeImg (casacore::String &fileName, casacore::ImageInterface< casacore::Float > &img)
 
void store (casacore::String &fileName)
 
void loadFromImage (casacore::String &fileName)
 
void getIdealConvFunc (casacore::Array< casacore::Complex > &buf)
 
void ftAperture (casacore::TempImage< casacore::Complex > &uvgrid)
 
void ftAperture ()
 
void storePB (casacore::String &fileName)
 
casacore::Bool pbReady ()
 
casacore::CoordinateSystem makeUVCoords (casacore::CoordinateSystem &imageCoordSys, casacore::IPosition &shape)
 
void regridApeture (casacore::CoordinateSystem &skyCS, casacore::IPosition &skyShape, casacore::TempImage< casacore::Complex > &uvGrid, const VisBuffer &vb, casacore::Bool doSquint=true)
 
void applyPB (casacore::ImageInterface< casacore::Float > &pbImage, const VisBuffer &vb)
 
void applyPB (casacore::ImageInterface< casacore::Complex > &pbImage, const VisBuffer &vb)
 
void ftAperture (casacore::String &fileName, casacore::Vector< casacore::Int > &whichStokes, casacore::Float &overSampling, const casacore::CoordinateSystem &coordSys)
 
- Public Member Functions inherited from casa::IlluminationConvFunc
 IlluminationConvFunc ()
 
 IlluminationConvFunc (casacore::Int n)
 
 ~IlluminationConvFunc ()
 
IlluminationConvFuncoperator= (const IlluminationConvFunc &)
 
IlluminationConvFuncoperator= (const ConvolutionFunction &)
 
void initExpTable (casacore::Int n, CF_TYPE step)
 
void initCExpTable (casacore::Int n)
 
void setSigma (casacore::Double s)
 
casacore::Bool isReady ()
 
CF_TYPE area (casacore::Vector< casacore::Int > &convSupport, casacore::Vector< casacore::Double > &uvScale)
 
casacore::Vector< casacore::IntsupportSize (casacore::Vector< casacore::Double > &uvScale)
 
CF_TYPE getValue (casacore::Vector< CF_TYPE > &coord, casacore::Vector< CF_TYPE > &offset)
 Given the pixel co-ordinates and an offset values, this returns the value of the convolution function. More...
 
virtual CF_TYPE getValue (casacore::Double *coord, casacore::Double *raoff1, casacore::Double *raoff2, casacore::Double *decoff1, casacore::Double *decoff2, casacore::Double *area, casacore::Int *doGrad, casacore::Complex &weight, casacore::Complex &dweight1, casacore::Complex &dweight2, casacore::Double &currentCFPA)
 
int getVisParams (const casa::VisBuffer &vb, const casacore::CoordinateSystem &skyCoord=casacore::CoordinateSystem())
 A support function which, for now, returns and integer ID corresponding to the on-sky frequency of the supplied VisBuffer. More...
 
void makeConvFunction (const casacore::ImageInterface< std::complex< float > > &, const casa::VisBuffer &, casacore::Int, const casacore::CountedPtr< PolOuterProduct > &, casacore::Float, casacore::Float, const casacore::Vector< casacore::Double > &, const casacore::Vector< casacore::Double > &, const casacore::Matrix< casacore::Double > &, casa::CFStore2 &, casa::CFStore2 &, casacore::Bool)
 
void setPolMap (const casacore::Vector< int > &polMap)
 
void setFeedStokes (const casacore::Vector< int > &feedStokes)
 
void setParams (const casacore::Vector< int > &polMap, const casacore::Vector< int > &feedStokes)
 
casacore::Bool findSupport (casacore::Array< casacore::Complex > &, casacore::Float &, casacore::Int &, casacore::Int &)
 virtual void setFeedStokes(const casacore::Vector<casacore::Int>& feedStokes) = 0; More...
 
virtual casacore::Vector
< casacore::Double
findPointingOffset (const casacore::ImageInterface< casacore::Complex > &, const VisBuffer &)
 
virtual void prepareConvFunction (const VisBuffer &, VBRow2CFBMapType &)
 virtual void setParams(const casacore::Vector<casacore::Int>& polMap, const casacore::Vector<casacore::Int>& feedStokes) {setPolMap(polMap); setFeedStokes(feedStokes);}; More...
 
virtual casacore::Bool makeAverageResponse (const VisBuffer &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool)
 This method computes the average response function. More...
 
virtual casacore::Bool makeAverageResponse (const VisBuffer &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Complex > &, casacore::Bool)
 
- Public Member Functions inherited from casa::TabulatedConvFunc
 TabulatedConvFunc ()
 
 TabulatedConvFunc (casacore::Int n)
 
 ~TabulatedConvFunc ()
 
virtual void setMaximumCacheSize (const casacore::Long howManyRealPixels=-1)
 
virtual casacore::Long maximumCacheSize ()
 
virtual void initTables (casacore::Int)
 
virtual void prepareConvFunction (const VisBuffer &, CFStore &)
 
- Public Member Functions inherited from casa::ConvolutionFunction
 ConvolutionFunction ()
 
 ConvolutionFunction (casacore::Int dim)
 
virtual ~ConvolutionFunction ()
 
virtual void setDimension (casacore::Int n)
 Set the dimention of the convolution function. More...
 
virtual void makeConvFunction (const casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb, const casacore::Int wConvSize, const casacore::CountedPtr< PolOuterProduct > &pop, const casacore::Float pa, const casacore::Float dpa, const casacore::Vector< casacore::Double > &uvScale, const casacore::Vector< casacore::Double > &uvOffset, const casacore::Matrix< casacore::Double > &vbFreqSelection, CFStore2 &cfs, CFStore2 &cfwts, casacore::Bool fillCF=true)=0
 This method computes the convolution function and the convolution function used for gridding the weights (typically these are the same) and returns them in the cfs and cfwts parameters. More...
 
virtual void setSpwSelection (const casacore::Cube< casacore::Int > &spwChanSelFlag)
 
virtual void setSpwFreqSelection (const casacore::Matrix< casacore::Double > &spwFreqSel)
 
virtual void setRotateCF (const casacore::Double &computeCFAngleRad, const casacore::Double &rotateOTF)
 
virtual casacore::Matrix
< casacore::Int
makeBaselineList (const casacore::Vector< casacore::Int > &antList)
 
virtual casacore::Int mapAntIDToAntType (const casacore::Int &)
 
virtual void setMiscInfo (const casacore::RecordInterface &)
 
virtual casacore::CountedPtr
< CFTerms
getTerm (const casacore::String &)
 

Private Member Functions

void fillPB (casacore::ImageInterface< casacore::Complex > &inImg, casacore::ImageInterface< casacore::Float > &outImg)
 
void fillPB (casacore::ImageInterface< casacore::Complex > &inImg, casacore::ImageInterface< casacore::Complex > &outImg)
 

Private Attributes

casacore::TempImage
< casacore::Complex > 
convFunc_p
 
casacore::Vector
< casacore::Double
resolution
 casacore::TempImage<casacore::Float> reAperture_p, imAperture_p; More...
 
casacore::Bool pbRead_p
 
casacore::Float freq_p
 

Additional Inherited Members

- Protected Member Functions inherited from casa::ConvolutionFunction
casacore::LogIOlogIO ()
 
- Protected Attributes inherited from casa::ConvolutionFunction
casacore::LogIO logIO_p
 
casacore::Cube< casacore::IntspwChanSelFlag_p
 
casacore::Matrix
< casacore::Double
spwFreqSelection_p
 
casacore::Double computeCFAngleRad_p
 
casacore::Double rotateCFOTFAngleRad_p
 

Detailed Description

Definition at line 40 of file VLAIlluminationConvFunc.h.

Constructor & Destructor Documentation

casa::VLAIlluminationConvFunc::VLAIlluminationConvFunc ( casacore::String  fileName)
casa::VLAIlluminationConvFunc::VLAIlluminationConvFunc ( )
inline

Definition at line 44 of file VLAIlluminationConvFunc.h.

References pbRead_p.

casa::VLAIlluminationConvFunc::VLAIlluminationConvFunc ( casacore::Int  n)
inline

Definition at line 47 of file VLAIlluminationConvFunc.h.

References pbRead_p.

casa::VLAIlluminationConvFunc::~VLAIlluminationConvFunc ( )
inline

Definition at line 48 of file VLAIlluminationConvFunc.h.

Member Function Documentation

void casa::VLAIlluminationConvFunc::applyPB ( casacore::ImageInterface< casacore::Float > &  pbImage,
const VisBuffer vb 
)
void casa::VLAIlluminationConvFunc::applyPB ( casacore::ImageInterface< casacore::Complex > &  pbImage,
const VisBuffer vb 
)
void casa::VLAIlluminationConvFunc::fillPB ( casacore::ImageInterface< casacore::Complex > &  inImg,
casacore::ImageInterface< casacore::Float > &  outImg 
)
private
void casa::VLAIlluminationConvFunc::fillPB ( casacore::ImageInterface< casacore::Complex > &  inImg,
casacore::ImageInterface< casacore::Complex > &  outImg 
)
private
void casa::VLAIlluminationConvFunc::ftAperture ( casacore::TempImage< casacore::Complex > &  uvgrid)
void casa::VLAIlluminationConvFunc::ftAperture ( )
inline

Definition at line 58 of file VLAIlluminationConvFunc.h.

References convFunc_p, ftAperture(), and pbRead_p.

Referenced by ftAperture().

void casa::VLAIlluminationConvFunc::ftAperture ( casacore::String fileName,
casacore::Vector< casacore::Int > &  whichStokes,
casacore::Float overSampling,
const casacore::CoordinateSystem coordSys 
)
void casa::VLAIlluminationConvFunc::getIdealConvFunc ( casacore::Array< casacore::Complex > &  buf)
void casa::VLAIlluminationConvFunc::load ( casacore::String fileName,
casacore::Vector< casacore::Int > &  whichStokes,
casacore::Float  overSampling = 20,
casacore::Bool  putCoords = true 
)
void casa::VLAIlluminationConvFunc::loadFromImage ( casacore::String fileName)
casacore::CoordinateSystem casa::VLAIlluminationConvFunc::makeUVCoords ( casacore::CoordinateSystem imageCoordSys,
casacore::IPosition shape 
)
casacore::Bool casa::VLAIlluminationConvFunc::pbReady ( )
inline

Definition at line 61 of file VLAIlluminationConvFunc.h.

References pbRead_p.

void casa::VLAIlluminationConvFunc::regridApeture ( casacore::CoordinateSystem skyCS,
casacore::IPosition skyShape,
casacore::TempImage< casacore::Complex > &  uvGrid,
const VisBuffer vb,
casacore::Bool  doSquint = true 
)
void casa::VLAIlluminationConvFunc::store ( casacore::String fileName)
void casa::VLAIlluminationConvFunc::storeImg ( casacore::String fileName,
casacore::ImageInterface< casacore::Complex > &  img 
)
void casa::VLAIlluminationConvFunc::storeImg ( casacore::String fileName,
casacore::ImageInterface< casacore::Float > &  img 
)
void casa::VLAIlluminationConvFunc::storePB ( casacore::String fileName)

Member Data Documentation

casacore::TempImage<casacore::Complex> casa::VLAIlluminationConvFunc::convFunc_p
private

Definition at line 89 of file VLAIlluminationConvFunc.h.

Referenced by ftAperture().

casacore::Float casa::VLAIlluminationConvFunc::freq_p
private

Definition at line 93 of file VLAIlluminationConvFunc.h.

casacore::Bool casa::VLAIlluminationConvFunc::pbRead_p
private

Definition at line 92 of file VLAIlluminationConvFunc.h.

Referenced by ftAperture(), pbReady(), and VLAIlluminationConvFunc().

casacore::Vector<casacore::Double> casa::VLAIlluminationConvFunc::resolution
private

casacore::TempImage<casacore::Float> reAperture_p, imAperture_p;

Definition at line 91 of file VLAIlluminationConvFunc.h.


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