Version 0.4#
0.4.3#
Date: 9 January 2026
Improvement#
Make LSWT diagonalization more numerically stable. This should fix rare cases of non-continues magnon spectra.
Improve speed of the diagonalization in LSWT diagonalization (up to the factor x2).
0.4.2#
Date: 21 November 2025
Bugfix#
Fix a rare bug with p21 parameter in the dispersion calculation.
Fix issue #79: Incorrect sorting of the eigenvectors in some cases, introduced in 0.2.
Improvements#
Improve text of warnings of the
magnopy-lswtscript.
0.4.1#
Warning
We recommend not to use this version of magnopy due to issue #79, that can affect some (not all) calculations of spin wave spectra. Use 0.4.2 and later instead.
Date: 3 November 2025
Bugfix#
Fix issue #80: a bug in
magnopy-lswtwhen using--k-pointsargument.
0.4.0#
Date: 23 October 2025
Warning
We do not recommend to use magnopy-lswt script with --k-points argument
of this version. There is a bug that was fixed in 0.4.1.
Important
Together with this release we release a master tutorial about magnopy: Tutorials. You can take it as a starting point to learn how to use magnopy.
Bugfix#
Fix issue #74: a bug in
magnopy-lswt, when it is used with--k-pointsargument.Fix a bug in
magnopy.examples.ivuzjo: J=10 was fixed, now input value is used.
New features#
Major improvement of the console output for both
magnopy-lswtandmagnopy-optimize-sd.Add summary of the executed commands to the output of both
magnopy-lswtandmagnopy-optimize-sd.Add output of magnetic field to
magnopy-optimize-sd.Add "E_0.txt" output file to
magnopy-optimize-sd.Add "E_0.txt", "E_2.txt" and "ONE_OPERATOR_TERMS.txt" output file to
magnopy-optimize-sd.Add parameter
B``in ``magnopy.SpinHamiltonian.add_magnetic_field.Implement issue #72:
magnopy.Convention.__str__()andmagnopy.Convention.__repr__().Implement
magnopy.Convention.__hash__().Implement
when_presentargument inmagnopy.SpinHamiltonian.add_1,magnopy.SpinHamiltonian.add_21,magnopy.SpinHamiltonian.add_22,magnopy.SpinHamiltonian.add_31,magnopy.SpinHamiltonian.add_32,magnopy.SpinHamiltonian.add_33,magnopy.SpinHamiltonian.add_41,magnopy.SpinHamiltonian.add_421,magnopy.SpinHamiltonian.add_422,magnopy.SpinHamiltonian.add_43,magnopy.SpinHamiltonian.add_44.Implement
spin_valuesinload_grogu(), same as inload_tb2j().Implement issue #75:
--spglib-typesinmagnopy-lswt.Implement
magnopy.io.plot_dispersion.Extend
--spin-valuesfor the GROGU as well inmagnopy-optimize-sdandmagnopy-lswt.Extend hover information in
magnopy.experimental.plot_spinham().
Deprecated#
magnopy.Convention.summaryuseprint(convention)orstr(convention)instead.replaceargument inmagnopy.SpinHamiltonian.add_1,magnopy.SpinHamiltonian.add_21,magnopy.SpinHamiltonian.add_22,magnopy.SpinHamiltonian.add_31,magnopy.SpinHamiltonian.add_32,magnopy.SpinHamiltonian.add_33,magnopy.SpinHamiltonian.add_41,magnopy.SpinHamiltonian.add_421,magnopy.SpinHamiltonian.add_422,magnopy.SpinHamiltonian.add_43,magnopy.SpinHamiltonian.add_44. Usewhen_present="replace"instead.hinmagnopy.SpinHamiltonian.add_magnetic_fieldin favor ofB.magnopy.experimental.plot_dispersionusemagnopy.io.plot_dispersioninstead.