Skip to content

Commit 0deeb06

Browse files
authored
Merge pull request #19 from sroet/openmm_76
2 parents b2b42da + 312f4f1 commit 0deeb06

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

1_tps_sampling_tutorial.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"import matplotlib.pyplot as plt\n",
3434
"import numpy as np\n",
3535
"\n",
36-
"from simtk.openmm import app\n",
37-
"import simtk.openmm as mm\n",
38-
"import simtk.unit as unit\n",
36+
"from openmm import app\n",
37+
"import openmm as mm\n",
38+
"import openmm.unit as unit\n",
3939
"import openmmtools\n",
4040
"\n",
4141
"import openpathsampling as paths\n",

5_custom_shooting_setup.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"source": [
158158
"For our two-way shooting, we'll need to create a `TwoWayShootingStrategy`. This will require a modifier; to keep things simple, we'll completely randomize velocities (consistent with a given temperature) using `paths.RandomVelocities`. In order to be consistent between engines, `RandomVelocities` takes its input as the inverse temperature, $\\beta = 1/(k_\\text{B}T)$.\n",
159159
"\n",
160-
"For the toy engine, we can obtain the temperature from `engine.integ.temperature`, and we work in units where $k_\\text{B}=1$, so it is easy to calculate $\\beta$. For other engines, you'll need to use the correct value of $k_\\text{B}$. For OpenMM, you also need to worry about units: use `simtk.unit.BOLTZMANN_CONSTANT_kB`.\n",
160+
"For the toy engine, we can obtain the temperature from `engine.integ.temperature`, and we work in units where $k_\\text{B}=1$, so it is easy to calculate $\\beta$. For other engines, you'll need to use the correct value of $k_\\text{B}$. For OpenMM, you also need to worry about units: use `openmm.unit.BOLTZMANN_CONSTANT_kB`.\n",
161161
"\n"
162162
]
163163
},

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ This tutorial has been used in multiple classes and workshops, including
112112
several E-CAM Extended Software Development Workshops (Leiden, The Netherlands,
113113
2017; Lyon, France, 2019), Master's-level courses in Biomolecular Simulation at
114114
the University of Amsterdam (since 2017), and the CECAM flagship school MolSim
115-
(2021).
115+
(2021-2022).
116116

117117
This tutorial was developed with financial support from the European Union's
118118
Horizon 2020 research and innovation program, under grant agreement No. 676531

0 commit comments

Comments
 (0)