Metadata-Version: 2.4
Name: pymaga
Version: 0.0.0
Summary: Magnetic Analysis with GPU Acceleration - A Python library for GPU-accelerated magnetic field calculations using the Biot-Savart law
Author-email: Thomas Spielauer <pypipackages01@tspi.at>
License-Expression: BSD-3-Clause
Project-URL: Homepage, https://github.com/tspspi/maga
Project-URL: Bug Reports, https://github.com/tspspi/maga/issues
Keywords: magnetic-field,biot-savart,gpu-acceleration,opencl,physics,electromagnetic,simulation,coils,scientific-computing
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Education
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: numpy>=1.26.4
Requires-Dist: pyopencl>=2018.2
Provides-Extra: visualization
Requires-Dist: matplotlib>=3.8.0; extra == "visualization"
Provides-Extra: dev
Requires-Dist: pytest>=8.1.1; extra == "dev"
Requires-Dist: pytest-cov>=2.0; extra == "dev"
Provides-Extra: all
Requires-Dist: pymaga[dev,visualization]; extra == "all"
Dynamic: license-file

# Magnetic Analysis with GPU Acceleration (MAGA)

MAGA (Magnetic Analysis with GPU Acceleration) is a Python library for GPU-accelerated
magnetic field calculations using the Biot-Savart law. It supports arbitrary coil
geometries via Python or OpenCL geometry generators. GPU acceleration is realized
with OpenCL.

> __magus, maga, magum__ <br>
> _adjective_ <br>
> magic, magical


![](doc/maga01.png)

## License

See [LICENSE.md](./LICENSE.md)

## Installation

```
pip install pymaga
```

## Usage

Detailed usage examples can be seen in the ```examples``` directory.

## Validation

![Simulation of a Helmholz coil pair](verification/res/case_hh_1.png)

Validation scenarios can be found in the ```verification``` directory.
