ScintiPix is a Geant4-based simulation for scintillator and neutron-GPS workflows with optical-photon recording at an optical-interface plane.
pixi install
pixi run build-sim
pixi run python examples/runSimulation/run_simulation_from_yaml.py \
examples/yamlFiles/CanonEF50mmf1p0L_example.yamlThe YAML is validated as the top-level Simulation model. The runner writes a
Geant4 macro, optionally runs autofocus, launches scintipix, and writes the
selected fixed-record binary outputs.
- Generate and run from YAML:
examples/runSimulation/ - Inspect source timing:
examples/sourceTiming/ - Load or write configuration files:
examples/configurations/ - Plot primary timing:
analysis/plotting/ - Read the binary output contract:
.agents/docs/OUTPUT.md - Read the autofocus and optics design:
.agents/docs/AUTOFOCUS.mdand.agents/docs/OPTICS.md
The RayOptics transport, intensifier, and sensor runtime stages are being
rebuilt around the binary photon output. Their retired HDF5 implementations and
deleted-model callers are preserved under legacy/ and are not active code.
sim/: Geant4 applicationsrc/models/: Pydantic simulation modelssrc/config/: YAML, catalog, and macro configurationsrc/optics/: autofocus and current optics workcatalogs/: lens and scintillator catalogsexamples/: current runnable examplesanalysis/: current lightweight analysistest/: active testslegacy/: retired HDF5 and old-model code
ScintiPix is distributed under GPLv3 with LANL open-source approval O5110.
See LICENSE for details.