28 #ifndef MEASURES_VELOCITYMACHINE_H
29 #define MEASURES_VELOCITYMACHINE_H
const Quantum< Double > & makeVelocity(Double in)
MFrequency::Types vfm_p
Velocity frame.
Quantum< Double > resv_p
Result.
const Quantum< Double > & makeFrequency(Double in)
Internal value for MFrequency.
void reCalculate()
Recalculate the machinery from the original inputs.
Unit fun_p
Frequency units.
Internal value for MDoppler.
MVFrequency rest_p
Rest frequency.
const Quantum< Double > & operator()(const MVFrequency &in)
Return velocity if frequency given, or a frequency if a velocity is given.
const Unit & getFrequencyUnits() const
Container for Measure frame.
MFrequency::Convert cvvf_p
Frequency conversion backward.
const Unit & getDopplerUnits() const
const MFrequency::Ref & getFrequencyReference() const
Get the general information used in the machine (shadows the sets above and the constructor arguments...
const MDoppler::Ref & getDopplerReference() const
Quantum< Vector< Double > > vresf_p
VelocityMachine & operator=(const VelocityMachine &other)
Copy assignment (copy semantics)
void set(const MFrequency::Ref &in)
Set or reset the specified part of the machine.
const MFrequency::Types & getConversionReference() const
Quantum< Vector< Double > > vresv_p
Converts between velocities and frequencies.
const MVFrequency & getRestFrequency() const
void init()
Initialise machinery.
MDoppler::Convert cvvo_p
Velocity conversion forward.
VelocityMachine()
Construct an empty machine (not implemented)
void copy(const VelocityMachine &other)
Copy data members.
MFrequency::Ref fref_p
Frequency reference.
Unit vun_p
Velocity units.
MDoppler::Convert cvov_p
Velocity conversion backward.
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
MDoppler::Ref vref_p
Velocity reference.
MFrequency::Convert cvfv_p
Frequency conversion forward.