Magpylib

Latest version: v5.0.2

Safety actively analyzes 633963 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

5.0.2

- Fixed a display issue causing incorrect calculation of viewbox limits ([772](https://github.com/magpylib/magpylib/pull/772))
- Removed support for python 3.8 and 3.9 by now following the scientific-python.org support timelines ([773](https://github.com/magpylib/magpylib/pull/773))
- Fixed CI testing with newer backend versions ([774](https://github.com/magpylib/magpylib/pull/774))
- Updated site notice to mention the awarded "small development grant" by NumFocus. ([758](https://github.com/magpylib/magpylib/pull/758))
- Fix inaccurate citation year for Yang publication ([764](https://github.com/magpylib/magpylib/pull/764), with thanks to feldnerd for the contribution!)

5.0.1

- Fixed a bug where `getBHJM` of a Collection would produce one extra dimension ([753](https://github.com/magpylib/magpylib/issues/753))
- Fixed a bug where the legend of a deeply nested Collection would be wrong ([756](https://github.com/magpylib/magpylib/issues/756))

5.0.0

⚠️ Breaking Changes ⚠️
- 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.
- 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))
- Added mu0 at top level as `magpylib.mu_0`. The value of mu0 is taken from scipy and follows the 2019 redefinition. All internal computations now include this new value. ([714](https://github.com/magpylib/magpylib/issues/714), [#731](https://github.com/magpylib/magpylib/issues/731))
- The core level now includes only the true bottom level implementations. ([727](https://github.com/magpylib/magpylib/issues/727))
- As Matplotlib graphic representation of 3D objects is terrible, we decided to go back to "arrow" graphic default mode when graphic backend is "Matplotlib".([735](https://github.com/magpylib/magpylib/issues/735))

4.5.1

- Fixed a field computation issue where H-field resulting from axial magnetization is computed incorrectly inside of Cylinders ([703](https://github.com/magpylib/magpylib/issues/703))

4.5.0

- Added optional handedness parameter for Sensors ([687](https://github.com/magpylib/magpylib/pull/687))
- Renaming classes: `Line`→`Polyline`, `Loop`→`Circle`. Old names are still valid but will issue a `DeprecationWarning` and will eventually be removed in the next major version ([690](https://github.com/magpylib/magpylib/pull/690))
- Rework CI/CD workflows ([686](https://github.com/magpylib/magpylib/pull/686))

4.4.1

- Fix deployment release ([682](https://github.com/magpylib/magpylib/pull/682))
- Fix axis mismatch on show/hide of sensor arrows ([679](https://github.com/magpylib/magpylib/pull/679))
- Documentation improvements ([673](https://github.com/magpylib/magpylib/pull/673))

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.