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. This includes system properties calculations, empirical model collections, and modeling support.

The library is at stage of active development.

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

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-24.8.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

rbamlib-24.8-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rbamlib-24.8.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for rbamlib-24.8.tar.gz
Algorithm Hash digest
SHA256 0b8e4ee070ae1ee5f76a8aba5672c7336c967853da91c2489b05082555eadbe0
MD5 85071b42df9cd979caf96c8c15727057
BLAKE2b-256 4320bf81385827b17a6111c39bf6d1a8bdc6025e4744595d46e00edb74d73e3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rbamlib-24.8-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for rbamlib-24.8-py3-none-any.whl
Algorithm Hash digest
SHA256 475ea6e5d084e12ff0a8d54c4830e9618612d18df2d8eab16a569a5104ed34be
MD5 b1daebbbd01bc9a684b2ecd44fe77d1e
BLAKE2b-256 05535b56ecb8de2c8a9c3189e4f152853e412acb56ad9a7ef3f81851cd3f664e

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