stko.molecule_analysis.X5Planarity

class stko.molecule_analysis.X5Planarity[source]

Bases: C6Planarity

Sub group measure of five-membered ring planarity.

Warning

This code is only present in the latest versions of stko that require Python 3.11!

Methods

measure

Measure the geometrical property of interest for the subgroup.

measure(molecule)

Measure the geometrical property of interest for the subgroup.

Defined in _calculate_measure and _find_subgroup private methods.

Parameters:

molecule (Molecule) – The molecule to analyse.

Returns:

List of measures.

Return type:

list[float]