Visualization

This subpackage contains various routines to plot the system of magnetic entities and pairs. Furthermore it will be able to plot the calculated magnetic exchange parameters.

Functions

plot_contour(contour)

Creates a plot from the contour sample points.

plot_kspace(kspace)

Creates a plot from the Brillouin zone sample points.

plot_magnetic_entities(magnetic_entities)

Creates a plot from a list of magnetic entities.

plot_pairs(pairs[, connect, cell])

Creates a plot from a list of pairs.

plot_DMI(pairs[, rescale])

Creates a plot of the DM vectors from a list of pairs.

plot_DM_distance(pairs)

Plots the magnitude of DM vectors as a function of distance.

plot_Jiso_distance(pairs)

Plots the isotropic exchange as a function of distance.

plot_1D_convergence(files, parameter[, maxdiff])

Reads output files and create a plot for the convergence test.

Background information

Currently all the functions are using the plotly library. This decision was made because it can be used in the Jupyter environment and supports interactive and 3D plots.

Examples

For examples, see the Visualize the exchange in tutorials.