libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
highrespeakpicker.h
Go to the documentation of this file.
1// Copyright 2026 Filippo Rusconi
2// Inspired by code in OpenMS, by Lars Nilse
3
4#pragma once
5
6/////////////////////// stdlib includes
7
8
9/////////////////////// Qt includes
10#include <QList>
11#include <QMap>
12
13/////////////////////// pappsomspp includes
15
16
17/////////////////////// Local includes
19
20namespace pappso
21{
22
23
25{
26
27 public:
29 {
30 double signalToNoise = 0.8;
31 qsizetype missingPeakCount = 0;
32 double minimumIntensity = 0.0;
33 };
34
35 HighResPeakPicker(Parameters &parameters);
36 virtual ~HighResPeakPicker();
37
38 struct PeakRange
39 {
40 double mz_start;
41 double mz_stop;
42 };
43
44 void pick(const Trace &trace, Trace &picked_peaks, QList<PeakRange> &peak_ranges);
45
46 protected:
48};
49
50
51} // namespace pappso
void pick(const Trace &trace, Trace &picked_peaks, QList< PeakRange > &peak_ranges)
HighResPeakPicker(Parameters &parameters)
A simple container of DataPoint instances.
Definition trace.h:152
#define PMSPP_LIB_DECL
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39