Magpylib

Latest version: v5.1.1

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

Scan your dependencies

Page 3 of 7

4.2.0

- (Re)introducing the powerful `misc.Triangle` class that can be used to compute magnetic fields of arbitrarily shaped bodies by approximating their surface with triangular faces. ([568](https://github.com/magpylib/magpylib/issues/568))
- Introducing the `magnet.Tetrahedron` class as a derivate of the Triangle class. ([289](https://github.com/magpylib/magpylib/issues/289))
- Change Pyvista plotting defaults when using `show(backend='pyvista')` to fit better with other libraries. ([551](https://github.com/magpylib/magpylib/issues/551))
- Added code of conduct attempting to align with NumFocus standards ([558](https://github.com/magpylib/magpylib/issues/558))
- Improved Loop field computation in terms of performance and numerical stability ([374](https://github.com/magpylib/magpylib/issues/374))
- Added `magnetization.mode` style to allow showing magnetization direction for any backend ([576](https://github.com/magpylib/magpylib/pull/576))
- Documentation changes:
- Correct conda install command
- Integration of Triangle and Tetrahedron
- Changed example gallery substructure
- Rewritten and added some passages
- Fixed some bugs, minor performance increase, internal refactoring

4.1.2

- Fixed wrong magnetization arrow direction for some edge cases ([570](https://github.com/magpylib/magpylib/discussions/570), [#571](https://github.com/magpylib/magpylib/issues/571), [#572](https://github.com/magpylib/magpylib/pull/572))
- Fixed cryptic `getB`/`getH` error message ([562](https://github.com/magpylib/magpylib/issues/562), [#563](https://github.com/magpylib/magpylib/pull/563))

4.1.1

- Fixed inverted y and z axes colors for sensor representations ([556](https://github.com/magpylib/magpylib/pull/556))

4.1.0

- Field computation `getB`/`getH` now supports 2D [pandas](https://pandas.pydata.org/).[dataframe](https://pandas.pydata.org/docs/user_guide/dsintro.html#dataframe) in addition to the `numpy.ndarray` as output type. ([523](https://github.com/magpylib/magpylib/pull/523))
- Internal `getB`/`getH` refactoring. The direct interface with `'Line'` source argument now also accepts `'vertices'` as argument. ([540](https://github.com/magpylib/magpylib/pull/540))
- Complete plotting backend rework to prepare for easy implementation of new backends, with minimal maintenance. ([539](https://github.com/magpylib/magpylib/pull/539))
- New [Pyvista](https://docs.pyvista.org/) plotting backend ([#548](https://github.com/magpylib/magpylib/pull/548))
- Improvements on the [documentation](https://magpylib.readthedocs.io/en/latest/)

4.0.4

- Exclude redundant properties with `_all` suffix in the `.describe()` method ([534](https://github.com/magpylib/magpylib/pull/534))
- Docstring improvements ([535](https://github.com/magpylib/magpylib/pull/535))

4.0.3

- Fixed copy order Bug ([530](https://github.com/magpylib/magpylib/issues/530))

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.