mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-06 12:50:40 +02:00
added type bindings
This commit is contained in:
parent
a466887064
commit
6505f37d87
@ -18,6 +18,9 @@ using namespace::aare;
|
|||||||
|
|
||||||
|
|
||||||
void define_var_cluster_finder_bindings(py::module &m) {
|
void define_var_cluster_finder_bindings(py::module &m) {
|
||||||
|
PYBIND11_NUMPY_DTYPE(pl::ClusterFinder<double>::Hit, size, row, col,
|
||||||
|
reserved, energy, max);
|
||||||
|
|
||||||
py::class_<VarClusterFinder<double>>(m, "VarClusterFinder")
|
py::class_<VarClusterFinder<double>>(m, "VarClusterFinder")
|
||||||
.def(py::init<Shape<2>, double>())
|
.def(py::init<Shape<2>, double>())
|
||||||
.def("labeled",
|
.def("labeled",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user