Skip to content

Optical properties for the LEGEND experiment and Geant4 simulations

License

Notifications You must be signed in to change notification settings

legend-exp/legend-pygeom-optics

Repository files navigation

legend-pygeom-optics

PyPI GitHub tag (latest by date) GitHub Workflow Status pre-commit Code style: black Codecov GitHub issues GitHub pull requests License Read the Docs

This package contains a collection of optical properties of materials used in the LEGEND experiment.

As a common interface, each optical property gets its own defining function in the material's module. Those functions can be used directly to just retrieve the value(s) of the property. Most property definitions contain unit information via the pint package. For a full list of defined properties refer to the package documentation.

Export of Geant4 material properties

To ease the use in Geant4-based simulations, every module also provides functions to be used with pyg4ometry. These functions' names are always prefixed with pyg4_. All other functions of this module can be used without having pyg4ometry installed.

Note

The provided functions for interoperability with Geant4 generally only support Geant4 version 11.0 and later..