An extension to the Magpylib library, providing magnetic field analysis for soft materials and demagnetization of hard magnets.
Project description
magpylib-material-response
Warning This package is experimental and in a very dynamic development phase. Breaking API changes may happen at any time.
Magpylib-Material-Response is an extension to the Magpylib library, providing magnetic field analysis for soft materials and demagnetization of hard magnets. Leveraging the Method of Moments, it calculates magnetic material response by meshing sources in an arbitrary number of unit elements.
Installation
Install from PyPi
$ pip install magpylib-material-response
or locally:
$ pip install -e .[code_style,testing]
Testing
Enter created folder then run tests:
$ flake8 .
$ black .
$ pytest
To use pre-commit:
$ git add *
# to apply to staged files
$ pre-commit run
# restage if changes
$ git add *
# to run on commits
$ pre-commit install
$ git commit -m 'Initial commit'
(package originally created by python-pkg-cookiecutter)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file magpylib-material-response-0.1.0a6.tar.gz
.
File metadata
- Download URL: magpylib-material-response-0.1.0a6.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c92ff593e4ef8fe89cc217f9c744e770e5c5319fe3d7b12a7610810648afccb |
|
MD5 | 6184256f8768735ac533bd8b7b7f11ce |
|
BLAKE2b-256 | 0af979dbbd35be4ad892f0ece29533b6e419d0928f1d1b453b90d4dd962f565f |
File details
Details for the file magpylib_material_response-0.1.0a6-py3-none-any.whl
.
File metadata
- Download URL: magpylib_material_response-0.1.0a6-py3-none-any.whl
- Upload date:
- Size: 90.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a6bde40688b656b1e9084f80a4a1ca7dabdbc8eef5cadb7753f3a20a422a28 |
|
MD5 | 1a30987be7d1d42b3a8f6258deaa607c |
|
BLAKE2b-256 | d0fb3c87aa2df448e9868832676ef614862b5350d3a4a922cf33e16cd057deee |