From a7e4566569bf34da1f0718c536d3ddc32daa83ab Mon Sep 17 00:00:00 2001 From: sophiaandaloro Date: Wed, 17 Feb 2021 11:48:30 -0600 Subject: [PATCH] include kr83m yields model for hard-coding deltaT --- src/nestpy/bindings.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/nestpy/bindings.cpp b/src/nestpy/bindings.cpp index 6d70850..ca93ea9 100644 --- a/src/nestpy/bindings.cpp +++ b/src/nestpy/bindings.cpp @@ -173,6 +173,14 @@ PYBIND11_MODULE(nestpy, m) { .def("PhotonTime", &NEST::NESTcalc::PhotonTime) .def("AddPhotonTransportTime", &NEST::NESTcalc::AddPhotonTransportTime) .def("GetPhotonTimes", &NEST::NESTcalc::GetPhotonTimes) + .def("GetYieldKr83m", + &NEST::NESTcalc::GetYieldKr83m, + py::arg("energy") = 41.5, + py::arg("density") = 2.9, + py::arg("drift_field") = 124, + py::arg("maxTimeSeparation") = 2000, + py::arg("deltaT_ns") = -999. + ) .def("GetYields", &NEST::NESTcalc::GetYields, py::arg("interaction") = NEST::INTERACTION_TYPE::NR,