#include <OpenMS/IONMOBILITY/IMTypes.h>
|
| static constexpr double | DRIFTTIME_NOT_SET = -1.0 |
| | If drift time for a spectrum is unavailable (i.e. not an IM spectrum), it will have this value.
|
| |
◆ determineIMFormat() [1/2]
Checks only spectra of the given MS level for their IM format and returns the common type. If no spectra of ms_level exist or none have IM data, IMFormat::NONE is returned.
- Exceptions
-
◆ determineIMFormat() [2/2]
Checks for existence of a single driftTime (using spec.getDriftTime()) or an ion-mobility float data array (using spec.hasIMData())
If neither is found, IMFormat::NONE is returned. If a single drift time (== IMFormat::IM_SPECTRUM) is found, but no unit, a warning is issued.
- Exceptions
-
◆ fromIMUnit()
◆ DRIFTTIME_NOT_SET
| constexpr double DRIFTTIME_NOT_SET = -1.0 |
|
inlinestaticconstexpr |
If drift time for a spectrum is unavailable (i.e. not an IM spectrum), it will have this value.