![]() |
OpenMS
|
Interpret ion-mobility array metadata independently of frame conversion. More...
#include <OpenMS/IONMOBILITY/IMDataArrayUtils.h>
Static Public Member Functions | |
| static void | setIMUnit (DataArrays::FloatDataArray &fda, const DriftTimeUnit unit) |
| Set the array name corresponding to a supported ion-mobility unit. | |
| static bool | getIMUnit (const DataArrays::FloatDataArray &fda, DriftTimeUnit &unit) |
| Recognize an ion-mobility array and determine its unit. | |
Interpret ion-mobility array metadata independently of frame conversion.
Uses the existing PSI-MS vocabulary and vendor-name fallbacks. The shared CV files remain a runtime requirement. IMDataConverter retains compatibility entry points for both operations.
|
static |
Recognize an ion-mobility array and determine its unit.
| [in] | fda | Array whose name is interpreted. |
| [out] | unit | Recognized unit, or NONE for a CV term without usable units. Unchanged if the array is not recognized as ion-mobility data. |
|
static |
Set the array name corresponding to a supported ion-mobility unit.
| [in,out] | fda | Array whose name is updated. |
| [in] | unit | MILLISECOND or VSSC. |
| Exception::InvalidValue | for other units. |