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::refim::VLAIlluminationConvFunc Class Reference

#include <VLAIlluminationConvFunc.h>

Inheritance diagram for casa::refim::VLAIlluminationConvFunc:
casa::refim::IlluminationConvFunc casa::refim::TabulatedConvFunc casa::refim::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 VisBuffer2 &vb, casacore::Bool doSquint=true)
 
void applyPB (casacore::ImageInterface< casacore::Float > &pbImage, const VisBuffer2 &vb)
 
void applyPB (casacore::ImageInterface< casacore::Complex > &pbImage, const VisBuffer2 &vb)
 
void ftAperture (casacore::String &fileName, casacore::Vector< casacore::Int > &whichStokes, casacore::Float &overSampling, const casacore::CoordinateSystem &coordSys)
 
- Public Member Functions inherited from casa::refim::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 VisBuffer2 &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 VisBuffer2 &, 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 > &, CFStore2 &, 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 VisBuffer2 &)
 
VBRow2CFBMapType &*virtual void prepareConvFunction (const VisBuffer2 &, VB2CFBMap &)
 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 VisBuffer2 &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool)
 This method computes the average response function. More...
 
virtual casacore::Bool makeAverageResponse (const VisBuffer2 &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Complex > &, casacore::Bool)
 
virtual casacore::Vector
< casacore::Vector
< casacore::Double > > 
findPointingOffset (const casacore::ImageInterface< casacore::Complex > &, const VisBuffer2 &, const casacore::Bool &)
 
- Public Member Functions inherited from casa::refim::TabulatedConvFunc
 TabulatedConvFunc ()
 
 TabulatedConvFunc (casacore::Int n)
 
 ~TabulatedConvFunc ()
 
virtual void setMaximumCacheSize (const casacore::Long howManyRealPixels=-1)
 
virtual casacore::Long maximumCacheSize ()
 
virtual void initTables (casacore::Int)
 
- Public Member Functions inherited from casa::refim::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 VisBuffer2 &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 void setPointingOffsets (const casacore::CountedPtr< refim::PointingOffsets > &po)
 
virtual casacore::CountedPtr
< CFTerms
getTerm (const casacore::String &)
 
virtual int getOversampling ()
 

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::refim::ConvolutionFunction
casacore::LogIOlogIO ()
 
- Protected Attributes inherited from casa::refim::ConvolutionFunction
casacore::LogIO logIO_p
 
casacore::Cube< casacore::IntspwChanSelFlag_p
 
casacore::Matrix
< casacore::Double
spwFreqSelection_p
 
casacore::Double computeCFAngleRad_p
 
casacore::Double rotateCFOTFAngleRad_p
 
casacore::CountedPtr
< PointingOffsets
po_p
 

Detailed Description

Definition at line 41 of file VLAIlluminationConvFunc.h.

Constructor & Destructor Documentation

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

Definition at line 45 of file VLAIlluminationConvFunc.h.

References pbRead_p.

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

Definition at line 48 of file VLAIlluminationConvFunc.h.

References pbRead_p.

casa::refim::VLAIlluminationConvFunc::~VLAIlluminationConvFunc ( )
inline

Definition at line 49 of file VLAIlluminationConvFunc.h.

Member Function Documentation

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

Definition at line 59 of file VLAIlluminationConvFunc.h.

References convFunc_p, ftAperture(), and pbRead_p.

Referenced by ftAperture().

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

Definition at line 62 of file VLAIlluminationConvFunc.h.

References pbRead_p.

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

Member Data Documentation

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

Definition at line 90 of file VLAIlluminationConvFunc.h.

Referenced by ftAperture().

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

Definition at line 94 of file VLAIlluminationConvFunc.h.

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

Definition at line 93 of file VLAIlluminationConvFunc.h.

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

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

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

Definition at line 92 of file VLAIlluminationConvFunc.h.


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