28 #ifndef CASA_MVRADIALVELOCITY_H
29 #define CASA_MVRADIALVELOCITY_H
42 template <
class T>
class Quantum;
149 virtual void print(ostream &os)
const;
virtual void print(ostream &os) const
Print data.
Bool nearAbs(const MVRadialVelocity &other, Double tol=1e-13) const
Double makeF(const Unit &dt) const
Get correct data type conversion factor from input Quantum.
MVRadialVelocity & operator-=(const MVRadialVelocity &other)
virtual void putVector(const Vector< Double > &in)
Set the value from internal units (set 0 for empty vector)
Internal value for MRadialVelocity.
Base class for values in a Measure.
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Set the internal value if correct values and dimensions.
Vector< Double > shiftFrequency(const Vector< Double > &freq) const
Shift the input frequencies to the output frequencies.
Bool near(const MVRadialVelocity &other, Double tol=1e-13) const
MVRadialVelocity & operator+=(const MVRadialVelocity &other)
Addition.
MVRadialVelocity & operator=(const MVRadialVelocity &other)
Copy assignment.
bool Bool
Define the standard types used by Casacore.
virtual MeasValue * clone() const
Clone.
virtual Vector< Double > getVector() const
Get the value in internal units.
MVRadialVelocity()
Default constructor: generate a zero value.
Bool operator==(const MVRadialVelocity &other) const
Comparisons.
const Double e
e and functions thereof:
Bool operator!=(const MVRadialVelocity &other) const
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
Double getValue() const
Adjust value: taken from base class, a NOP.
static void assure(const MeasValue &in)
Tell me your type.
~MVRadialVelocity()
Destructor.