7#ifndef _CCHROMATOGRAMWINDOWWIDGET_H
8#define _CCHROMATOGRAMWINDOWWIDGET_H
11#include <QGraphicsView>
12#include <QGraphicsSimpleTextItem>
16#include <QSvgGenerator>
19#include <QProgressDialog>
78double erfcx(
double z);
121void calculateCaruana(vector<double>& x, vector<double>& y,
double& ny,
double& sigma,
double& height);
133void calculateGuo(vector<double>& x, vector<double>& y,
int iterations,
double& ny,
double& sigma,
double& height);
146void calculateBaseTau(vector<double>& x, vector<double>& y,
int iterations,
bool fronting,
double ynorm,
double& base,
double& tau);
170void calculateGaussianParameters(
cPeaksList& eicchromatogram, vector<double>& rtimes,
int timeunit,
bool absoluteintensity,
bool usert, vector<double>& nys, vector<double>& sigmas, vector<double>& as);
185void calculateExponentialParameters(
cPeaksList& eicchromatogram, vector<double>& rtimes,
int timeunit,
bool absoluteintensity,
bool usert,
bool fronting,
double ynorm, vector<double>& bases, vector<double>& taus);
217 void exportToPDF(QString filename,
bool postscript);
304 vector<double> rtimes;
307 QGraphicsScene* scene;
308 QMatrix originalmatrix;
310 QGraphicsItemGroup* zoomgroup;
311 QGraphicsRectItem* zoomrect;
312 QGraphicsSimpleTextItem* zoomsimpletextitem;
338 bool enablemouseselection;
341 bool absoluteintensity;
349 int getScanIDFromXPosition(
int x,
int w);
352 int getXPositionFromScanID(
int scanid,
int w);
358 void updateZoomGroup();
361 void calculateMinMaxScan();
401 void retentionTimeStateChanged(
bool state);
404 void absoluteIntensityStateChanged(
bool state);
407 void rawDataStateChanged(
bool state);
410 void setRetentionTimeInterval(
double mintime,
double maxtime);
413 void resetRetentionTimeInterval();
416 void setScanIDInterval(
int minid,
int maxid);
419 void resetScanIDInterval();
422 void enableMouseSelectionTool(
bool enable);
425 void hideTIC(
bool state);
428 void hideEIC(
bool state);
431 void hideLabels(
bool state);
434 void peakShapeChanged(
int shape);
The representation of lists of theoretical spectra.
The class representing a peak list.
Definition: cPeaksList.h:68
The class representing lists of theoretical spectra.
Definition: cTheoreticalSpectrumList.h:25
Auxiliary funtions and structures.