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::VLACalcIlluminationConvFunc Class Reference

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

#include <VLACalcIlluminationConvFunc.h>

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

Public Member Functions

 VLACalcIlluminationConvFunc ()
 
 VLACalcIlluminationConvFunc (casacore::Int n)
 
 ~VLACalcIlluminationConvFunc ()
 
void setBandID (casacore::Int bandID)
 
void loadFromImage (casacore::String &fileName)
 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); More...
 
void getIdealConvFunc (casacore::Array< casacore::Complex > &buf)
 
void ftAperture (casacore::TempImage< casacore::Complex > &uvgrid, casacore::Bool makeMueller)
 void ftAperture(casacore::TempImage<casacore::Complex>& uvgrid); More...
 
void ftAperture (casacore::TempImage< casacore::Complex > &uvgrid, casacore::Int makeMuerller=0)
 
void ftAperture ()
 
void storePB (casacore::String &fileName)
 
casacore::Bool pbReady ()
 
casacore::CoordinateSystem makeUVCoords (casacore::CoordinateSystem &imageCoordSys, casacore::IPosition &shape, casacore::Double refFreq=-1.0)
 
void regridAperture (casacore::CoordinateSystem &skyCS, casacore::IPosition &skyShape, casacore::TempImage< casacore::Complex > &uvGrid, casacore::Double &pa, casacore::Bool doSquint=true, casacore::Int bandID=-1, casacore::Int muellerTerm=0, casacore::Double freqVal=-1.0)
 
void regridAperture (casacore::CoordinateSystem &skyCS, casacore::IPosition &skyShape, casacore::TempImage< casacore::Complex > &uvGrid, const VisBuffer &vb, const casacore::Vector< casacore::Float > &paList, casacore::Bool doSquint, casacore::Int bandID)
 
void regridApertureEngine (ApertureCalcParams &ap, const casacore::Int &inStokes)
 
void setApertureParams (ApertureCalcParams &ap, const casacore::Float &Freq, const casacore::Float &pa, const casacore::Int &bandID, const casacore::Int &inStokes, const casacore::IPosition &skyShape, const casacore::Vector< casacore::Double > &uvIncr)
 
void applyPB (casacore::ImageInterface< casacore::Float > &pbImage, casacore::Double &pa, const casacore::Vector< casacore::Float > &paList, casacore::Int bandID, casacore::Bool doSquint=false)
 
void applyPB (casacore::ImageInterface< casacore::Float > &pbImage, casacore::Double &pa, casacore::Int bandID=-1, casacore::Bool doSquint=false, casacore::Double freqVal=-1.0)
 
void applyPB (casacore::ImageInterface< casacore::Complex > &pbImage, casacore::Double &pa, casacore::Bool doSquint=true, casacore::Int bandID=-1, casacore::Int muellerTerm=0, casacore::Double freqVal=-1.0)
 
void applyPBSq (casacore::ImageInterface< casacore::Float > &pbImage, casacore::Double &pa, const casacore::Vector< casacore::Float > &paList, casacore::Int bandID, casacore::Bool doSquint=false)
 
void applyPBSq (casacore::ImageInterface< casacore::Float > &pbImage, casacore::Double &pa, casacore::Int bandID=-1, casacore::Bool doSquint=false)
 
void applyPBSq (casacore::ImageInterface< casacore::Complex > &pbImage, casacore::Double &pa, casacore::Int bandID=-1, casacore::Bool doSquint=true)
 
void makeFullJones (casacore::ImageInterface< casacore::Complex > &pbImage, const VisBuffer &vb, casacore::Bool doSquint, casacore::Int bandID, casacore::Double freqVal=-1.0)
 
void skyMuller (casacore::ImageInterface< casacore::Complex > &skyJones)
 
void skyMuller (casacore::ImageInterface< casacore::Complex > &skyJones, casacore::Int muellerTerm=0)
 
void skyMuller (casacore::Array< casacore::Complex > &skyJones, const casacore::IPosition &shape, const casacore::Int &inStokes)
 
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::Bool makeAverageResponse (const VisBuffer &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool=true)
 This method computes the average response function. More...
 
