renamed Matterhorn decoders

This commit is contained in:
2026-02-02 13:44:04 +01:00
parent d6e8b9c639
commit ca03ff7e6b
5 changed files with 52 additions and 19 deletions

View File

@@ -33,15 +33,35 @@ void define_pixel_map_bindings(py::module &m) {
new NDArray<ssize_t, 2>(GenerateMoench05PixelMapOld());
return return_image_data(ptr);
})
.def("GenerateMoench04AnalogPixelMap",
[]() {
auto ptr =
new NDArray<ssize_t, 2>(GenerateMoench04AnalogPixelMap());
return return_image_data(ptr);
})
.def("GenerateMH02SingleCounterPixelMap",
[]() {
auto ptr = new NDArray<ssize_t, 2>(
GenerateMH02SingleCounterPixelMap());
return return_image_data(ptr);
})
.def("GenerateMH02FourCounterPixelMap", []() {
auto ptr =
new NDArray<ssize_t, 3>(GenerateMH02FourCounterPixelMap());
return return_image_data(ptr);
});
.def("GenerateMH02FourCounterPixelMap",
[]() {
auto ptr =
new NDArray<ssize_t, 3>(GenerateMH02FourCounterPixelMap());
return return_image_data(ptr);
})
.def(
"GenerateMatterhorn10PixelMap",
[](const size_t dynamic_range, const size_t n_counters) {
auto ptr = new NDArray<ssize_t, 2>(
GenerateMatterhorn10PixelMap(dynamic_range, n_counters));
return return_image_data(ptr);
},
py::arg("dynamic_range") = 16, py::arg("n_counters") = 1,
R"(
Generate pixel map for Matterhorn02 detector)");
}

View File

@@ -14,12 +14,12 @@
#include "bind_calibration.hpp"
// TODO! migrate the other names
#include "bind_PixelMap.hpp"
#include "ctb_raw_file.hpp"
#include "file.hpp"
#include "fit.hpp"
#include "jungfrau_data_file.hpp"
#include "pedestal.hpp"
#include "pixel_map.hpp"
#include "raw_file.hpp"
#include "raw_master_file.hpp"
#include "raw_sub_file.hpp"