radtools.ORCC#
- radtools.ORCC(a: float, b: float, c: float, return_cell=False)[source]#
Construct base-centred orthorhombic primitive lattice.
See Base-centred orthorhombic (ORCC) 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 Base-centred orthorhombic lattice or cell.
- lattice