- 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::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, casacore::Bool Square=false)
 
void fillPB (casacore::ImageInterface< casacore::Complex > &inImg, casacore::ImageInterface< casacore::Complex > &outImg, casacore::Bool Square=false)
 

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
 
casacore::Float lastPA
 
ApertureCalcParams ap
 

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

casacore::Int getVLABandID(casacore::Double& freq,casacore::String&telescopeName);

Definition at line 46 of file VLACalcIlluminationConvFunc.h.

Constructor & Destructor Documentation

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

Definition at line 51 of file VLACalcIlluminationConvFunc.h.

References pbRead_p.

casa::VLACalcIlluminationConvFunc::~VLACalcIlluminationConvFunc ( )
inline

Definition at line 55 of file VLACalcIlluminationConvFunc.h.

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

Member Function Documentation

void casa::VLACalcIlluminationConvFunc::applyPB ( casacore::ImageInterface< casacore::Float > &  pbImage,
casacore::Double pa,
const casacore::Vector< casacore::Float > &  paList,
casacore::Int  bandID,
casacore::Bool  doSquint = false 
)
void casa::VLACalcIlluminationConvFunc::applyPB ( casacore::ImageInterface< casacore::Float > &  pbImage,
casacore::Double pa,
casacore::Int  bandID = -1,
casacore::Bool  doSquint = false,
casacore::Double  freqVal = -1.0 
)
void casa::VLACalcIlluminationConvFunc::applyPB ( casacore::ImageInterface< casacore::Complex > &  pbImage,
casacore::Double pa,
casacore::Bool  doSquint = true,
casacore::Int  bandID = -1,
casacore::Int  muellerTerm = 0,
casacore::Double  freqVal = -1.0 
)
void casa::VLACalcIlluminationConvFunc::applyPBSq ( casacore::ImageInterface< casacore::Float > &  pbImage,
casacore::Double pa,
const casacore::Vector< casacore::Float > &  paList,
casacore::Int  bandID,
casacore::Bool  doSquint = false 
)
void casa::VLACalcIlluminationConvFunc::applyPBSq ( casacore::ImageInterface< casacore::Float > &  pbImage,
casacore::Double pa,
casacore::Int  bandID = -1,
casacore::Bool  doSquint = false 
)
void casa::VLACalcIlluminationConvFunc::applyPBSq ( casacore::ImageInterface< casacore::Complex > &  pbImage,
casacore::Double pa,
casacore::Int  bandID = -1,
casacore::Bool  doSquint = true 
)
void casa::VLACalcIlluminationConvFunc::fillPB ( casacore::ImageInterface< casacore::Complex > &  inImg,
casacore::ImageInterface< casacore::Float > &  outImg,
casacore::Bool  Square = false 
)
private
void casa::VLACalcIlluminationConvFunc::fillPB ( casacore::ImageInterface< casacore::Complex > &  inImg,
casacore::ImageInterface< casacore::Complex > &  outImg,
casacore::Bool  Square = false 
)
private
casacore::Bool casa::VLACalcIlluminationConvFunc::findSupport ( casacore::Array< casacore::Complex > &  func,
casacore::Float threshold,
casacore::Int origin,
casacore::Int R 
)
inlinevirtual
void casa::VLACalcIlluminationConvFunc::ftAperture ( casacore::TempImage< casacore::Complex > &  uvgrid,
casacore::Bool  makeMueller 
)

void ftAperture(casacore::TempImage<casacore::Complex>& uvgrid);

void casa::VLACalcIlluminationConvFunc::ftAperture ( casacore::TempImage< casacore::Complex > &  uvgrid,
casacore::Int  makeMuerller = 0 
)
void casa::VLACalcIlluminationConvFunc::ftAperture ( )
inline

Definition at line 66 of file VLACalcIlluminationConvFunc.h.

References convFunc_p, ftAperture(), and pbRead_p.

Referenced by ftAperture().

void casa::VLACalcIlluminationConvFunc::getIdealConvFunc ( casacore::Array< casacore::Complex > &  buf)
void casa::VLACalcIlluminationConvFunc::loadFromImage ( casacore::String fileName)

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);

