Skip to content
Snippets Groups Projects
Commit ae4a7e86 authored by Niklaus Johner's avatar Niklaus Johner
Browse files

Added a python module for structure analysis

and a function GetFrameFromEntity
parent 542653d3
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ set(OST_MOL_ALG_PYMOD_MODULES
views.py
superpose.py
trajectory_analysis.py
structure_analysis.py
)
if (ENABLE_IMG)
......
from _ost_mol_alg import *
from ost.mol.alg.superpose import *
import ost.mol.alg.trajectory_analysis
import ost.mol.alg.structure_analysis
"""
Some functions for analyzing trajectories
Author: Niklaus Johner
"""
import os
import ost
def GetFrameFromEntity(eh):
"""
This function returns a CoordFrame from an EntityHandle
Input:
eh : EntityHandle
"""
return ost.mol.CreateCoordFrame(eh.GetAtomPosList())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment