radtools.ORCI#

radtools.ORCI(a: float, b: float, c: float, return_cell=False)[source]#

Construct body-centred orthorhombic primitive lattice.

See Body-centred orthorhombic (ORCI) for the definition of primitive and conventional cells.

Order: \(a < b < c\). Input is reordered if necessary.

Parameters:
afloat

Length of the smallest lattice vector of the conventional cell.

bfloat

Length of the medium lattice vector of the conventional cell.

cfloat

Length of the largest lattice vector of the conventional cell.

return_cellbool, default False

Whether to return the cell instead of the Lattice object.

Returns:
latticeLattice or (3, 3) numpy.ndarray

Body-centred orthorhombic lattice or cell.