radtools.TET#
- radtools.TET(a: float, c: float, return_cell=False)[source]#
Construct tetragonal primitive lattice.
See Tetragonal (TET) for the definition of primitive and conventional cells.
- Parameters:
- afloat
Length of the two equal lattice vectors of the conventional cell.
- cfloat
Length of the third 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 Tetragonal lattice or cell.
- lattice