mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-07 19:08:42 +01:00
comment
This commit is contained in:
@@ -639,7 +639,8 @@ void qDrawPlot::UpdateROI() {
|
|||||||
// roi enabled
|
// roi enabled
|
||||||
if (roi.size() > 1 || !roi[0].completeRoi()) {
|
if (roi.size() > 1 || !roi[0].completeRoi()) {
|
||||||
hasRoi = true;
|
hasRoi = true;
|
||||||
// update gap pixels (gap pixels only for 2d)
|
// update gap pixels
|
||||||
|
// hardcoded gap pixels because only for eiger and jungfrau
|
||||||
if (isGapPixels) {
|
if (isGapPixels) {
|
||||||
for (auto &r : roi) {
|
for (auto &r : roi) {
|
||||||
r.xmin += ((r.xmin / 1024) * 6 + (r.xmin / 256) * 2);
|
r.xmin += ((r.xmin / 1024) * 6 + (r.xmin / 256) * 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user