Skip to main content

An extension to the Magpylib library, providing magnetic field analysis for soft materials and demagnetization of hard magnets.

Project description

magpylib-material-response

Code style: black

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magpylib-material-response-0.3.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

magpylib_material_response-0.3.0-py3-none-any.whl (93.5 kB view details)

Uploaded Python 3

File details

Details for the file magpylib-material-response-0.3.0.tar.gz.

File metadata

File hashes

Hashes for magpylib-material-response-0.3.0.tar.gz
Algorithm Hash digest
SHA256 eea6f963a1ef1f99354422ca239257bb28f5a052f41034a109bf9ca22a4a9bd3
MD5 bfe60e4b850d91f6548ec31e6b792d0b
BLAKE2b-256 97aeeceda0a5167555bd24e16bfdf511c036cd3113c959a9c633aeb90eb00f74

See more details on using hashes here.

File details

Details for the file magpylib_material_response-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for magpylib_material_response-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74c12255525b5254cc152c67b5b1ccf7bde82fe3e4eadf3f515f64f4c988d124
MD5 40e8794fde9f29c76b35119f4aa802ff
BLAKE2b-256 f3f21ec37f030a29fa5d77be8631cbe499ed16b21f30e633b73019664a178cef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page