Expand description
§Magba
Magba is a performant analytical magnetic computation library for Rust.
All physical quantities are assumed to be in SI units. Python bindings available via PyMagba.
§User Guide
§Basic Features
- Installing Magba and controlling feature flags
- Manipulating object positions and orientations
- Creating magnets and computing fields
- Using sensors to measure magnetic fields
- Grouping magnets and sensors into collections
- Parallelization using Rayon (enabled by default)
§Advanced Features
§Acknowledgment
Most of the field computation used in Magba is based on MagpyLib. We would like to thank MagpyLib contributors for their hard work and contributions to the scientific community.
Modules§
- base
- Base traits and behaviors.
- collections
std - Data structures for grouping and management of magnetic components.
- conversion
- Conversion utilities for magnetic field-related quantities.
- currents
- fields
- Analytical computation of magnetic fields for various source geometries.
- magnets
- Magnets and physical objects that generate magnetic fields.
- measurement
- Functions for computing magnetic field measurements.
- prelude
- Re-exports of commonly used Magba structs, traits, and methods.
- sensors
- Sensors for measuring magnetic fields.