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

#include <ALMACalcIlluminationConvFunc.h>

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

Public Member Functions

 ALMACalcIlluminationConvFunc ()
 
 ALMACalcIlluminationConvFunc (casacore::Int n)
 
 ~ALMACalcIlluminationConvFunc ()
 
void setBandID (casacore::Int)
 
void setAntRayPath (const casacore::String &antRayPath)
 
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, casacore::Double refFreq=-1.0)
 
void regridAperture (casacore::CoordinateSystem &skyCS, casacore::IPosition &skyShape, casacore::TempImage< casacore::Complex > &uvGrid, const VisBuffer &vb, casacore::Bool doSquint=true, casacore::Int bandID=-1)
 
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 regridAperture (casacore::CoordinateSystem &skyCS, casacore::IPosition &skyShape, casacore::TempImage< casacore::Complex > &uvGrid, const casacore::String &telescope, const casacore::MVFrequency &freqQ, casacore::Float pa=0., casacore::Bool doSquint=true, casacore::Int bandID=-1)
 
void applyPB (casacore::ImageInterface< casacore::Float > &pbImage, const VisBuffer &vb, casacore::Bool doSquint=false, casacore::Int cfKey=0)
 
void applyPB (casacore::ImageInterface< casacore::Complex > &pbImage, const VisBuffer &vb, casacore::Bool doSquint=true, casacore::Int cfKey=0)
 
void applyPB (casacore::ImageInterface< casacore::Float > &pbImage, const casacore::String &telescope, const casacore::MEpoch &obsTime, const casacore::String &antType0, const casacore::String &antType1, const casacore::MVFrequency &freqQ, casacore::Double pa=0., casacore::Bool doSquint=false)
 
void applyPB (casacore::ImageInterface< casacore::Complex > &pbImage, const casacore::String &telescope, const casacore::MEpoch &obsTime, const casacore::String &antType0, const casacore::String &antType1, const casacore::MVFrequency &freqQ, casacore::Double pa=0., casacore::Bool doSquint=true)
 
void applyVP (casacore::ImageInterface< casacore::Complex > &pbImage, const casacore::String &telescope, const casacore::MEpoch &obsTime, const casacore::String &antType0, const casacore::String &antType1, const casacore::MVFrequency &freqQ, casacore::Double pa=0., casacore::Bool doSquint=true)
 
void skyMuller (casacore::ImageInterface< casacore::Complex > &skyJones)
 
virtual void prepareConvFunction (const VisBuffer &, CFStore &)
 casacore::Int getALMABandId(const casacore::Double& freq); 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::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)
 
- 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)
 
