coflandscaper.ab_half_diagonal_from_cif

coflandscaper.ab_half_diagonal_from_cif(input_file)[source]

Compute half the $a+b$ diagonal length and angle from a CIF.

Parameters:

input_file (str) – Path to the CIF file.

Returns:

(length, angle_deg) tuple.

Return type:

tuple[float, float]