mstk.topology.Angle¶
- class mstk.topology.Angle(atom1, atom2, atom3)¶
A angle between three atoms. The second atom is the central atom.
Methods
__init__(atom1, atom2, atom3)equals(other)Check if two angles represent the same connectivity.
evaluate([cell])Evaluate the value of this angle in unit of radian
Attributes
The atoms forming this angle
The two bonds between each side atom and the center atom
Name of this angle
- equals(other)¶
Check if two angles represent the same connectivity. Return True if they contain the identical side atoms and center atom, regardless of the sequence of side atoms.
- Parameters:
other (Angle) –
- Returns:
equal
- Return type:
bool
- property name¶
Name of this angle
- Returns:
name
- Return type:
str