Skip to main content

A lightweight, open-source Python library for the analysis and modeling of radiation belts.

Project description

Radiation Belts Analysis and Modeling Library (rbamlib)

Overview

rbamlib is a lightweight, open-source Python library for the analysis and modeling of radiation belts.

The library aims to support the scientific community by providing essential functionalities for radiation belt studies, with detailed documentation. This includes system properties calculations, empirical model collections, and modeling support.

[!IMPORTANT] This library is currently in active development.

Some functions are placeholders and may not yet have full implementations. Expect ongoing updates and new features as the library evolves.

Documentation Status

Planned Key Features

  • System Properties: Adiabatic invariants transformation, drift velocities, phase space density, and motion periods calculation, adaptable for different planets.
  • Empirical Models Collection: Radial diffusion coefficients, lifetimes, local diffusion coefficients scaling, plasma densities, and more.
  • Modeling Support: Conversion between simulation grids, boundary and initial condition characteristics, adiabatic transformation of boundary scaling factors.

Architecture

The library is architected into Python packages, acting as modules containing multiple functions organized in separate files. This design allows for direct function imports from the package, streamlining usage without the need to reference specific files.

For example, pc2en function from conv package is located in conv/pc2en.py file. To use it simply import it as follows:

import rmamlib.conv.pc2en

The primary function that users should utilize is named after the file itself, ensuring intuitive access. If this main function relies on any helper functions, they are located within the same file to maintain coherence. These helper functions are kept distinct to facilitate targeted testing and validation.

Development and Contribution

The library is being developed in compliance with the Heliophysics Community (PyHC) Standards and HP Data Policy. It will be documented, tested with a planned release on Python Package Index (PyPI).

How to Contribute

The contributions from the community as welcomed! If you're interested in contributing, please see CONTRIBUTING.md.

Installation and Usage

Instructions on how to install and use rbamlib will be provided upon release.

At this moment, you can to install library you can clone the repository:

git clone https://github.com/radiation-belts/rbamlib.git

Recently, the package become available to install using PyPI.

pip install rbamlib

Documentation

For more information, please see our documentation at:

https://rbamlib.readthedocs.io/

License

rbamlib is released under the BSD-License (3-clause version). See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rbamlib-25.4.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rbamlib-25.4-py3-none-any.whl (55.8 kB view details)

Uploaded Python 3

File details

Details for the file rbamlib-25.4.tar.gz.

File metadata

  • Download URL: rbamlib-25.4.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rbamlib-25.4.tar.gz
Algorithm Hash digest
SHA256 405595f25f1b7e9750f75a1748da485dfbbf15fee9447408a0f9004cbd2dddd1
MD5 46c41f7e8cb8539aa7ea6d256649dc49
BLAKE2b-256 f4239fbafefce5a319dee460518f088df6c8284fe9d5197858608179c27ad6fa

See more details on using hashes here.

File details

Details for the file rbamlib-25.4-py3-none-any.whl.

File metadata

  • Download URL: rbamlib-25.4-py3-none-any.whl
  • Upload date:
  • Size: 55.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rbamlib-25.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cfa2726360cf594cb4cf86021c3175d30aa4402b6a16cd11c438950efdb7125f
MD5 d9d6bb811ebf360cd485617a0ef679c6
BLAKE2b-256 2c8370ca2623e267c1cf7e262dc8d3197de4fa3373bb9198ee7b8dcf5b6d9774

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page