From 5a7800768bbf3636026b7e8a5104c0870ce850d5 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Mon, 2 Oct 2017 13:20:19 +0200 Subject: [PATCH] double* to char* in detector call back. --- slsDetectorGui/include/qDrawPlot.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/slsDetectorGui/include/qDrawPlot.h b/slsDetectorGui/include/qDrawPlot.h index 58f90fd3b..8a32d7364 100644 --- a/slsDetectorGui/include/qDrawPlot.h +++ b/slsDetectorGui/include/qDrawPlot.h @@ -296,7 +296,12 @@ void GetStatistics(double &min, double &max, double &sum, double* array, int siz /** - * Convert data from + * Convert data from char* to double based on bit mode (get gain data from plot if enabled for jungfrau + * @param dest destination double array + * @param source source char array + * @param size number of pixels + * @param databytes number of data bytes + * @param gaindest NULL if not required, points to a double array to be filled up if gain data enabled */ void toDoublePixelData(double* dest, char* source,int size, int databytes, double* gaindest = NULL); @@ -590,8 +595,9 @@ bool plotRequired; SlsQt2DPlotLayout* gainplot2D; /** Current Image Values in 2D gain plot */ double* gainImageArray; -/** gain plot enable */ +/** gain plot enable, enabled if gain data has been extracted and is available */ bool gainPlotEnable; +/** gain data enable, enabled if gain data to be extracted from normal data */ bool gainDataEnable; signals: