-
Notifications
You must be signed in to change notification settings - Fork 16
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
Energy resolution #232
Comments
from @cosama if params == 1:
self.res_func = lambda r, x: r[0] * 662. * np.sqrt(x / 662.) / 2.355
elif params == 2:
self.res_func = lambda r, x: r[1] + r[0] * 662. * np.sqrt(x / 662.) / 2.355
else:
raise NotImplementedError() |
I've used the following for NaI(Tl): def eres_keV_to_fhwm_keV(e, a=92.1592, b=0.0012675, c=4.1493):
return (a / np.sqrt(e) - b * e + c) * e |
Bunch of different resolution functions with references: https://doi.org/10.1016/j.nima.2012.02.006 |
|
TODO from our meeting
|
One thought I just had: it would be really convenient to have a bq.energy_res.SqrtEModel.from_point(662, rel=0.03) Depending on how we structure things, we could have a |
An energy resolution calibration like this could be easily handled by the new |
attn @cosama, @markbandstra, @jvavrek
The text was updated successfully, but these errors were encountered: