casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::ConverterChannel Class Reference

Purpose of this class is to convert from channels= pixels to the world units/pixels used by the spectral axis. More...

#include <ConverterChannel.h>

Inheritance diagram for casa::ConverterChannel:
casa::Converter

List of all members.

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 ()

Detailed Description

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.


Constructor & Destructor Documentation

casa::ConverterChannel::ConverterChannel ( const QString &  oldUnits,
const QString &  newUnits 
)

Member Function Documentation

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.


The documentation for this class was generated from the following file: