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