Lattice points#

This page explains how to display lattice points associated with the given cell.

We use FCC cell as an example.

import wulfric

cell = wulfric.cell.SC_FCC(a=3)

Wulfric assumes that cell contains one lattice point.

pe = wulfric.PlotlyEngine(_sphinx_gallery_fix=True)

pe.plot_cell(cell=cell, legend_label="Original cell", color="green")
pe.plot_lattice(cell=cell, range=(4, 4, 4), legend_label="Associated lattice")

pe.show()


Total running time of the script: (0 minutes 0.039 seconds)

Gallery generated by Sphinx-Gallery