radtools.Cell.params#
- radtools.Cell.params(cell)[source]#
Return lattice parameters from cell.
Added in version 0.7.
- Parameters:
- cell(3,3) array-like
Cell matrix, rows are interpreted as vectors.
cell = [[a1_x, a1_y, a1_z], [a2_x, a2_y, a2_z], [a3_x, a3_y, a3_z]]
- Returns:
- afloat
Length of the \(a_1\) vector.
- bfloat
Length of the \(a_2\) vector.
- cfloat
Length of the \(a_3\) vector.
- alphafloat
Angle between vectors \(a_2\) and \(a_3\). In degrees.
- betafloat
Angle between vectors \(a_1\) and \(a_3\). In degrees.
- gammafloat
Angle between vectors \(a_1\) and \(a_2\). In degrees.