treams.Lattice.cubic

classmethod Lattice.cubic(pitch, alignment=None)

Create a three-dimensional cubic lattice.

Parameters:
  • pitch (float) – Lattice constant.

  • alignment (str, optional) – Alignment of the lattice. Defaults to ‘xyz’.

Returns:

Lattice