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

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

#include <VLACalcIlluminationConvFunc.h>

Inheritance diagram for casa::refim::VLACalcIlluminationConvFunc:
casa::refim::IlluminationConvFunc casa::refim::TabulatedConvFunc casa::refim::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 VisBuffer2 &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 VisBuffer2 &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 VisBuffer2 &, 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::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::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, 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::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

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

Definition at line 47 of file VLACalcIlluminationConvFunc.h.

Constructor & Destructor Documentation

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

Definition at line 52 of file VLACalcIlluminationConvFunc.h.

casa::refim::VLACalcIlluminationConvFunc::~VLACalcIlluminationConvFunc ( )
inline

Definition at line 56 of file VLACalcIlluminationConvFunc.h.

Member Function Documentation

void casa::refim::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::refim::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::refim::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::refim::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::refim::VLACalcIlluminationConvFunc::applyPBSq ( casacore::ImageInterface< casacore::Float > &  pbImage,
casacore::Double pa,
casacore::Int  bandID = -1,
casacore::Bool  doSquint = false 
)
void casa::refim::VLACalcIlluminationConvFunc::applyPBSq ( casacore::ImageInterface< casacore::Complex > &  pbImage,
casacore::Double pa,
casacore::Int  bandID = -1,
casacore::Bool  doSquint = true 
)
void casa::refim::VLACalcIlluminationConvFunc::fillPB ( casacore::ImageInterface< casacore::Complex > &  inImg,
casacore::ImageInterface< casacore::Float > &  outImg,
casacore::Bool  Square = false 
)
private
void casa::refim::VLACalcIlluminationConvFunc::fillPB ( casacore::ImageInterface< casacore::Complex > &  inImg,
casacore::ImageInterface< casacore::Complex > &  outImg,
casacore::Bool  Square = false 
)
private
casacore::Bool casa::refim::VLACalcIlluminationConvFunc::findSupport ( casacore::Array< casacore::Complex > &  func,
casacore::Float threshold,
casacore::Int origin,
casacore::Int R 
)
inlinevirtual
void casa::refim::VLACalcIlluminationConvFunc::ftAperture ( casacore::TempImage< casacore::Complex > &  uvgrid,
casacore::Bool  makeMueller 
)

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

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

Definition at line 67 of file VLACalcIlluminationConvFunc.h.

References ftAperture().

Referenced by ftAperture().

void casa::refim::VLACalcIlluminationConvFunc::getIdealConvFunc ( casacore::Array< casacore::Complex > &  buf)
void casa::refim::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::refim::VLACalcIlluminationConvFunc::makeAverageResponse ( const VisBuffer2 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::refim::IlluminationConvFunc.

Definition at line 116 of file VLACalcIlluminationConvFunc.h.

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

Definition at line 70 of file VLACalcIlluminationConvFunc.h.

void casa::refim::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 VisBuffer2& vb,
void casa::refim::VLACalcIlluminationConvFunc::regridAperture ( casacore::CoordinateSystem skyCS,
casacore::IPosition skyShape,
casacore::TempImage< casacore::Complex > &  uvGrid,
const VisBuffer2 vb,
const casacore::Vector< casacore::Float > &  paList,
casacore::Bool  doSquint,
casacore::Int  bandID 
)
void casa::refim::VLACalcIlluminationConvFunc::regridApertureEngine ( ApertureCalcParams ap,
const casacore::Int inStokes 
)
void casa::refim::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::refim::VLACalcIlluminationConvFunc::setBandID ( casacore::Int  bandID)
inline

Definition at line 58 of file VLACalcIlluminationConvFunc.h.

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

Member Data Documentation

ApertureCalcParams casa::refim::VLACalcIlluminationConvFunc::ap
private

Definition at line 134 of file VLACalcIlluminationConvFunc.h.

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

Definition at line 129 of file VLACalcIlluminationConvFunc.h.

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

Definition at line 133 of file VLACalcIlluminationConvFunc.h.

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

Definition at line 133 of file VLACalcIlluminationConvFunc.h.

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

Definition at line 132 of file VLACalcIlluminationConvFunc.h.

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

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

Definition at line 131 of file VLACalcIlluminationConvFunc.h.


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