virtual casacore::Bool casa::VLACalcIlluminationConvFunc::makeAverageResponse ( const VisBuffer vb,
const casacore::ImageInterface< casacore::Complex > &  image,
casacore::ImageInterface< casacore::Float > &  theavgPB,
casacore::Bool  reset = true 
)
inlinevirtual

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
theavgPBcasacore::TempImage<casacore::Float>& theavgPB,

Reimplemented from casa::IlluminationConvFunc.

Definition at line 115 of file VLACalcIlluminationConvFunc.h.

void casa::VLACalcIlluminationConvFunc::makeFullJones ( casacore::ImageInterface< casacore::Complex > &  pbImage,
const VisBuffer vb,
casacore::Bool  doSquint,
casacore::Int  bandID,
casacore::Double  freqVal = -1.0 
)
casacore::CoordinateSystem casa::VLACalcIlluminationConvFunc::makeUVCoords ( casacore::CoordinateSystem imageCoordSys,
casacore::IPosition shape,
casacore::Double  refFreq = -1.0 
)
casacore::Bool casa::VLACalcIlluminationConvFunc::pbReady ( )
inline

Definition at line 69 of file VLACalcIlluminationConvFunc.h.

References pbRead_p.

void casa::VLACalcIlluminationConvFunc::regridAperture ( casacore::CoordinateSystem skyCS,
casacore::IPosition skyShape,
casacore::TempImage< casacore::Complex > &  uvGrid,
casacore::Double pa,
casacore::Bool  doSquint = true,
casacore::Int  bandID = -1,
casacore::Int  muellerTerm = 0,
casacore::Double  freqVal = -1.0 
)
Parameters
paconst VisBuffer& vb,
void casa::VLACalcIlluminationConvFunc::regridAperture ( casacore::CoordinateSystem skyCS,
casacore::IPosition skyShape,
casacore::TempImage< casacore::Complex > &  uvGrid,
const VisBuffer vb,
const casacore::Vector< casacore::Float > &  paList,
casacore::Bool  doSquint,
casacore::Int  bandID 
)
void casa::VLACalcIlluminationConvFunc::regridApertureEngine ( ApertureCalcParams ap,
const casacore::Int inStokes 
)
void casa::VLACalcIlluminationConvFunc::setApertureParams ( ApertureCalcParams ap,
const casacore::Float Freq,
const casacore::Float pa,
const casacore::Int bandID,
const casacore::Int inStokes,
const casacore::IPosition skyShape,
const casacore::Vector< casacore::Double > &  uvIncr 
)
void casa::VLACalcIlluminationConvFunc::setBandID ( casacore::Int  bandID)
inline

Definition at line 57 of file VLACalcIlluminationConvFunc.h.

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

void casa::VLACalcIlluminationConvFunc::skyMuller ( casacore::ImageInterface< casacore::Complex > &  skyJones)
void casa::VLACalcIlluminationConvFunc::skyMuller ( casacore::ImageInterface< casacore::Complex > &  skyJones,
casacore::Int  muellerTerm = 0 
)
void casa::VLACalcIlluminationConvFunc::skyMuller ( casacore::Array< casacore::Complex > &  skyJones,
const casacore::IPosition shape,
const casacore::Int inStokes 
)
void casa::VLACalcIlluminationConvFunc::storePB ( casacore::String fileName)

Member Data Documentation

ApertureCalcParams casa::VLACalcIlluminationConvFunc::ap
private

Definition at line 133 of file VLACalcIlluminationConvFunc.h.

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

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

Definition at line 128 of file VLACalcIlluminationConvFunc.h.

Referenced by ftAperture().

casacore::Float casa::VLACalcIlluminationConvFunc::freq_p
private

Definition at line 132 of file VLACalcIlluminationConvFunc.h.

casacore::Float casa::VLACalcIlluminationConvFunc::lastPA
private

Definition at line 132 of file VLACalcIlluminationConvFunc.h.

casacore::Bool casa::VLACalcIlluminationConvFunc::pbRead_p
private

Definition at line 131 of file VLACalcIlluminationConvFunc.h.

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

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

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

Definition at line 130 of file VLACalcIlluminationConvFunc.h.


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