Skip to content

update simtk to openmm #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 1_tps_sampling_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"\n",
"from simtk.openmm import app\n",
"import simtk.openmm as mm\n",
"import simtk.unit as unit\n",
"from openmm import app\n",
"import openmm as mm\n",
"import openmm.unit as unit\n",
"import openmmtools\n",
"\n",
"import openpathsampling as paths\n",
Expand Down
2 changes: 1 addition & 1 deletion 5_custom_shooting_setup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"source": [
"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",
"\n",
"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",
"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",
"\n"
]
},
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ This tutorial has been used in multiple classes and workshops, including
several E-CAM Extended Software Development Workshops (Leiden, The Netherlands,
2017; Lyon, France, 2019), Master's-level courses in Biomolecular Simulation at
the University of Amsterdam (since 2017), and the CECAM flagship school MolSim
(2021).
(2021-2022).

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