Skip to main content

Accurate Biot-Savart routines with Correct Asymptotic Behaviour

ABSCAB logo

This library can be used to compute the magnetic field and the magnetic vector potential of filamentary current carriers in the form of a circular loop and straight segments. Arbitrary geometries of conductors can be approximated by a polygon along its contour and the connecting segments between the polygon vertices are modeled by straight segments. Finite-width conductors can be approximated by arranging multiple filaments throughout the cross section of the current carrier.

Please consider leaving a GitHub star if you like this software.

If you use this software for scientific work, we kindly ask you to cite the corresponding article:

@article{abscab_2023,
  title  = {{Biot-Savart routines with minimal floating point error}},
  author = {Jonathan Schilling and Jakob Svensson and Udo Höfel and Joachim Geiger and Henning Thomsen},
  journal = {Computer Physics Communications},
  pages = {108692},
  year = {2023},
  issn = {0010-4655},
  doi = {10.1016/j.cpc.2023.108692}
}

This is the Python implementation of ABSCAB.

description link to file
main implementation abscab.py
unit tests test_abscab.py
demo code demo_abscab.py
parallelized :heavy_multiplication_x:

Release files for abscab 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for abscab 1.0.0
File Interpreter ABI Platform
abscab-1.0.0-py3-none-any.whl Python 3 none any Details

Release files / abscab-1.0.0-py3-none-any.whl

Download URL abscab-1.0.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d4e2e5c27f9aac1bb59f23b508343c40c03de3768a3b9f6b25b95618b9dda03
BLAKE2b-256 checksum
How to use checksums
36c2f83cc8972ad509f84ea0830873a6c8328b538ee09bf729465cb76abab461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page