mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
fixed merge
This commit is contained in:
@ -505,12 +505,12 @@ class DetectorPythonInterface {
|
||||
}
|
||||
|
||||
|
||||
int getNumberOfGates() {
|
||||
return det.setTimer(slsDetectorDefs::timerIndex::GATES_NUMBER, -1);
|
||||
}
|
||||
void setNumberOfGates(const int t) {
|
||||
det.setTimer(slsDetectorDefs::timerIndex::GATES_NUMBER, t);
|
||||
}
|
||||
// int getNumberOfGates() {
|
||||
// return det.setTimer(slsDetectorDefs::timerIndex::GATES_NUMBER, -1);
|
||||
// }
|
||||
// void setNumberOfGates(const int t) {
|
||||
// det.setTimer(slsDetectorDefs::timerIndex::GATES_NUMBER, t);
|
||||
// }
|
||||
|
||||
// time in ns
|
||||
int64_t getDelay() {
|
||||
|
@ -173,8 +173,8 @@ PYBIND11_MODULE(_sls_detector, m) {
|
||||
|
||||
.def("getCycles", &DetectorPythonInterface::getCycles)
|
||||
.def("setCycles", &DetectorPythonInterface::setCycles)
|
||||
.def("getNumberOfGates", &DetectorPythonInterface::getNumberOfGates)
|
||||
.def("setNumberOfGates", &DetectorPythonInterface::setNumberOfGates)
|
||||
// .def("getNumberOfGates", &DetectorPythonInterface::getNumberOfGates)
|
||||
// .def("setNumberOfGates", &DetectorPythonInterface::setNumberOfGates)
|
||||
.def("getDelay", &DetectorPythonInterface::getDelay)
|
||||
.def("setDelay", &DetectorPythonInterface::setDelay)
|
||||
|
||||
|
Reference in New Issue
Block a user