Can any local geometric features of the potential predict kinetic features of a configuration?
Related work: Weinan E and colleagues identify the index-1 saddle points of the potential with transition states in their work on "gentlest ascent dynamics." They can then construct a simple dynamical system (given a potential function that is guaranteed to have the index-1 saddle points of the potential function as its set of invariant points.
Concrete steps:
In [1]:
from __future__ import print_function
import numpy as np
from matplotlib import pyplot as plt
from matplotlib.colors import LogNorm
from msmbuilder.decomposition import tICA
from msmbuilder.example_datasets import fetch_met_enkephalin
from msmbuilder.featurizer import AtomPairsFeaturizer
from sklearn.pipeline import Pipeline
%matplotlib inline
In [2]:
dataset = fetch_met_enkephalin()
print(dataset.DESCR)
In [3]:
from itertools import combinations
heavy_atoms = dataset.trajectories[0].topology.select_atom_indices('heavy')
heavy_pairs = list(combinations(heavy_atoms, 2))
In [4]:
traj = dataset.trajectories
In [5]:
feat = AtomPairsFeaturizer(heavy_pairs)
featurized = feat.fit_transform(traj)
In [6]:
feat_stack = np.vstack(featurized)
In [7]:
import msmbuilder
In [ ]:
msmbuilder.featurizer.
In [15]:
from simtk import openmm
from simtk.openmm import app
In [16]:
b = openmm.AmoebaBondForce()
In [18]:
forcefield = app.ForceField('amber99sb.xml', 'tip3p.xml')
In [21]:
t = traj[0][0]
In [26]:
t.topology.to_openmm()
Out[26]:
In [31]:
f = forcefield.createSystem(traj[0][0].topology.to_openmm())
In [ ]:
In [34]:
forces = f.getForces()
forces
Out[34]:
In [37]:
f0 = forces[0]
f0
Out[37]:
In [ ]: