mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 16:20:03 +02:00
bug fix slsdetectorgui: xcoord and y coord are actually col and row indices
This commit is contained in:
parent
d67b4765ea
commit
59cb9c84c2
@ -5078,8 +5078,8 @@ void multiSlsDetector::readFrameFromReceiver() {
|
|||||||
currentFrameIndex = doc["fIndex"].GetUint64();
|
currentFrameIndex = doc["fIndex"].GetUint64();
|
||||||
currentFileIndex = doc["fileIndex"].GetUint64();
|
currentFileIndex = doc["fileIndex"].GetUint64();
|
||||||
currentSubFrameIndex = doc["expLength"].GetUint();
|
currentSubFrameIndex = doc["expLength"].GetUint();
|
||||||
coordX = doc["xCoord"].GetUint();
|
coordY = doc["xCoord"].GetUint();
|
||||||
coordY = doc["yCoord"].GetUint();
|
coordX = doc["yCoord"].GetUint();
|
||||||
if (eiger)
|
if (eiger)
|
||||||
coordY = (nY - 1) - coordY;
|
coordY = (nY - 1) - coordY;
|
||||||
//cout << "X:" << doc["xCoord"].GetUint() <<" Y:"<<doc["yCoord"].GetUint();
|
//cout << "X:" << doc["xCoord"].GetUint() <<" Y:"<<doc["yCoord"].GetUint();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user