Skip to content

Commit

Permalink
added type bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
erikfrojdh committed Oct 30, 2024
1 parent a466887 commit 6505f37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/src/var_cluster.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ using namespace::aare;


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")
.def(py::init<Shape<2>, double>())
.def("labeled",
Expand Down

0 comments on commit 6505f37

Please sign in to comment.