casa
$Rev:20696$
|
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) |
Abstract methods to be implemented by subclasses. | |
virtual Vector< double > | convert (const Vector< double > &oldValues) |
virtual double | convert (double oldValue) |
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 Vector<double> casa::ConverterChannel::convert | ( | const Vector< double > & | oldValues | ) | [virtual] |
Implements casa::Converter.
virtual double casa::ConverterChannel::convert | ( | double | oldValue | ) | [virtual] |
Reimplemented from casa::Converter.
virtual double casa::ConverterChannel::toPixel | ( | double | value | ) | [virtual] |
Abstract methods to be implemented by subclasses.
virtual float convert( float oldValue ) const = 0;
Implements casa::Converter.