29 #ifndef COMPONENTS_GAUSSIANSHAPE_H
30 #define COMPONENTS_GAUSSIANSHAPE_H
42 template <
class Qtype>
class Quantum;
43 template <
class T>
class Matrix;
44 template <
class T>
class Vector;
A Measure: astronomical direction.
std::vector< double > Vector
Base class for component shapes with two sides.
virtual casacore::Double positionAngleInRad() const
virtual const ComponentShape * getPtr() const
return a pointer to this object.
virtual ComponentType::Shape type() const
get the type of the shape.
Shape
The shapes of all the components.
virtual casacore::String sizeToString() const
Get the string containing the various size quantities of a component.
virtual casacore::Double sample(const casacore::MDirection &direction, const casacore::MVAngle &pixelLatSize, const casacore::MVAngle &pixelLongSize) const
Calculate the proportion of the flux that is in a pixel of specified size centered in the specified d...
casacore::Quantum< casacore::Double > minorAxis() const
GaussianShape & operator=(const GaussianShape &other)
The assignment operator uses copy semantics.
virtual casacore::DComplex visibility(const casacore::Vector< casacore::Double > &uvw, const casacore::Double &frequency) const
Return the Fourier transform of the component at the specified point in the spatial frequency domain...
Base class for component shapes.
std::complex< Double > DComplex
virtual ~GaussianShape()
The destructor does nothing special.
bool Bool
Define the standard types used by Casacore.
virtual void setWidthInRad(const casacore::Double majorAxis, const casacore::Double minorAxis, const casacore::Double positionAngle)
set or return the width and orientation of the Gaussian.
casacore::Gaussian2D< casacore::Double > itsShape
virtual ComponentShape * clone() const
Return a pointer to a copy of this object upcast to a ComponentShape object.
virtual casacore::Double axialRatio() const
virtual casacore::Double minorAxisInRad() const
casacore::Quantum< casacore::Double > positionAngle() const
casacore::Gaussian2D< casacore::Double > itsFT
String: the storage and methods of handling collections of characters.
virtual casacore::Quantity getArea() const
TODO This probably should be made a pure virtual method in TwoSidedShape Return the effective area of...
virtual casacore::Double majorAxisInRad() const
GaussianShape()
The default GaussianShape is at the J2000 North Pole.
casacore::Quantum< casacore::Double > majorAxis() const
A Gaussian model for the spatial distribution of emission.
virtual casacore::Bool ok() const
casacore::Function which checks the internal data of this class for correct dimensionality and consis...
Class to handle angle type conversions and I/O.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.