Changing optical properties¶
Global optical properties¶
It might be useful for some studies to deviate from the default values provided for optical material properties.
More information on the available properties can be found on the
legendoptics documentation. Especially important is the functionality of
the legendoptics.store which allows users to easily swap some of the
default implementation with their own.
As an example, consider this simple file lar-ly.py that can be specified on
the command line: legend-pygeom-l200 --pygeom-optics-plugin lar-ly.py:
from __future__ import annotations
import pint
from legendoptics.lar import lar_scintillation_params
u = pint.get_application_registry()
lar_scintillation_params.replace_implementation(
lambda _: lar_scintillation_params.original_impl()(flat_top_yield=40 / u.keV)
)
This sets the flat-top light yield (as described in
legendoptics.lar.lar_scintillation_params()) to 40 photons/keV.
SiPM efficiencies¶
The photon detection efficiencies (PDE) for the different SiPM channels can be
adjusted individually. The PDE is implemented in to modes, one with a distinct
spectral curve, the other as unity over the whole spectrum. These modes can be
toggled with the config option: sipm_use_pde_curve.
Apart from these two modes, each channel can be supplied with an individual
factor scaling the efficiency spectrum, as specified in the sipm_efficiencies
config dictionary.
sipm_use_pde_curve: false
sipm_efficiencies:
S001: 1.1
S002: 1.05