kalzium/libscience
spectrum.cpp
Go to the documentation of this file.
42 return KUnitConversion::Value( minPeak(), KUnitConversion::Angstrom ).convertTo( unit ).number();
61 return KUnitConversion::Value( maxPeak(), KUnitConversion::Angstrom ).convertTo( unit ).number();
131 return KUnitConversion::Value( wavelength, KUnitConversion::Angstrom ).convertTo( unit ).number();
void addPeak(Spectrum::peak *b)
adds the peak b to the internal lists of peaks
Definition: spectrum.h:75
int parentElementNumber() const
If the spectrum belongs to Iron, this method will return "26".
Definition: spectrum.cpp:113
Definition: spectrum.h:35
void append(const T &value)
Spectrum * adjustToWavelength(double min, double max)
Definition: spectrum.cpp:65
void adjustIntensities()
sets the highest intensity to 1000 and adjusts the others
Definition: spectrum.cpp:78
QList< double > wavelengths(double min, double max)
Definition: spectrum.cpp:100
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.