python fix

This commit is contained in:
Erik Frojdh
2019-08-28 14:19:54 +02:00
parent 014b8cf9a6
commit 1980a7d80c
3 changed files with 10 additions and 16 deletions

View File

@@ -264,17 +264,17 @@ class DetectorPythonInterface {
return det.setPatternWaitTime(level, -1, detPos);
}
// bool getFlippedDataX(int i) {
// return det.getFlippedData(slsDetectorDefs::dimension::X, i);
// }
bool getFlippedDataX(int i) {
return det.getFlippedDataX(i);
}
// bool getFlippedDataY(int i) {
// return det.getFlippedData(slsDetectorDefs::dimension::Y, i);
// }
// void setFlippedDataX(int i, bool value) {
// det.setFlippedData(slsDetectorDefs::dimension::X, value, i);
// }
void setFlippedDataX(int i, bool value) {
det.setFlippedDataX(value, i);
}
// void setFlippedDataY(int i, bool value) {
// det.setFlippedData(slsDetectorDefs::dimension::Y, value, i);