mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 18:10:40 +02:00
slsDetectorSoftware: bug fix, changing dr didnt change the databytesinclgappixels immediately
This commit is contained in:
parent
f33b3cdc79
commit
2339fb2a0e
@ -5299,8 +5299,7 @@ int slsDetector::setDynamicRange(int n){
|
|||||||
thisDetector->dataBytesInclGapPixels =
|
thisDetector->dataBytesInclGapPixels =
|
||||||
(thisDetector->nMod[X] * thisDetector->nChip[X] * thisDetector->nChan[X] + thisDetector->gappixels * thisDetector->nGappixels[X]) *
|
(thisDetector->nMod[X] * thisDetector->nChip[X] * thisDetector->nChan[X] + thisDetector->gappixels * thisDetector->nGappixels[X]) *
|
||||||
(thisDetector->nMod[Y] * thisDetector->nChip[Y] * thisDetector->nChan[Y] + thisDetector->gappixels * thisDetector->nGappixels[Y]) *
|
(thisDetector->nMod[Y] * thisDetector->nChip[Y] * thisDetector->nChan[Y] + thisDetector->gappixels * thisDetector->nGappixels[Y]) *
|
||||||
thisDetector->dynamicRange/8;
|
retval/8;
|
||||||
|
|
||||||
if (thisDetector->myDetectorType==JUNGFRAUCTB) {
|
if (thisDetector->myDetectorType==JUNGFRAUCTB) {
|
||||||
// thisDetector->nChip[X]=retval/16;
|
// thisDetector->nChip[X]=retval/16;
|
||||||
// thisDetector->nChips=thisDetector->nChip[X]*thisDetector->nChip[Y];
|
// thisDetector->nChips=thisDetector->nChip[X]*thisDetector->nChip[Y];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user