biotite.structure.unitcell_from_vectors¶
- biotite.structure.unitcell_from_vectors(box)[source]¶
Get the unit cell lengths and angles from box vectors.
This is the reverse operation of
vectors_from_unitcell()
.- Parameters
- boxndarray, shape=(3,3)
The box vectors
- Returns
- len_a, len_b, len_cfloat
The lengths of the three box/unit cell vectors a, b and c.
- alpha, beta, gammafloat
The angles between the box vectors in radians.
See also