mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-08-08 01:32:29 +02:00
reworked pattern generator
This commit is contained in:
@@ -25,5 +25,7 @@ void init_pattern(py::module &m) {
|
||||
.def("save", &sls::Pattern::save)
|
||||
.def("str", &sls::Pattern::str)
|
||||
.def("data", (pat * (sls::Pattern::*)()) & sls::Pattern::data,
|
||||
py::return_value_policy::reference);
|
||||
py::return_value_policy::reference)
|
||||
.def(py::self == py::self)
|
||||
.def(py::self != py::self);
|
||||
}
|
||||
|
||||
@@ -10,5 +10,6 @@ ODR warnings
|
||||
#include <pybind11/pybind11.h>
|
||||
#include <pybind11/operators.h>
|
||||
#include <pybind11/stl.h>
|
||||
#include <pybind11/stl/filesystem.h>
|
||||
#include <pybind11/numpy.h>
|
||||
#include "typecaster.h"
|
||||
|
||||
Reference in New Issue
Block a user