Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## [5.0.4] - 2024-06-18
- Add support for Numpy 2.0 ([#795](https://github.com/magpylib/magpylib/pull/789))
- Fix markers legend not being suppressible ([#795](https://github.com/magpylib/magpylib/pull/789))

Expand All @@ -25,7 +25,7 @@
- The Magpylib inputs and outputs are now in **SI Units**.
- The `magnetization` parameter has also been redefined to reflect the true physical magnetization quantity in units of A/m.
### Other Improvements
- The `magnetization` parameter is now codependent with the new `polarization` parameter that is the physical magnetic polarization ([#712](https://github.com/magpylib/magpylib/issues/712)) in units of Tesla.
- The `magnetization` parameter is now codependent with the new `polarization` parameter that is the physical magnetic polarization ([#712](https://github.com/magpylib/magpylib/issues/712)) in units of Tesla
- Added `getM` (magnetization) and `getJ` (polarization) top level functions and class methods reminiscent of `getB` and `getH`.
- The `in_out` (inside/outside) parameter is added to all field functions (`getBHJM`) to specify the location of the observers relative to the magnet body in order to increase performance ([#717](https://github.com/magpylib/magpylib/issues/717), [#608](https://github.com/magpylib/magpylib/issues/608))
- Review of documentation and adding a few requested things ([#685](https://github.com/magpylib/magpylib/issues/685), some of [#659](https://github.com/magpylib/magpylib/issues/659))
Expand Down Expand Up @@ -469,7 +469,8 @@ The first official release of the Magpylib library.

---

[Unreleased]:https://github.com/magpylib/magpylib/compare/5.0.3...HEAD
[Unreleased]:https://github.com/magpylib/magpylib/compare/5.0.4...HEAD
[5.0.4]:https://github.com/magpylib/magpylib/compare/5.0.3...5.0.4
[5.0.3]:https://github.com/magpylib/magpylib/compare/5.0.2...5.0.3
[5.0.2]:https://github.com/magpylib/magpylib/compare/5.0.1...5.0.2
[5.0.1]:https://github.com/magpylib/magpylib/compare/5.0.0...5.0.1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</a>
<a href="https://anaconda.org/conda-forge/magpylib"> <img src="https://anaconda.org/conda-forge/magpylib/badges/version.svg" alt="Conda Cloud" height="18">
</a>
<a href="https://mybinder.org/v2/gh/magpylib/magpylib/5.0.3?filepath=docs%2Fexamples"> <img src="https://mybinder.org/badge_logo.svg" alt="MyBinder link" height="18">
<a href="https://mybinder.org/v2/gh/magpylib/magpylib/5.0.4?filepath=docs%2Fexamples"> <img src="https://mybinder.org/badge_logo.svg" alt="MyBinder link" height="18">
</a>
<a href="https://github.com/psf/black"> <img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="black" height="18">
</a>
Expand Down Expand Up @@ -136,7 +136,7 @@ A valid software citation could be
author = {{Michael-Ortner et al.}},
title = {magpylib},
url = {https://magpylib.readthedocs.io/en/latest/},
version = {5.0.3},
version = {5.0.4},
date = {2023-06-25},
}
```
4 changes: 2 additions & 2 deletions docs/_static/switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"url": "https://magpylib.readthedocs.io/en/latest/"
},
{
"name": "5.0.3 (stable)",
"version": "5.0.3",
"name": "5.0.4 (stable)",
"version": "5.0.4",
"url": "https://magpylib.readthedocs.io/en/stable",
"preferred": true
},
Expand Down
2 changes: 1 addition & 1 deletion magpylib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

"""
# module level dunders
__version__ = "5.0.3"
__version__ = "5.0.4"
__author__ = "Michael Ortner & Alexandre Boisselet"
__credits__ = "The Magpylib community"
__all__ = [
Expand Down