openmm
#
Convert between OpenMM and mdtop
objects.
Functions:
-
from_openmm
–Create a topology from an OpenMM topology.
-
to_openmm
–Convert the topology to an OpenMM topology.
from_openmm
#
from_openmm(topology_omm: Topology) -> Topology
Create a topology from an OpenMM topology.
Parameters:
-
topology_omm
(Topology
) –The OpenMM topology to convert.
Returns:
-
Topology
–The converted topology.
Source code in mdtop/_io/openmm.py
to_openmm
#
Convert the topology to an OpenMM topology.
Returns:
-
Topology
–The OpenMM topology.