void fillVP (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::Bool pbRead_p
 
casacore::Float freq_p
 
casacore::Float lastPA
 
ApertureCalcParams ap
 
casacore::Bool haveCannedResponses
 
casacore::String otherAntRayPath_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 45 of file ALMACalcIlluminationConvFunc.h.

Constructor & Destructor Documentation

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

Definition at line 50 of file ALMACalcIlluminationConvFunc.h.

References pbRead_p.

casa::ALMACalcIlluminationConvFunc::~ALMACalcIlluminationConvFunc ( )
inline

Definition at line 52 of file ALMACalcIlluminationConvFunc.h.

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

Member Function Documentation

void casa::ALMACalcIlluminationConvFunc::applyPB ( casacore::ImageInterface< casacore::Float > &  pbImage,
const VisBuffer vb,
casacore::Bool  doSquint = false,
casacore::Int  cfKey = 0 
)
void casa::ALMACalcIlluminationConvFunc::applyPB ( casacore::ImageInterface< casacore::Complex > &  pbImage,
const VisBuffer vb,
casacore::Bool  doSquint = true,
casacore::Int  cfKey = 0 
)
void casa::ALMACalcIlluminationConvFunc::applyPB ( casacore::ImageInterface< casacore::Float > &  pbImage,
const casacore::String telescope,
const casacore::MEpoch obsTime,
const casacore::String antType0,
const casacore::String antType1,
const casacore::MVFrequency freqQ,
casacore::Double  pa = 0.,
casacore::Bool  doSquint = false 
)
void casa::ALMACalcIlluminationConvFunc::applyPB ( casacore::ImageInterface< casacore::Complex > &  pbImage,
const casacore::String telescope,
const casacore::MEpoch obsTime,
const casacore::String antType0,
const casacore::String antType1,
const casacore::MVFrequency freqQ,
casacore::Double  pa = 0.,
casacore::Bool  doSquint = true 
)
void casa::ALMACalcIlluminationConvFunc::applyVP ( casacore::ImageInterface< casacore::Complex > &  pbImage,
const casacore::String telescope,
const casacore::MEpoch obsTime,
const casacore::String antType0,
const casacore::String antType1,
const casacore::MVFrequency freqQ,
casacore::Double  pa = 0.,
casacore::Bool  doSquint = true 
)
void casa::ALMACalcIlluminationConvFunc::fillPB ( casacore::ImageInterface< casacore::Complex > &  inImg,
casacore::ImageInterface< casacore::Float > &  outImg,
casacore::Bool  Square = false 
)
private
void casa::ALMACalcIlluminationConvFunc::fillPB ( casacore::ImageInterface< casacore::Complex > &  inImg,
casacore::ImageInterface< casacore::Complex > &  outImg,
casacore::Bool  Square = false 
)
private
void casa::ALMACalcIlluminationConvFunc::fillVP ( casacore::ImageInterface< casacore::Complex > &  inImg,
casacore::ImageInterface< casacore::Complex > &  outImg,
casacore::Bool  Square = false 
)
private
void casa::ALMACalcIlluminationConvFunc::ftAperture ( casacore::TempImage< casacore::Complex > &  uvgrid)
void casa::ALMACalcIlluminationConvFunc::ftAperture ( )
inline

Definition at line 62 of file ALMACalcIlluminationConvFunc.h.

References convFunc_p, ftAperture(), and pbRead_p.

Referenced by ftAperture().

void casa::ALMACalcIlluminationConvFunc::getIdealConvFunc ( casacore::Array< casacore::Complex > &  buf)
void casa::ALMACalcIlluminationConvFunc::loadFromImage ( casacore::String fileName)
casacore::CoordinateSystem casa::ALMACalcIlluminationConvFunc::makeUVCoords ( casacore::CoordinateSystem imageCoordSys,
casacore::IPosition shape,
casacore::Double  refFreq = -1.0 
)
casacore::Bool casa::ALMACalcIlluminationConvFunc::pbReady ( )
inline

Definition at line 65 of file ALMACalcIlluminationConvFunc.h.

References pbRead_p.

virtual void casa::ALMACalcIlluminationConvFunc::prepareConvFunction ( const VisBuffer ,
CFStore  
)
inlinevirtual

casacore::Int getALMABandId(const casacore::Double& freq);

Reimplemented from casa::TabulatedConvFunc.

Definition at line 117 of file ALMACalcIlluminationConvFunc.h.

void casa::ALMACalcIlluminationConvFunc::regridAperture ( casacore::CoordinateSystem skyCS,
casacore::IPosition skyShape,
casacore::TempImage< casacore::Complex > &  uvGrid,
const VisBuffer vb,
casacore::Bool  doSquint = true,
casacore::Int  bandID = -1 
)
void casa::ALMACalcIlluminationConvFunc::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::ALMACalcIlluminationConvFunc::regridAperture ( casacore::CoordinateSystem skyCS,
casacore::IPosition skyShape,
casacore::TempImage< casacore::Complex > &  uvGrid,
const casacore::String telescope,
const casacore::MVFrequency freqQ,
casacore::Float  pa = 0.,
casacore::Bool  doSquint = true,
casacore::Int  bandID = -1 
)
void casa::ALMACalcIlluminationConvFunc::setAntRayPath ( const casacore::String antRayPath)
inline

Definition at line 57 of file ALMACalcIlluminationConvFunc.h.

References otherAntRayPath_p.

void casa::ALMACalcIlluminationConvFunc::setBandID ( casacore::Int  )
inline

Definition at line 55 of file ALMACalcIlluminationConvFunc.h.

void casa::ALMACalcIlluminationConvFunc::skyMuller ( casacore::ImageInterface< casacore::Complex > &  skyJones)
void casa::ALMACalcIlluminationConvFunc::storePB ( casacore::String fileName)

Member Data Documentation

ApertureCalcParams casa::ALMACalcIlluminationConvFunc::ap
private

Definition at line 131 of file ALMACalcIlluminationConvFunc.h.

Referenced by ~ALMACalcIlluminationConvFunc().

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

Definition at line 127 of file ALMACalcIlluminationConvFunc.h.

Referenced by ftAperture().

casacore::Float casa::ALMACalcIlluminationConvFunc::freq_p
private

Definition at line 130 of file ALMACalcIlluminationConvFunc.h.

casacore::Bool casa::ALMACalcIlluminationConvFunc::haveCannedResponses
private

Definition at line 133 of file ALMACalcIlluminationConvFunc.h.

casacore::Float casa::ALMACalcIlluminationConvFunc::lastPA
private

Definition at line 130 of file ALMACalcIlluminationConvFunc.h.

casacore::String casa::ALMACalcIlluminationConvFunc::otherAntRayPath_p
private

Definition at line 135 of file ALMACalcIlluminationConvFunc.h.

Referenced by setAntRayPath().

casacore::Bool casa::ALMACalcIlluminationConvFunc::pbRead_p
private
casacore::Vector<casacore::Double> casa::ALMACalcIlluminationConvFunc::resolution
private

Definition at line 128 of file ALMACalcIlluminationConvFunc.h.


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