29 #ifndef COMPONENTS_SKYCOMPBASE_H
30 #define COMPONENTS_SKYCOMPBASE_H
44 class RecordInterface;
47 template <
class T>
class Vector;
48 template <
class T>
class Matrix;
49 template <
class T>
class Cube;
50 template <
class Ms>
class MeasRef;
57 template <
class T>
class Flux;
A Measure: astronomical direction.
std::vector< double > Vector
virtual Flux< casacore::Double > sample(const casacore::MDirection &direction, const casacore::MVAngle &pixelLatSize, const casacore::MVAngle &pixelLongSize, const casacore::MFrequency ¢erFrequency) const =0
Calculate the flux at the specified direction & frequency, in a pixel of specified x & y size...
virtual Flux< casacore::Double > visibility(const casacore::Vector< casacore::Double > &uvw, const casacore::Double &frequency) const =0
Return the Fourier transform of the component at the specified point in the spatial frequency domain...
virtual casacore::Vector< casacore::Double > & optionalParameters()=0
return a reference to the label associated with this component.
virtual casacore::String & label()=0
return a reference to the label associated with this component.
virtual ~SkyCompBase()
The destructor does not anything.
virtual casacore::Bool toRecord(casacore::String &errorMessage, casacore::RecordInterface &record) const =0
Convert the class to an Record representation.
Base class for model components of the sky brightness.
virtual void setShape(const ComponentShape &newShape)=0
virtual const SpectralModel & spectrum() const =0
return a reference to the spectrum of the component.
virtual casacore::Bool ok() const =0
casacore::Function which checks the internal data of this class for correct dimensionality and consis...
A Measure: wave characteristics.
Base class for component shapes.
A class that represents the Flux (reference semantics)
virtual casacore::Bool isPhysical() const =0
Return true if the component parameters are physically plausable.
bool Bool
Define the standard types used by Casacore.
Base class for spectral models.
virtual const ComponentShape & shape() const =0
return a reference to the shape of the component.
virtual casacore::Bool fromRecord(casacore::String &errorMessage, const casacore::RecordInterface &record)=0
This functions convert between a record and a component.
String: the storage and methods of handling collections of characters.
Abstract base class for Record classes.
virtual const Flux< casacore::Double > & flux() const =0
return a reference to the flux of the component.
Class to handle angle type conversions and I/O.
virtual void setSpectrum(const SpectralModel &newSpectrum)=0
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.