radtools.ORC#
- radtools.ORC(a: float, b: float, c: float, return_cell=False)[source]#
Construct orthorhombic primitive lattice.
See Orthorhombic (ORC) 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
Latticeobject.
- Returns:
- lattice
Latticeor (3, 3) numpy.ndarray Orthorhombic lattice or cell.
- lattice