diff --git a/examples/shake_topology/gen_shake.ipynb b/examples/shake_topology/gen_shake.ipynb new file mode 100644 index 0000000..ec61629 --- /dev/null +++ b/examples/shake_topology/gen_shake.ipynb @@ -0,0 +1,151 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "In this example a short constraint free NVT simulation of the molecule perylene under vacuum conditions will be used to generate shake constraints. By that the size of the simulation step can be increased up to 2 fs.\n", + "\n", + "First, the PQAnalysis package is imported and the currently loaded version will be checked." + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "'1.1.2'" + ] + }, + "execution_count": 5, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "import PQAnalysis\n", + "PQAnalysis._version.version" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Then we read in the trajectory from a `.xyz` file generated by a constraint free `PQ` simulation.\n", + "\n", + "Note: In this example notebook a trajectory consisting of just 500 frames is used due to convenience. For determining shake constraints a larger number of frames is highly recommended." + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "6772016017a94c9999aec38127c7a23e", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + " 0%| | 0/500 [00:00