Skip to content

Make the Detector and flux.Container classes a public interface for v2.0  #339

Description

@Sheshuk

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 and SmearingMatrix 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

  1. Declare this interface public in v2.0
  2. Update the documentation - make the classes visible
  3. Add usage examples to the main section of the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsuggestionAn idea that needs to be discussed/approved before starting implementaion

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions