cgexplore.analysis.GeomMeasure¶
- class cgexplore.analysis.GeomMeasure(target_torsions=None)[source]¶
Bases:
objectClass to perform geometry calculations.
- Parameters:
target_torsions (Iterable[TargetTorsion] | None) – An iterable of TargetTorsion defining which torsions to capture if you run calculate_torsions.
Methods
Calculate the angle values.
Calculate the bond lengths.
Calculate the maximum diameter of the molecule.
Calculate the minimum distance between beads and centroid.
Calculate the minimum distance between beads and beads.
Calculate the radius of gyration.
Calculate the value of target torsions.
Get the values in terms of forcefield terms.
- classmethod from_forcefield(forcefield)[source]¶
Get the values in terms of forcefield terms.
- Parameters:
forcefield (ForceField)
- Return type:
- calculate_angles(molecule)[source]¶
Calculate the angle values.
Uses stko.molecule_analysis.GeometryAnalyser
- calculate_bonds(molecule)[source]¶
Calculate the bond lengths.
Uses stko.molecule_analysis.GeometryAnalyser
- calculate_max_diameter(molecule)[source]¶
Calculate the maximum diameter of the molecule.
Uses stko.molecule_analysis.GeometryAnalyser
- Parameters:
molecule (Molecule) – The molecule to analyse.
- Return type:
- calculate_min_distance(molecule)[source]¶
Calculate the minimum distance between beads and centroid.
- calculate_minb2b(molecule)[source]¶
Calculate the minimum distance between beads and beads.
- Parameters:
molecule (Molecule) – The molecule to analyse.
- Returns:
The minimum bead-to-bead distance.
- Return type:
- calculate_radius_gyration(molecule)[source]¶
Calculate the radius of gyration.
Uses stko.molecule_analysis.GeometryAnalyser
- Parameters:
molecule (Molecule) – The molecule to analyse.
- Return type: