26 #ifndef CONVERTERVELOCITY_H_
27 #define CONVERTERVELOCITY_H_
virtual casacore::Vector< double > convert(const casacore::Vector< double > &oldValues, casacore::SpectralCoordinate spectralCoordinate)
virtual ~ConverterVelocity()
static void convertVelocity(casacore::Vector< double > &resultValues, QString &sourceUnits, QString &destUnits, casacore::SpectralCoordinate &coord)
Interconvert pixel and frequency values.
ConverterVelocity(const QString &oldUnits, const QString &newUnits)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
virtual double toPixel(double value, casacore::SpectralCoordinate spectralCoordinate)
Abstract methods to be implemented by subclasses.