-
Notifications
You must be signed in to change notification settings - Fork 22
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
Make the Detector
and flux.Container
classes a public interface for v2.0
#339
Comments
A couple of points off the top of my head, in no particular order:
|
Are you referring to #209?
And it does all of this under the hood. That means the user has no access to the neutrino flux, or flavor transformation, or the detector setup. I understand that having one function is intended to keep the interface simpler for the user. But it serves only a single use case: if the user needs neutrino interactions in the detector.
Thanks, that's nice to know! So they might be useful for others as well
I think only these:
In other aspects these classes will remain the same (if I'm not missing anything). |
Some time ago I introduced the object-oriented interfaces for manipulating
They are documented, though the documentation might need an update and improvement.
For
Detector
,DetectionChannel
andSmearingMatrix
the docstrings are in place (see code) but they are not shown in the Sphinx docs yet.They also have the extensive usage example notebooks: Detector_demo.ipynb, FluxContainer_demo.ipynb
These interfaces have always been marked with "Users should not use this" sign. The plan was to test them in a development team, but I don't know if anyone was using them (at least I didn't get any feedback or suggestions).
I use snewpy for the rate calculations for various detectors - not only the ones defined in the SNOwGLoBES, and as a user I find the standard interfaces with
generate_*
extremely restricting and unflexible and incapable of doing what I need.So I suggest to
The text was updated successfully, but these errors were encountered: