Changelog#
The format follows Keep a Changelog. Versions follow semantic versioning, the metapackage version is updated according to the largest bump of any of the dependent packages.
0.6.0 – 2025-08-13#
Added#
mammos-entity
CSV files written with
mammos_entity.io
can now optionally contain a description. (PR52)Support for YAML as additional file format in
mammos_entity.io
. (PR59, PR69, PR70)Two new functions
mammos_entity.io.entities_to_file()
andmammos_entity.io.entities_from_file()
to write and read entity files. The file type is inferred from the file extension. (PR57)A function
mammos_entity.concat_flat()
to concatenate compatible entities, quantities and array-likes into a single entity. (PR56)
mammos-mumag
Add function
mammos_mumag.hysteresis.read_result()
to read the result of a hysteresis loop from a folder (without running the hysteresis calculation again). (PR48)Implement
mammos_mumag.mesh.Mesh
class that can read and display information of local meshes, meshes on Zenodo and meshes given by the user. (PR53)(PR42)
Changed#
mammos-analysis
The Kuz’min formula to evaluate micromagnetic properties can now accept Curie Temperature Tc and spontaneous magnetisation at zero temperature Ms_0 as optional inputs. If given, they are not optimised by fitting the magnetisation curve. (PR12)
The initial guess for the optimization of the Curie Temperature in Kuz’min formula is set to a much lower temperature (depending on the data). (PR18)
mammos-entity
When reading files with
mammos_entity.io
IRIs are now checked in addition to ontology labels and file reading fails if there is a mismatch between IRI and ontology label. (PR68)
mammos-mumag
Changed the output of the hysteresis loop in compliance with
mammos_entity.io
v2. (PR54)(PR46)
Deprecated#
mammos-entity
The functions
mammos.entity.io.entities_to_csv
andmammos_entity.io.entities_from_csv
have been deprecated. Usemammos_entity.io.entities_to_file()
andmammos_entity.io.entities_from_file()
instead. (PR58)
Fixed#
mammos-entity
mammos-dft
Update attribute name of uniaxial anisotropy constant to Ku_0 from K1_0 for the returned MicromagneticProperties object during a database lookup. ([#19](MaMMoS-project/mammos-dft#19))
mammos-mumag
Fixed the default values of the
MaterialDomain
class (PR41)
0.5.0 – 2025-07-11#
Added#
mammos-entity
A new submodule
mammos_entity.io
that provides two functions to write and read CSV files with additional ontology metadata. For more details refer to the new io documentation. (PR29, PR46, PR47 )
Fixed#
0.4.0 – 2025-06-27#
Changed#
mammos-entity
The
Entity
class is no longer a subclass ofmammos_units.Quantity
. As a consequence it does no longer support mathematical operations. Use the attribute.quantity
(or the short-hand.q
) to access the underlying quantity and to perform (mathematical) operations. (PR28)The package now comes with a bundled ontology consisting of EMMO (version 1.0.0-rc3) and Magnetic Material (version 0.0.3). Internet access is no longer required. (PR33)
mammos
Use Fe16N2 instead of Nd2Fe14B in hard magnet workflow. (PR17)
0.3.0 – 2025-06-11#
Added#
mammos-entity
New predefined entity
mammos_entity.J
New predefined entity
mammos_entity.Js
mammos-mumag
Optional argument
plotter
inplot_configuration
to add a vector plot of a magnetization configuration to apyvista.Plotter
provided by the caller.
Changed#
mammos-entity
Return a
mammos_units.UnitConversionError
(inherited fromastropy.units
) when trying initialize an entity with incompatible units.
0.2.0 – 2025-06-06#
Added#
mammos
Command-line script
mammos-fetch-examples
to download all example notebooks.
mammos-entity
Entity objects have
ontology_label_with_iri
attribute.
Changed#
mammos-entity
When trying to initialize an entity with a wrong unit the error message does now show the required unit defined in the ontology.
Fixed#
mammos-entity
Entity.to
did not return a new entity in the requested units and instead used the default entity units.Entity.axis_label
: unit inside parentheses instead of brackets.
0.1.0 – 2025-06-05#
Added#
mammos
– 0.1.0Workflows for hard magnets and sensor shape optimization.
Ensures compatible software components are installed.
mammos-analysis
– 0.1.0Calculation of macroscopic properties (Mr, Hc, BHmax) from a hysteresis loop.
Fitting of the linear segment of a hysteresis loop.
Calculation of temperature-dependent micromagnetic properties from atomistic spin dynamics simulations using Kuz’min equations.
mammos-dft
– 0.3.0Database lookup functionality for a selection of pre-computed materials.
mammos-entity
– 0.5.0Provides entities: quantities with links to the MaMMoS ontology (based on EMMO) by combining
mammos-units
and EMMOntoPy.Helper functions to simplify creation of commonly required magnetic entities.
mammos-mumag
– 0.6.0Finite-element hysteresis loop calculations.
Requires a separate installation of esys-escript.
mammos-spindynamics
– 0.2.0Database lookup functionality for a selection of pre-computed materials.
mammos-units
– 0.3.1Extension of astropy.units that allows working with quantities (units with values) containing additional units relevant for magnetism.