Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhotonYield giving fluctuating number for Kr83m #91

Open
yuema137 opened this issue May 29, 2022 · 1 comment
Open

PhotonYield giving fluctuating number for Kr83m #91

yuema137 opened this issue May 29, 2022 · 1 comment

Comments

@yuema137
Copy link

yuema137 commented May 29, 2022

This is probably related to #84, which (I suppose) was already fixed in v1.5.4. But I still got this fluctuating number problem in v1.5.4 and this causes a trouble when we want to do the field correction with respect to the nominal field.
The minimal example to get this issue is:

for i in range(10):
    print(nestpy.PhotonYield(
                interaction=nestpy.Kr83m,
                energy=41.5,
                drift_field=23))

The ElectronYield function for Kr83m works well and gives a certain number instead of a fluctuating one.
Besides, I'm wondering if it's possible to make deltaT_ns as an input for the PhotonYield and ElectronYield functions for Kr83m (maybe it already does but I didn't know)? Or even better, use deltaT_range_ns=(deltaT_min, deltaT_max) and give the averaged yield accounting for the delay time dependence. This would be useful when we want to compare measurements with different delay time range.

I'm not familiar with this package and am not sure what is causing this problem. Thanks in advance for helping with this and sorry if I understood anything wrong.

@tunnell
Copy link
Member

tunnell commented Sep 16, 2022

Wouldn't you just simulate ER instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants