cgexplore.analysis.ShapeMeasure¶
- class cgexplore.analysis.ShapeMeasure(output_dir, shape_path, shape_string=None)[source]¶
Bases:
objectUses Shape to calculate the shape of coordinates.
Shape: http://www.ee.ub.edu/
Methods
Calculate shape measures for a molecule.
Calculate shape from the centroids of building blocks.
Make position matrix from filtering molecule based on element.
Get molecule to analyse by filtering by element.
Reference shapes as dictionary.
- calculate(molecule)[source]¶
Calculate shape measures for a molecule.
- Parameters:
molecule (Molecule)
- Return type:
- calculate_from_centroids(constructed_molecule, target_atmnums)[source]¶
Calculate shape from the centroids of building blocks.
Currently not implemented well.
- fill_position_matrix_molecule(molecule, elements, old_position_matrix)[source]¶
Make position matrix from filtering molecule based on element.