29 #ifndef SYNTHESIS_PBMATHINTERFACE_H
30 #define SYNTHESIS_PBMATHINTERFACE_H
44 class CoordinateSystem;
A Measure: astronomical direction.
static casacore::Float asFloat(const casacore::Complex &value)
Functions to deal with conversions to Float.
virtual void setUseSymmetric(casacore::Bool useSym=true)
Fit an azimuthally symmetric beam to the squinted or otherwise 2-D beam for casacore::Stokes I...
virtual casacore::ImageRegion * extent(const casacore::ImageInterface< casacore::Complex > &im, const casacore::MDirection &pointing, const casacore::Int row, const casacore::Float fPad, const casacore::Int iChan, const SkyJones::SizeType)=0
Get the casacore::ImageRegion of the primary beam on an Image for a given pointing Note: casacore::Im...
virtual casacore::Bool ok()=0
Is state of PBMath object OK?
encapsulates beam squint (RR and LL beams at different directions)
static casacore::Float asFloat(const casacore::Double &value)
std::complex< Float > Complex
casacore::ImageInterface< casacore::Complex > & applyPB(const casacore::ImageInterface< casacore::Complex > &in, casacore::ImageInterface< casacore::Complex > &out, const casacore::MDirection &sp, const casacore::Quantity parAngle=casacore::Quantity(0.0,"deg"), const BeamSquint::SquintType doSquint=BeamSquint::NONE, casacore::Bool inverse=false, casacore::Float cutoff=0.01, casacore::Bool forward=true)
virtual casacore::ImageInterface< casacore::Complex > & apply(const casacore::ImageInterface< casacore::Complex > &in, casacore::ImageInterface< casacore::Complex > &out, const casacore::MDirection &sp, const casacore::Quantity parAngle, const BeamSquint::SquintType doSquint, casacore::Bool Inverse, casacore::Bool Conjugate, casacore::Int ipower, casacore::Float cutoff, casacore::Bool forward)=0
lower level helping apply methods
casacore::ImageInterface< casacore::Float > & applyPB2(const casacore::ImageInterface< casacore::Float > &in, casacore::ImageInterface< casacore::Float > &out, const casacore::MDirection &sp, const casacore::Quantity parAngle=casacore::Quantity(0.0,"deg"), const BeamSquint::SquintType doSquint=BeamSquint::NONE, casacore::Float cutoff=0.01)
This has a very specialized role (in SkyEquation) and should not be used elsewhere.
Primary beam envelope class, derived from PBMathInterface.
SquintType
Allowed Squints: NONE = no squint: PB is centered on the pointing center RR = PB is shifted from poin...
casacore::ImageInterface< casacore::Complex > & applyVP(const casacore::ImageInterface< casacore::Complex > &in, casacore::ImageInterface< casacore::Complex > &out, const casacore::MDirection &sp, const casacore::Quantity parAngle=casacore::Quantity(0.0,"deg"), const BeamSquint::SquintType doSquint=BeamSquint::NONE, casacore::Bool inverse=false, casacore::Bool conjugate=false, casacore::Float cutoff=0.01, casacore::Bool forward=true)
Apply Jones matrix to an image (and adjoint)
virtual ~PBMathInterface()=0
virtual destructor
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
PBClass
Allowed PBMath Classes.
static casacore::Float asFloat(const casacore::DComplex &value)
virtual void setBandOrFeedName(const casacore::String elnamo)
virtual void summary(casacore::Int nValues=0)
Summarize the Voltage Pattern; For PBMath1D, list nValues worth of the PB array.
casacore::Bool isThisVP_p
Are the parameters being provided in the derived class constructor describing a Voltage Pattern or a ...
void namePBClass(casacore::String &name)
Convert PBClass enumeration into PBClass String.
virtual casacore::Bool getUseSymmetric()
Get value of useSymmetric.
casacore::Matrix< T > inverse(const casacore::Matrix< T > &A)
std::complex< Double > DComplex
static casacore::Float asFloat(const casacore::Float &value)
bool Bool
Define the standard types used by Casacore.
virtual casacore::Int support(const casacore::CoordinateSystem &cs)=0
virtual PBClass whichPBClass()=0
Which PBClass is this one?
Class to hold a region of interest in an image.
casacore::Bool useSymmetricBeam_p
Should we use the effective az-symmetrical primary beam? Otherwise, use squinted beam; if no squint...
PBMathInterface()
Dumb constructor: protected, as it won't do you any good!
A component of a model of the sky.
String: the storage and methods of handling collections of characters.
Virtual base class defining the Primary Beam interface.
Matrix< casacore::Complex > conjugate(const casacore::Matrix< casacore::Complex > &A)
complex space function specifications
Interconvert pixel and world coordinates.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
casacore::String bandOrFeedName_p
BeamSquint squint_p
Beam squint: convention is AZ-EL offset of the casacore::Stokes RR beam w.r.t.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.