radtools.ORCF_variation#

radtools.ORCF_variation(conv_a: float, conv_b: float, conv_c: float, eps: float)[source]#

Three variations of the ORCF lattice.

Ordering \(a < b < c\) is assumed.

\(\text{ORCF}_1: \dfrac{1}{a^2} > \dfrac{1}{b^2} + \dfrac{1}{c^2}\), \(\text{ORCF}_2: \dfrac{1}{a^2} < \dfrac{1}{b^2} + \dfrac{1}{c^2}\), \(\text{ORCF}_3: \dfrac{1}{a^2} = \dfrac{1}{b^2} + \dfrac{1}{c^2}\),

Parameters:
conv_afloat

Length of the \(a_1\) vector of the conventional cell.

conv_bfloat

Length of the \(a_2\) vector of the conventional cell.

conv_cfloat

Length of the \(a_3\) vector of the conventional cell.

epsfloat

Tolerance for numerical comparison.

Returns:
variationstr

Variation of the lattice. "ORCF1", "ORCF2" or "ORCF3".

Raises:
ValueError

If \(a < b < c\) is not satisfied.