25 #ifndef COMPONENT_LIMBDARKENED_DISKSHAPE_H
26 #define COMPONENT_LIMBDARKENED_DISKSHAPE_H
37 template <
class Qtype>
class Quantum;
38 template <
class T>
class Matrix;
39 template <
class T>
class Vector;
A Measure: astronomical direction.
LimbDarkenedDiskShape & operator=(const LimbDarkenedDiskShape &other)
The assignment operator.
casacore::Double itsMinValue
casacore::Double calcVis(casacore::Double u, casacore::Double v, const casacore::Double factor) const
A limb-darkened disk model for the spatial distribution of emission.
std::vector< double > Vector
Base class for component shapes with two sides.
virtual casacore::Double majorAxisInRad() const
virtual ComponentType::Shape type() const
get the type of the shape (always returns ComponentType::LimbDakenedDisk)
virtual ComponentShape * clone() const
Return a pointer to a copy of this object upcast to a ComponentShape object.
virtual void setOptParameters(const casacore::Vector< casacore::Double > &newOptParms)
Shape
The shapes of all the components.
virtual casacore::String sizeToString() const
Get the string containing the various size quantities of a component.
LimbDarkenedDiskShape()
Default constsructor.
virtual casacore::Double positionAngleInRad() const
virtual casacore::Float getAttnFactor() const
casacore::Double itsPaValue
virtual ~LimbDarkenedDiskShape()
The destructor.
casacore::Quantum< casacore::Double > minorAxis() const
static void rotateVis(casacore::Double &u, casacore::Double &v, const casacore::Double cpa, const casacore::Double spa)
Base class for component shapes.
std::complex< Double > DComplex
casacore::Double itsHeight
bool Bool
Define the standard types used by Casacore.
casacore::Double axialRatio() const
casacore::Float itsAttnFactor
virtual casacore::Double minorAxisInRad() const
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...
casacore::Double calcSample(const casacore::MDirection::MVType &compDirValue, const casacore::MDirection::MVType &dirVal, const casacore::Double majRad, const casacore::Double minRad, const casacore::Double pixValue) const
virtual void setAttnFactor(const casacore::Float attnFactor)
set n factor in darkening equation,
casacore::Quantum< casacore::Double > positionAngle() const
virtual void setWidthInRad(const casacore::Double majorAxis, const casacore::Double minorAxis, const casacore::Double positionAngle)
use diskshape ones?
casacore::Double itsMajValue
virtual const ComponentShape * getPtr() const
return a pointer to this object.
virtual casacore::Vector< casacore::Double > optParameters() const
String: the storage and methods of handling collections of characters.
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...
Vector of three direction cosines.
casacore::Quantum< casacore::Double > majorAxis() const
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.