libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
massspectraceplotcontext.h
Go to the documentation of this file.
1// Copyright 2021 Filippo Rusconi
2// GPLv3+
3
4#pragma once
5
6
7/////////////////////// StdLib includes
8
9
10
11/////////////////////// Qt includes
12#include <QObject>
13#include <QString>
14
15
16#include "pappsomspp/config.h"
18#include "baseplotcontext.h"
19
20
21/////////////////////// Local includes
22
23namespace pappso
24{
25
27{
28 public:
32
34 void initialize(const BasePlotContext &other);
35 void initialize(const MassSpecTracePlotContext &other);
36
39
40 quint16 m_lastZ = std::numeric_limits<quint16>::max();
41 double m_lastMz = qQNaN();
42 double m_lastTicIntensity = qQNaN();
43 double m_lastMr = qQNaN();
44 double m_lastResolvingPower = qQNaN();
45
47
48 QString toString() const;
49};
50
51
52} // namespace pappso
void initialize(const BasePlotContext &other)
MassSpecTracePlotContext & operator=(const BasePlotContext &other)
#define PMSPP_LIB_DECL
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39