Calibration chart.
More...
#include <cCalibrationChart.h>
|
| void | emitXValueInterval (double minxvalue, double maxxvalue) |
| | The signal is emitted when the range of x value is changed. More...
|
| |
|
| | cCalibrationChart (cGlobalPreferences *globalpreferences, QWidget *parent) |
| | The constructor. More...
|
| |
|
| ~cCalibrationChart () |
| | The destructor.
|
| |
| void | closeEvent (QCloseEvent *event) |
| | Handle the window close event. More...
|
| |
| void | applyGlobalPreferences (cGlobalPreferences *globalpreferences) |
| | Apply new global preferences. More...
|
| |
| void | setLineParameters (int equationtype, double a, double b, vector< double > xvalues, vector< double > yvalues, vector< double > sd) |
| | Set parameters of calibration curve. More...
|
| |
| void | setData (vector< double > xvalues, vector< double > yvalues, vector< double > sd, vector< string > datagroups, vector< int > &datatimevalues) |
| | Set data points. More...
|
| |
| void | createTable (double a, double b, vector< double > &calibrationxvalues, vector< double > &calibrationyvalues, vector< double > &calibrationsd, vector< string > &datagroups, vector< double > &dataxvalues, vector< double > &datayvalues, vector< double > &datasd, vector< int > &datatimevalues) |
| | Create the table content. More...
|
| |
|
void | deleteTable () |
| | Delete the table content.
|
| |
◆ cCalibrationChart()
| cCalibrationChart::cCalibrationChart |
( |
cGlobalPreferences * |
globalpreferences, |
|
|
QWidget * |
parent |
|
) |
| |
The constructor.
- Parameters
-
| globalpreferences | global preferences of the application |
| parent | pointer to a parent widget |
◆ applyGlobalPreferences()
Apply new global preferences.
- Parameters
-
| globalpreferences | global preferences of the application |
◆ closeEvent()
| void cCalibrationChart::closeEvent |
( |
QCloseEvent * |
event | ) |
|
Handle the window close event.
- Parameters
-
| event | pointer to QCloseEvent |
◆ createTable()
| void cCalibrationChart::createTable |
( |
double |
a, |
|
|
double |
b, |
|
|
vector< double > & |
calibrationxvalues, |
|
|
vector< double > & |
calibrationyvalues, |
|
|
vector< double > & |
calibrationsd, |
|
|
vector< string > & |
datagroups, |
|
|
vector< double > & |
dataxvalues, |
|
|
vector< double > & |
datayvalues, |
|
|
vector< double > & |
datasd, |
|
|
vector< int > & |
datatimevalues |
|
) |
| |
Create the table content.
- Parameters
-
| a | a |
| b | b |
| calibrationxvalues | x coordinates of calibration points |
| calibrationyvalues | y coordinates of calibration points |
| calibrationsd | standard deviation of y values of calibration points |
| datagroups | names of groups of data points |
| dataxvalues | x coordinates of data points |
| datayvalues | y coordinates of data points |
| datasd | standard deviation of y values of data points |
| datatimevalues | data collection times corresponding the groups |
◆ emitXValueInterval
| void cCalibrationChart::emitXValueInterval |
( |
double |
minxvalue, |
|
|
double |
maxxvalue |
|
) |
| |
|
signal |
The signal is emitted when the range of x value is changed.
- Parameters
-
| minxvalue | a minimum threshold of x value |
| maxxvalue | a maximum threshold of x value |
◆ keyPressEvent()
| void cCalibrationChart::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protected |
Handle a key press event.
- Parameters
-
| event | pointer to QKeyEvent |
◆ setData()
| void cCalibrationChart::setData |
( |
vector< double > |
xvalues, |
|
|
vector< double > |
yvalues, |
|
|
vector< double > |
sd, |
|
|
vector< string > |
datagroups, |
|
|
vector< int > & |
datatimevalues |
|
) |
| |
Set data points.
- Parameters
-
| xvalues | x coordinates of points |
| yvalues | y coordinates of points |
| sd | standard deviation of y values |
| datagroups | vector of group names |
| datatimevalues | data collection times corresponding the groups |
◆ setLineParameters()
| void cCalibrationChart::setLineParameters |
( |
int |
equationtype, |
|
|
double |
a, |
|
|
double |
b, |
|
|
vector< double > |
xvalues, |
|
|
vector< double > |
yvalues, |
|
|
vector< double > |
sd |
|
) |
| |
Set parameters of calibration curve.
- Parameters
-
| equationtype | 0 (y = a*x), 1 (y = a*x + b), 2 (manual mode) |
| a | a |
| b | b |
| xvalues | x coordinates of points |
| yvalues | y coordinates of points |
| sd | standard deviation of y values |
The documentation for this class was generated from the following files: