mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 16:43:45 +01:00
solved bug of decoding data with distorted image
This commit is contained in:
@@ -5226,6 +5226,7 @@ double* slsDetector::decodeData(int *datain, int &nn, double *fdata) {
|
|||||||
double *dataout;
|
double *dataout;
|
||||||
if (fdata) {
|
if (fdata) {
|
||||||
dataout=fdata;
|
dataout=fdata;
|
||||||
|
nn=thisDetector->nChans*thisDetector->nChips*thisDetector->nMods;
|
||||||
// printf("not allocating fdata!\n");
|
// printf("not allocating fdata!\n");
|
||||||
if (thisDetector->myDetectorType==JUNGFRAUCTB) nn=thisDetector->dataBytes/2;
|
if (thisDetector->myDetectorType==JUNGFRAUCTB) nn=thisDetector->dataBytes/2;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user