mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-09-03 06:40:42 +02:00
added static assert + minor docs
This commit is contained in:
@@ -91,6 +91,7 @@ void reduce_to_3x3(py::module &m) {
|
||||
py::return_value_policy::move, py::arg("cluster"), R"doc(
|
||||
Return the 3x3 block around the cluster's center index.
|
||||
|
||||
The input cluster dimensions must both be odd.
|
||||
The input coordinates are preserved and output data is stored in
|
||||
row-major order.
|
||||
)doc");
|
||||
|
||||
@@ -225,6 +225,7 @@ void define_3x3_reduction(py::module &m) {
|
||||
},
|
||||
R"doc(
|
||||
Reduce every cluster to the 3x3 block around its center index.
|
||||
The input cluster dimensions must both be odd.
|
||||
Returns a new ClusterVector; cluster order, coordinates, and frame
|
||||
number are preserved.
|
||||
)doc",
|
||||
|
||||
Reference in New Issue
Block a user