88 inline static constexpr
double DRIFTTIME_NOT_SET = -1.0;
static IMFormat determineIMFormat(const MSExperiment &exp)
static IMFormat determineIMFormat(const MSSpectrum &spec)
Checks for existence of a single driftTime (using spec.getDriftTime()) or an ion-mobility float data ...
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:73
The representation of a 1D spectrum.
Definition: MSSpectrum.h:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
IMFormat
Different ways to represent ion mobility data in a spectrum.
Definition: IMTypes.h:67
@ MIXED
an MSExperiment contains both CONCATENATED and MULTIPLE_SPECTRA
@ CONCATENATED
ion mobility frame is stacked in a single spectrum (i.e. has an IM float data array)
@ MULTIPLE_SPECTRA
ion mobility is recorded as multiple spectra per frame (i.e. has one IM annotation per spectrum)
DriftTimeUnit toDriftTimeUnit(const std::string &dtu_string)
DriftTimeUnit
Drift time unit for ion mobility.
Definition: IMTypes.h:46
@ MILLISECOND
milliseconds
@ VSSC
volt-second per square centimeter (i.e. 1/K_0)
@ FAIMS_COMPENSATION_VOLTAGE
compensation voltage
const std::string NamesOfIMFormat[(size_t) IMFormat::SIZE_OF_IMFORMAT]
Names of IMFormat.
const std::string NamesOfDriftTimeUnit[(size_t) DriftTimeUnit::SIZE_OF_DRIFTTIMEUNIT]
Names of IM Units. Should be usable as axis annotation.
const std::string & toString(const DriftTimeUnit value)
IMFormat toIMFormat(const std::string &IM_format)