stko.molecule_analysis.GeometryAnalyser
- class stko.molecule_analysis.GeometryAnalyser[source]
Bases:
objectTools for analysing the geometry of molecules.
Warning
This code is only present in the latest versions of stko that require Python 3.11!
Methods
Calculate angles for all angles defined by molecule bonding.
Calculate bond lengths for all stk.Molecule.get_bonds().
Calculate all torsions defined by molecule bonding.
Get the average distance between the molecule and centroid.
Get the maximum diameter of the molecule (defined in stk).
Get all metal-centroid-metal angles.
Get all metal atom pair distances.
Get the minimum distance between atoms in molecule.
Get the minimum distance between the molecule and centroid.
Get the radius of gyration of the molecule.
- get_avg_centroid_distance(molecule)[source]
Get the average distance between the molecule and centroid.
- get_max_diameter(molecule)[source]
Get the maximum diameter of the molecule (defined in stk).
- Parameters:
molecule (Molecule) – The molecule to analyse.
- Returns:
The maximum diameter in Angstrom.
- Return type:
- get_metal_centroid_metal_angle(molecule, metal_atom_nos)[source]
Get all metal-centroid-metal angles.
- get_min_atom_atom_distance(molecule)[source]
Get the minimum distance between atoms in molecule.
This does not consider bonding.
- Parameters:
molecule (Molecule) – The molecule to analyse.
- Returns:
The minimum distance.
- Return type: