Skip to content

Commit

Permalink
simplify docs for detectors
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelHu authored Dec 7, 2024
1 parent a4ca4ef commit c3ddd52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ On a physical volume instance, you can attach a ``pygeom_active_dector``, e.g.

.. code:: python
from pygeomtools import detectors
from pygeomtools import RemageDetectorInfo
pv = g4.PhysicalVolume(...)
# attach an active detector to this physical volume.
lv.pygeom_active_dector = detectors.RemageDetectorInfo(
lv.pygeom_active_dector = RemageDetectorInfo(
"optical", # detector type. The available options are defined by remage.
1, # detector id in remage.
{"some": "metadata"}, # user-defined data (optional) that is stored into GDML.
Expand Down

0 comments on commit c3ddd52

Please sign in to comment.