stko.TorsionInfo
- class stko.TorsionInfo(torsion, building_block, building_block_id, building_block_torsion)[source]
Bases:
objectHolds additional info about ConstructedMoleculeTorsioned torsions.
- Parameters:
torsion (Torsion) – The torsion about which information is held.
building_block (Molecule | None) – The building block from which this torsion originates. Can be
None, if the atoms that make up the torsion did not come from a single building block.building_block_id (int | None) – A unique id for each
stk.Moleculeplaced during the construction of theConstructedMolecule. As a singlestk.Moleculecan be placed multiple times during construction, the building_block_id allows the user to distinguish between each placement. Can be Can beNone, if the atoms that make up the torsion did not come from a single building block.building_block_torsion (Torsion | None) – The building block torsion from which this torsion originates. Can be
None, if the atoms that make up the torsion did not come from a single building block.
Methods
Torsion of atoms in building block.
Torsion of atoms in constructed molecule.