coflandscaper.parse_z_L_from_stem

coflandscaper.parse_z_L_from_stem(stem)[source]

Parse _z and _L tags from a structure stem.

Parameters:

stem (str) – Structure filename stem.

Returns:

Tuple (z, L) in Angstrom, or (nan, nan) when tags are missing.

Return type:

tuple[float, float]