Skip to content

Releases: icecube/LeptonInjector

v1.1.0

26 Jan 01:27
f4e1cb7

Choose a tag to compare

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

v1.0.0

24 Jun 19:29

Choose a tag to compare

This release corresponds to the code described in 10.1016/j.cpc.2021.108018