radtools.RHL_variation#
- radtools.RHL_variation(conv_alpha: float, eps: float)[source]#
Two variations of the RHL lattice.
Condition \(\alpha \ne 90^{\circ}\) is assumed.
\(\text{RHL}_1 \alpha < 90^{\circ}\), \(\text{RHL}_2 \alpha > 90^{\circ}\)
- Parameters:
- conv_alphafloat
Angle between vectors \(a_1\) and \(a_2\) of the conventional cell. In degrees.
- epsfloat
Tolerance for numerical comparison.
- Returns:
- variationstr
Variation of the lattice. Either "RHL1" or "RHL2".
- Raises:
- ValueError
If \(\alpha == 90^{\circ}\) with given tolerance
eps.