Purpose of this class is to convert from channels= pixels to the world units/pixels used by the spectral axis. More...
#include <ConverterChannel.h>
Public Member Functions | |
ConverterChannel (const QString &oldUnits, const QString &newUnits) | |
virtual double | toPixel (double value, SpectralCoordinate spectralCoordinate) |
Abstract methods to be implemented by subclasses. | |
virtual Vector< double > | convert (const Vector< double > &oldValues, SpectralCoordinate spectralCoordinate) |
virtual double | convert (double oldValue, SpectralCoordinate spectralCoordinate) |
virtual | ~ConverterChannel () |
Purpose of this class is to convert from channels= pixels to the world units/pixels used by the spectral axis.
Definition at line 34 of file ConverterChannel.h.
casa::ConverterChannel::ConverterChannel | ( | const QString & | oldUnits, | |
const QString & | newUnits | |||
) |
virtual casa::ConverterChannel::~ConverterChannel | ( | ) | [virtual] |
virtual double casa::ConverterChannel::convert | ( | double | oldValue, | |
SpectralCoordinate | spectralCoordinate | |||
) | [virtual] |
Reimplemented from casa::Converter.
virtual Vector<double> casa::ConverterChannel::convert | ( | const Vector< double > & | oldValues, | |
SpectralCoordinate | spectralCoordinate | |||
) | [virtual] |
Implements casa::Converter.
virtual double casa::ConverterChannel::toPixel | ( | double | value, | |
SpectralCoordinate | coordinate | |||
) | [virtual] |
Abstract methods to be implemented by subclasses.
Implements casa::Converter.