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