Version 0.2#
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.
0.2.1#
Warning
We do not recommend to use Energy.optimize() or magnopy-optimize-sd of
this version of Magnopy.
Date : 10 September 2025
Bugfix#
Fix problem with
np.linalg.traceand withnp.linalm.norm(..., axis=1)in magnopy.experimental module.
0.2.0#
Warning
We do not recommend to use experimental.plot_spinham() of this version with
old (<2.*) versions of numpy.
We do not recommend to use Energy.optimize() or magnopy-optimize-sd of
this version of Magnopy.
Date: 10 September 2025
New features#
Energy.optimize_generator()no_html,hide_personal_data,spglib_symprecarguments inscenarios.solve_lswt().no_html,hide_personal_data,supercellarguments inscenarios.optimize_sd().-s, --supercell,-no-html, --no-html,-hpd, --hide-personal-datain magnopy-optimize-sd.-no-html, --no-html,-hpd, --hide-personal-data,-spg-s, --spglib-symprec,-msdi, --make-sd-imagein magnopy-lswt.Output of "INITIAL_GUESS.txt", "SPIN_DIRECTIONS.html" and "SPIN_POSITIONS.txt" of the magnopy-optimize-sd script.
Output of "K-POINTS.html", "SPIN_VECTORS.txt", "HIGH-SYMMETRY_POINTS.txt", "K-POINTS.txt" and "SPIN_DIRECTIONS.html" of the magnopy-lswt script.
Implement magnopy.experimental module, where experimental features of Magnopy will be located. Those features might migrate to the core package in the future versions or be removed from it.
experimental.change_unit_cell()
Bug fixes#
Fix issue #40
Fix a bug in
io.dump_vampire()- material index in .UCF file was always 0, now it varies when it should.
Improvements#
Make matplotlib and plotly optional dependencies. Use
pip install "magnopy[visual]"to be able to use plotting functions.
Breaking changes wrt 0.1#
Deprecated features#
io.output_k_resolved()
Removed features#
LSWT.G_inv()make_sd_imageargument inscenarios.solve_lswt()andscenarios.optimize_sd().