OpenMS
FAIMSHelper Class Reference

Helper functions for FAIMS data. More...

#include <OpenMS/IONMOBILITY/FAIMSHelper.h>

Public Member Functions

virtual ~FAIMSHelper ()
 

Static Public Member Functions

static std::set< double > getCompensationVoltages (const PeakMap &exp)
 Get all unique FAIMS compensation voltages (CVs) that occur in a PeakMap. More...
 
static PeptideIdentificationList filterPeptidesByFAIMSCV (const PeptideIdentificationList &peptides, double target_cv, double cv_tolerance=0.01)
 Filter peptide identifications by FAIMS compensation voltage. More...
 

Detailed Description

Helper functions for FAIMS data.

FAIMSHelper contains convenience functions to deal with FAIMS compensation voltages and related data.

Constructor & Destructor Documentation

◆ ~FAIMSHelper()

virtual ~FAIMSHelper ( )
inlinevirtual

Member Function Documentation

◆ filterPeptidesByFAIMSCV()

static PeptideIdentificationList filterPeptidesByFAIMSCV ( const PeptideIdentificationList peptides,
double  target_cv,
double  cv_tolerance = 0.01 
)
static

Filter peptide identifications by FAIMS compensation voltage.

Filters peptide identifications to only include those matching the specified FAIMS CV. IDs without FAIMS_CV annotation are included for backward compatibility.

Parameters
peptidesInput peptide identifications
target_cvTarget FAIMS compensation voltage to filter for
cv_toleranceTolerance for floating point comparison (default: 0.01)
Returns
Filtered list of peptide identifications

◆ getCompensationVoltages()

static std::set<double> getCompensationVoltages ( const PeakMap exp)
static

Get all unique FAIMS compensation voltages (CVs) that occur in a PeakMap.

Parameters
expThe input experiment
Returns
Unique FAIMS compensation voltages (in volts)