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, LeptonRangeOption
Full Changelog
v1.0.0...v1.1.0