treams.Lattice.orthorhombic

classmethod Lattice.orthorhombic(x, y, z, alignment=None)

Create a three-dimensional orthorhombic lattice.

Parameters:
  • x (float) – Lattice constant along the first dimension. For the default alignment this corresponds to the x-axis.

  • y (float) – Lattice constant along the second dimension. For the default alignment this corresponds to the y-axis.

  • z (float) – Lattice constant along the third dimension. For the default alignment this corresponds to the z-axis.

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

Returns:

Lattice