Releases: icecube/LeptonInjector
Releases · icecube/LeptonInjector
v1.1.0
What's New in v1.1.0
New Features
- pip install support - Install directly with
pip install LeptonInjector - EarthModelService Python bindings - Full access to Earth density model from Python
- New utility functions -
GetImpactParameter,GetIntersectionsWithSphere,GetLeptonRange, coordinate conversions
Improvements
- Modern CMake build system compatible with Python 3.12+
- pybind11 bindings replacing legacy boost.python
- Fixed SuiteSparse version regex
Python API Additions
import LeptonInjector as LI
# Earth model service
ems = LI.EarthModelService("model", tablepath, earthmodels, materialmodels)
density = ems.GetDensityInCGS(position)
column_depth = ems.GetColumnDepthInCGS(pos1, pos2)
# New enums: MediumType, IceCapType, IntegType, LeptonRangeOptionFull Changelog
v1.0.0
This release corresponds to the code described in 10.1016/j.cpc.2021.108018