legend-pygeom-hpges¶
legendhpges provides High-Purity Germanium (HPGe) detector models built from
LEGEND metadata for radiation transport simulations.
It integrates with pyg4ometry and Geant4
for visualisation and simulation, and offers utilities to compute detector
properties and perform geometric queries.
Key features¶
Build detector geometry directly from human-readable input file format
Multiple geometries supported: PPC, BEGe, Semi‑Coax, ICPC, plus special variants
Seamless Geant4 integration via
pyg4ometry(visualisation and GDML export)Compute volume, mass and surface areas with unit-aware quantities
Calculation of useful geometrical queries (like distances of points to surfaces etc.)
Consistent unit handling using
pint
Getting started¶
legendhpges can be installed from PyPI or conda-forge:
PyPI:
$ pip install legend-pygeom-hpges
conda-forge:
$ conda install -c conda-forge legend-pygeom-hpges