mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 01:27:59 +02:00
displaying statistics works now
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@226 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -172,6 +172,12 @@ void RecalculatePedestal();
|
||||
void SetAccumulate(bool enable);
|
||||
/** Reset accumulation */
|
||||
void ResetAccumulate();
|
||||
/** Display Statistics */
|
||||
void DisplayStatistics(bool enable);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
@ -260,6 +266,15 @@ void SetStyle(SlsQtH1D* h){
|
||||
};
|
||||
|
||||
|
||||
/** Find Statistics
|
||||
* @param min is the minimum value
|
||||
* @param max is the maximum value
|
||||
* @param sum is the sum of all values
|
||||
* @param array is the array to get statistics from
|
||||
* @param size is the size of the array */
|
||||
void GetStatistics(double &min, double &max, double &sum, double* array, int size);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -521,6 +536,15 @@ int binaryTo;
|
||||
bool clientInitiated;
|
||||
|
||||
|
||||
/** display statistics widgets */
|
||||
QWidget *widgetStatistics;
|
||||
QLabel *lblMinDisp;
|
||||
QLabel *lblMaxDisp;
|
||||
QLabel *lblSumDisp;
|
||||
|
||||
bool displayStatistics;
|
||||
|
||||
|
||||
|
||||
signals:
|
||||
void UpdatingPlotFinished();
|
||||
|
Reference in New Issue
Block a user