29 #ifndef MEASURES_MDOPPLER_H
30 #define MEASURES_MDOPPLER_H
44 template <
class M>
class MeasConvert;
45 template <
class M>
class ArrayMeasColumn;
46 template <
class M>
class ScalarMeasColumn;
47 template <
class T>
class Quantum;
230 const uInt *&typ)
const;
MDoppler conversion routines.
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
virtual void checkTypes() const
Check if all internal tables of types (both enum and String) are complete and correct.
Internal value for MDoppler.
virtual const String & getDefaultType() const
Get the default reference type.
static void assure(const Measure &in)
A Measure: Doppler shift.
Physical quantities within reference frame.
ScalarMeasColumn< MDoppler > ScalarColumn
Measure table Columns (e.g., MDoppler::ScalarColumn)
virtual const String * allTypes(Int &nall, Int &nextra, const uInt *&typ) const
Get a list of all known reference codes.
Base class for all measures.
static Bool getType(MDoppler::Types &tp, const String &in)
Translate string to reference code.
MeasConvert< MDoppler > Convert
Measure Convert (i.e.
ArrayMeasColumn< MDoppler > ArrayColumn
Base class for values in a Measure.
virtual Measure * clone() const
Make a copy.
MeasRef< MDoppler > Ref
Measure reference (i.e.
static const String & showType(MDoppler::Types tp)
virtual Bool setOffset(const Measure &in)
Set the offset in the reference (False if non-matching Measure)
MVDoppler MVType
Measure value container for this class (i.e.
bool Bool
Define the standard types used by Casacore.
static MDoppler::Types castType(uInt tp)
Translate reference code.
static const String * allMyTypes(Int &nall, Int &nextra, const uInt *&typ)
Types
Types of known MDopplers Warning: The order defines the order in the translation matrix FromTo in th...
static const String & showMe()
virtual const String & tellMe() const
Tell me your type.
static void checkMyTypes()
MDoppler()
Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Meas...
virtual Bool setRefString(const String &in)
Set the reference type to the specified String.
String: the storage and methods of handling collections of characters.
Bool giveMe(MDoppler::Ref &mr, const String &in)
MCDoppler MCType
Measure conversion routines for this class (i.e.
Vector< Double > shiftFrequency(const Vector< Double > &freq) const
Shift the input frequencies to the output frequencies.