37#include "../../core/types.h"
44 qRegisterMetaType<pappso::MassSpecTracePlotContext>(
"pappso::MassSpecTracePlotContext");
47 qRegisterMetaType<pappso::MassSpecTracePlotContext *>(
"pappso::MassSpecTracePlotContext *");
62 const QString &x_axis_label,
63 const QString &y_axis_label)
345 qDebug() <<
"The span is:" << span;
358 qDebug() <<
"startMz:" << startMz <<
"curMz:" << curMz;
367 qDebug() <<
"Start and Cur are the same, no deconvolution possible.";
376 double chargeTemp = ((startMz * span) - span) / (curMz - startMz);
383 double chargeIntPart;
384 double chargeFracPart = modf(chargeTemp, &chargeIntPart);
434 qDebug() <<
"Dragging from right to left, that is from higher m/z value.";
440 qDebug() <<
"Dragging from left to right, we need to report"
441 <<
"the mass for the left peak, that is for z+span and lower m/z value.";
446 qDebug() <<
"Final m_lastZ is " <<
m_context.
m_lastZ <<
"m/z: m_context.m_lastMz";
450 qDebug() <<
"startMz:" << QString(
"%1").arg(startMz, 0,
'f', 6)
451 <<
"curMz:" << QString(
"%1").arg(curMz, 0,
'f', 6)
452 <<
"m_lastMz (make computation for this startMz):"
486 qDebug() <<
"startMz:" << startMz <<
"curMz:" << curMz;
500 qDebug() << qSetRealNumberPrecision(6) <<
"curMz - startMz = " << fabs(curMz - startMz)
505 qFatal() <<
"Programming error.";
508 double chargeIntPart;
509 double chargeFracPart = modf(chargeTemp, &chargeIntPart);
double m_xRegionRangeStart
Qt::MouseButtons m_mouseButtonsAtMousePress
Enums::DataKind m_dataKind
bool m_isMeasuringDistance
DragDirections m_dragDirections
double m_lastResolvingPower
Q_INVOKABLE void initialize(const BasePlotContext &other)
void resetDeconvolutionData()
double m_lastTicIntensity
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
const pappso_double MPROTON(1.007276466879)