check ready before updating pd (#391)
Build on RHEL9 / build (push) Successful in 2m49s
Build on RHEL8 / build (push) Successful in 3m29s
Run tests using data on local RHEL8 / build (push) Failing after 4m37s
Build on local RHEL8 / build (push) Successful in 3m16s

- For set_nSigma only call update_pedestal if we have accumulated enough
samples otherwise just write it
- For update threshold check if pd is ready and if not throw

closes #390
This commit is contained in:
Erik Fröjdh authored and GitHub committed 2026-09-30 14:54:59 +02:00
1 parent 941325ea15
commit 2efdd17d81
8 files changed
+177 -12

No files matched your search

+4
View File
@@ -55,6 +55,10 @@ void define_ClusterFinder(py::module &m, const std::string &typestr) {
&ClusterFinder<ClusterType, uint16_t, pd_type>::clear_pedestal)
.def("update_threshold",
&ClusterFinder<ClusterType, uint16_t, pd_type>::update_threshold)
.def_property_readonly(
"pedestal_ready",
&ClusterFinder<ClusterType, uint16_t, pd_type>::pedestal_ready,
R"(True once enough pedestal frames have been pushed to find clusters.)")
.def_property_readonly(
"pedestal",
[](ClusterFinder<ClusterType, uint16_t, pd_type> &self) {