Skip to content

Commit

Permalink
Merge pull request #55 from NESTCollaboration/test
Browse files Browse the repository at this point in the history
include kr83m yields model for hard-coding deltaT
  • Loading branch information
sophiafarrell authored Feb 28, 2021
2 parents 4ed219d + a7e4566 commit 788f279
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/nestpy/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 788f279

Please sign in to comment.