mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 08:10:02 +02:00
generated python funcs
This commit is contained in:
parent
d7319968a7
commit
84cd4d8436
@ -7,7 +7,7 @@ source:
|
||||
- path: ..
|
||||
|
||||
build:
|
||||
number: 1
|
||||
number: 2
|
||||
binary_relocation: True
|
||||
rpaths:
|
||||
- lib/
|
||||
|
@ -428,6 +428,13 @@ void init_det(py::module &m) {
|
||||
py::arg() = Positions{})
|
||||
.def("setImageTestMode", &Detector::setImageTestMode, py::arg(),
|
||||
py::arg() = Positions{})
|
||||
.def("getNumberOfBursts", &Detector::getNumberOfBursts,
|
||||
py::arg() = Positions{})
|
||||
.def("setNumberOfBursts", &Detector::setNumberOfBursts, py::arg())
|
||||
.def("getBurstPeriod", &Detector::getBurstPeriod,
|
||||
py::arg() = Positions{})
|
||||
.def("setBurstPeriod", &Detector::setBurstPeriod, py::arg(),
|
||||
py::arg() = Positions{})
|
||||
.def("getInjectChannel", &Detector::getInjectChannel,
|
||||
py::arg() = Positions{})
|
||||
.def("setInjectChannel", &Detector::setInjectChannel, py::arg(),
|
||||
@ -441,6 +448,14 @@ void init_det(py::module &m) {
|
||||
.def("getBurstMode", &Detector::getBurstMode, py::arg() = Positions{})
|
||||
.def("setBurstMode", &Detector::setBurstMode, py::arg(),
|
||||
py::arg() = Positions{})
|
||||
.def("getCurrentSource", &Detector::getCurrentSource,
|
||||
py::arg() = Positions{})
|
||||
.def("setCurrentSource", &Detector::setCurrentSource, py::arg(),
|
||||
py::arg() = Positions{})
|
||||
.def("getTimingSource", &Detector::getTimingSource,
|
||||
py::arg() = Positions{})
|
||||
.def("setTimingSource", &Detector::setTimingSource, py::arg(),
|
||||
py::arg() = Positions{})
|
||||
.def("getCounterMask", &Detector::getCounterMask,
|
||||
py::arg() = Positions{})
|
||||
.def("setCounterMask", &Detector::setCounterMask, py::arg(),
|
||||
|
@ -284,4 +284,11 @@ void init_enums(py::module &m) {
|
||||
.value("BURST_INTERNAL", slsDetectorDefs::burstMode::BURST_INTERNAL)
|
||||
.value("BURST_EXTERNAL", slsDetectorDefs::burstMode::BURST_EXTERNAL)
|
||||
.export_values();
|
||||
|
||||
py::enum_<slsDetectorDefs::timingSourceType>(Defs, "timingSourceType")
|
||||
.value("TIMING_INTERNAL",
|
||||
slsDetectorDefs::timingSourceType::TIMING_INTERNAL)
|
||||
.value("TIMING_EXTERNAL",
|
||||
slsDetectorDefs::timingSourceType::TIMING_EXTERNAL)
|
||||
.export_values();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user