added Jungfrau definitions

This commit is contained in:
2026-08-27 09:55:58 +02:00
parent 0f062a6c4a
commit ccbf221dac
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -149,6 +149,11 @@ struct Moench05 {
constexpr static std::array<int, 3> adcNumbers = {5, 9, 1};
};
struct Jungfrau {
constexpr static size_t nRows = 512;
constexpr static size_t nCols = 1024;
};
enum ReadoutMode : uint8_t {
ANALOG_ONLY = 0,
DIGITAL_ONLY = 1,
+4
View File
@@ -27,4 +27,8 @@ void define_defs_bindings(py::module &m) {
moench05.attr("nRows") = Moench05::nRows;
moench05.attr("nCols") = Moench05::nCols;
moench05.attr("adcNumbers") = Moench05::adcNumbers;
auto jungfrau = py::class_<Jungfrau>(m, "Jungfrau");
jungfrau.attr("nRows") = Jungfrau::nRows;
jungfrau.attr("nCols") = Jungfrau::nCols;
}