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 };
33
34 HighResPeakPicker(Parameters &parameters);
35 virtual ~HighResPeakPicker();
36
37 struct PeakRange
38 {
39 double mz_start;
40 double mz_stop;
41 };
42
43 void pick(const Trace &trace, Trace &picked_peaks, QList<PeakRange> &peak_ranges);
44
45 protected:
47};
48
49
50} // 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