#include <spectrum.h>
Public Types |
|
| typedef DataT | DataType |
| Typedefs. |
|
| typedef PositionT | PositionType |
| the data type used to store a
position (for peaks and data) |
|
| typedef PeakT | PeakType |
| The peak type. |
|
| typedef DataT::Iterator | Iterator |
| An iterator. |
|
| typedef DataT::ConstIterator | ConstIterator |
| A constant iterator. |
|
Public Member Functions |
|
| virtual void | clear () |
| Clear the spectrum. |
|
| virtual double | difference (const Spectrum< DataT, PeakT, PositionT > &spectrum) const |
| Calculate the difference between two
spectra. |
|
| virtual void | setSpacing (const PositionType &spacing) |
| virtual PositionType | getSpacing () const |
| Return the spacing. |
|
| Spectrum () | |
| Constructors and
Destructor. |
|
|
Accessors
|
|
| const DataType & | getData () const |
| DataType & | getData () |
Protected Attributes |
|
| DataType | data_ |
| PositionType | spacing_ |
| PositionType | min_ |
| PositionType | max_ |
| typedef DataT BALL::Spectrum< DataT, PeakT, PositionT >::DataType |
Typedefs.
The datatype used to store the spectrum
| void BALL::Spectrum< DataT, PeakT, PositionT >::clear | ( | ) | [virtual] |
Clear the spectrum.
Sets all data to zero.
1.5.8