Skip to content

Add Earth model services to Python bindings and update README#20

Merged
arguelles merged 1 commit into
masterfrom
lazar/add-earthmodel-python-bindings
Jan 21, 2026
Merged

Add Earth model services to Python bindings and update README#20
arguelles merged 1 commit into
masterfrom
lazar/add-earthmodel-python-bindings

Conversation

@jlazar17
Copy link
Copy Markdown
Contributor

Expose EarthModelService and EarthModelCalculator to Python via pybind11:

  • Add MediumType, IceCapType, IntegType, LeptonRangeOption enums
  • Add EarthParam class with density evaluation methods
  • Add EarthModelService class with density, column depth, coordinate conversion, and lepton range methods
  • Add EarthModelCalculator functions (GetImpactParameter, GetIntersectionsWithSphere, GetLeptonRange, unit conversions)

Update README with comprehensive pip installation documentation:

  • Quick start installation instructions
  • Platform-specific dependency installation (macOS, Ubuntu)
  • Python usage examples for Injector, Controller, and EarthModelService
  • API reference for enums and utility functions
  • Reformatted manual CMake compilation section

Expose EarthModelService and EarthModelCalculator to Python via pybind11:
- Add MediumType, IceCapType, IntegType, LeptonRangeOption enums
- Add EarthParam class with density evaluation methods
- Add EarthModelService class with density, column depth, coordinate
  conversion, and lepton range methods
- Add EarthModelCalculator functions (GetImpactParameter,
  GetIntersectionsWithSphere, GetLeptonRange, unit conversions)

Update README with comprehensive pip installation documentation:
- Quick start installation instructions
- Platform-specific dependency installation (macOS, Ubuntu)
- Python usage examples for Injector, Controller, and EarthModelService
- API reference for enums and utility functions
- Reformatted manual CMake compilation section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@arguelles arguelles merged commit f4e1cb7 into master Jan 21, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants