wulfric.Cell.params#
- wulfric.Cell.params(cell)#
Computes lattice parameters from cell.
- Parameters:
- cell(3,3) array-like
Cell matrix, rows are interpreted as vectors.
cell = [[a1x, a1y, a1z], [a2x, a2y, a2z], [a3x, a3y, a3z]]
- Returns:
- afloat
Length of the \(\boldsymbol{a_1}\) vector.
- bfloat
Length of the \(\boldsymbol{a_2}\) vector.
- cfloat
Length of the \(\boldsymbol{a_3}\) vector.
- alphafloat
Angle between vectors \(\boldsymbol{a_2}\) and \(\boldsymbol{a_3}\). In degrees.
- betafloat
Angle between vectors \(\boldsymbol{a_1}\) and \(\boldsymbol{a_3}\). In degrees.
- gammafloat
Angle between vectors \(\boldsymbol{a_1}\) and \(\boldsymbol{a_2}\). In degrees.