double* to char* in detector call back.

This commit is contained in:
Dhanya Maliakal 2017-10-02 13:20:19 +02:00
parent 63c0fe863d
commit 5a7800768b

View File

@ -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); void toDoublePixelData(double* dest, char* source,int size, int databytes, double* gaindest = NULL);
@ -590,8 +595,9 @@ bool plotRequired;
SlsQt2DPlotLayout* gainplot2D; SlsQt2DPlotLayout* gainplot2D;
/** Current Image Values in 2D gain plot */ /** Current Image Values in 2D gain plot */
double* gainImageArray; double* gainImageArray;
/** gain plot enable */ /** gain plot enable, enabled if gain data has been extracted and is available */
bool gainPlotEnable; bool gainPlotEnable;
/** gain data enable, enabled if gain data to be extracted from normal data */
bool gainDataEnable; bool gainDataEnable;
signals: signals: