Skip to content

Commit 57ef43f

Browse files
committed
Add external plugins and helper scripts
1 parent 1f80e5f commit 57ef43f

File tree

217 files changed

+4477
-525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+4477
-525
lines changed

README.md

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,74 @@
1-
# mdcraft
1+
<img src="https://raw.githubusercontent.com/bbye98/mdcraft/main/assets/logo.png" align="right" width="256"/>
2+
3+
# MDCraft
4+
5+
[![continuous-integration](https://github.com/bbye98/mdcraft/actions/workflows/ci.yml/badge.svg)](https://github.com/bbye98/mdcraft/actions/workflows/ci.yml)
6+
7+
MDCraft is a toolkit of analysis modules and helper functions for
8+
molecular dynamics (MD) simulations.
9+
10+
* **Documentation**: https://bbye98.github.io/mdcraft/
11+
* **Conda**: https://anaconda.org/bbye98/mdcraft
12+
* **Python Package Index (PyPI)**: https://pypi.org/project/mdcraft/
13+
14+
Note that MDCraft is currently an *experimental* library that has
15+
only been tested on Linux and may contain bugs and issues. If you come
16+
across one or would like to request new features, please
17+
[submit a new issue](https://github.com/bbye98/mdcraft/issues/new).
18+
19+
## Features
20+
21+
* [`algorithm`](https://github.com/bbye98/mdcraft/tree/main/src/mdcraft/algorithm):
22+
Efficient NumPy and SciPy algorithms for data wrangling and evaluating
23+
structural and dynamical properties.
24+
* [`analysis`](https://github.com/bbye98/mdcraft/tree/main/src/mdcraft/analysis):
25+
Serial and parallel data analysis tools built on top of the MDAnalysis
26+
framework.
27+
* [`fit`](https://github.com/bbye98/mdcraft/tree/main/src/mdcraft/fit):
28+
Two-dimensional curve fitting models for use with SciPy.
29+
* [`lammps`](https://github.com/bbye98/mdcraft/tree/main/src/mdcraft/lammps):
30+
Helper functions for setting up LAMMPS simulations.
31+
* [`openmm`](https://github.com/bbye98/mdcraft/tree/main/src/mdcraft/openmm):
32+
Extensions to the high-performance OpenMM toolkit, such as custom
33+
bond/pair potentials, support for NetCDF trajectories, and much more.
34+
* [`plot`](https://github.com/bbye98/mdcraft/tree/main/src/mdcraft/plot):
35+
Settings and additional functionality for Matplotlib figures.
36+
37+
## Installation
38+
39+
MDCraft requires Python 3.9 or later.
40+
41+
For the most up-to-date version of MDCraft, clone the repository and
42+
install the package using pip:
43+
44+
git clone https://github.com/bbye98/mdcraft.git
45+
cd mdcraft
46+
python -m pip install -e .
47+
48+
MDCraft is also available on Conda and PyPI:
49+
50+
conda install -c bbye98 mdcraft
51+
python -m pip install mdcraft
52+
53+
### Prerequisites
54+
55+
If you use pip to manage your Python packages and plan on using the
56+
OpenMM simulation toolkit, you must compile and install OpenMM manually
57+
since OpenMM is not available in PyPI. See the
58+
["Compiling OpenMM from Source Code"](
59+
http://docs.openmm.org/latest/userguide/library/02_compiling.html)
60+
section of the OpenMM User Guide for more information.
61+
62+
If you use Conda, it is recommended that you use the conda-forge
63+
channel to install dependencies. To make conda-forge the default
64+
channel, use
65+
66+
conda config --add channels conda-forge
67+
68+
### Postrequisites
69+
70+
To use the image of method charges
71+
(`mdcraft.openmm.system.add_image_charges()`) in your OpenMM
72+
simulations, you must compile and install [`constvplugin`](
73+
https://github.com/scychon/openmm_constV) or [`openmm-ic-plugin`](
74+
https://github.com/bbye98/mdcraft/tree/main/lib/openmm-ic-plugin).

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: e234653b78e30dc08ca3e09893d75a29
3+
config: 6503ead5ed52dbc60acff3a27651489a
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/.doctrees/environment.pickle

1.48 KB
Binary file not shown.

docs/_modules/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" />
66

77
<link rel="shortcut icon" href="../_static/favicon.ico"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
8-
<title>Overview: module code - MDCraft documentation</title>
8+
<title>Overview: module code - MDCraft 1.0.0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
1010
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=387cc868" />
1111
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
@@ -179,7 +179,7 @@
179179
</label>
180180
</div>
181181
<div class="header-center">
182-
<a href="../index.html"><div class="brand">MDCraft documentation</div></a>
182+
<a href="../index.html"><div class="brand">MDCraft 1.0.0 documentation</div></a>
183183
</div>
184184
<div class="header-right">
185185
<div class="theme-toggle-container theme-toggle-header">
@@ -557,7 +557,7 @@ <h1>All modules for which code is available</h1>
557557

558558
</aside>
559559
</div>
560-
</div><script src="../_static/documentation_options.js?v=5929fcd5"></script>
560+
</div><script src="../_static/documentation_options.js?v=8d563738"></script>
561561
<script src="../_static/doctools.js?v=9a2dae69"></script>
562562
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
563563
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>

docs/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '',
2+
VERSION: '1.0.0',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

docs/api.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" />
77

88
<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
9-
<title>&lt;no title&gt; - MDCraft documentation</title>
9+
<title>&lt;no title&gt; - MDCraft 1.0.0 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
1111
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=387cc868" />
1212
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
@@ -180,7 +180,7 @@
180180
</label>
181181
</div>
182182
<div class="header-center">
183-
<a href="index.html"><div class="brand">MDCraft documentation</div></a>
183+
<a href="index.html"><div class="brand">MDCraft 1.0.0 documentation</div></a>
184184
</div>
185185
<div class="header-right">
186186
<div class="theme-toggle-container theme-toggle-header">
@@ -537,7 +537,7 @@
537537

538538
</aside>
539539
</div>
540-
</div><script src="_static/documentation_options.js?v=5929fcd5"></script>
540+
</div><script src="_static/documentation_options.js?v=8d563738"></script>
541541
<script src="_static/doctools.js?v=9a2dae69"></script>
542542
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
543543
<script src="_static/scripts/furo.js?v=4e2eecee"></script>

docs/api/mdcraft.algorithm.accelerated.cosine_sum_1d.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="cosine_sum_2d" href="mdcraft.algorithm.accelerated.cosine_sum_2d.html" /><link rel="prev" title="accelerated" href="mdcraft.algorithm.accelerated.html" />
77

88
<link rel="shortcut icon" href="../_static/favicon.ico"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
9-
<title>cosine_sum_1d - MDCraft documentation</title>
9+
<title>cosine_sum_1d - MDCraft 1.0.0 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
1111
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=387cc868" />
1212
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
@@ -180,7 +180,7 @@
180180
</label>
181181
</div>
182182
<div class="header-center">
183-
<a href="../index.html"><div class="brand">MDCraft documentation</div></a>
183+
<a href="../index.html"><div class="brand">MDCraft 1.0.0 documentation</div></a>
184184
</div>
185185
<div class="header-right">
186186
<div class="theme-toggle-container theme-toggle-header">
@@ -595,7 +595,7 @@ <h1>cosine_sum_1d<a class="headerlink" href="#cosine-sum-1d" title="Link to this
595595

596596
</aside>
597597
</div>
598-
</div><script src="../_static/documentation_options.js?v=5929fcd5"></script>
598+
</div><script src="../_static/documentation_options.js?v=8d563738"></script>
599599
<script src="../_static/doctools.js?v=9a2dae69"></script>
600600
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
601601
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>

docs/api/mdcraft.algorithm.accelerated.cosine_sum_2d.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="cosine_sum_inplace_2d" href="mdcraft.algorithm.accelerated.cosine_sum_inplace_2d.html" /><link rel="prev" title="cosine_sum_1d" href="mdcraft.algorithm.accelerated.cosine_sum_1d.html" />
77

88
<link rel="shortcut icon" href="../_static/favicon.ico"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
9-
<title>cosine_sum_2d - MDCraft documentation</title>
9+
<title>cosine_sum_2d - MDCraft 1.0.0 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
1111
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=387cc868" />
1212
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
@@ -180,7 +180,7 @@
180180
</label>
181181
</div>
182182
<div class="header-center">
183-
<a href="../index.html"><div class="brand">MDCraft documentation</div></a>
183+
<a href="../index.html"><div class="brand">MDCraft 1.0.0 documentation</div></a>
184184
</div>
185185
<div class="header-right">
186186
<div class="theme-toggle-container theme-toggle-header">
@@ -596,7 +596,7 @@ <h1>cosine_sum_2d<a class="headerlink" href="#cosine-sum-2d" title="Link to this
596596

597597
</aside>
598598
</div>
599-
</div><script src="../_static/documentation_options.js?v=5929fcd5"></script>
599+
</div><script src="../_static/documentation_options.js?v=8d563738"></script>
600600
<script src="../_static/doctools.js?v=9a2dae69"></script>
601601
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
602602
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>

docs/api/mdcraft.algorithm.accelerated.cosine_sum_inplace_2d.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="cosine_sum_inplace_parallel_2d" href="mdcraft.algorithm.accelerated.cosine_sum_inplace_parallel_2d.html" /><link rel="prev" title="cosine_sum_2d" href="mdcraft.algorithm.accelerated.cosine_sum_2d.html" />
77

88
<link rel="shortcut icon" href="../_static/favicon.ico"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
9-
<title>cosine_sum_inplace_2d - MDCraft documentation</title>
9+
<title>cosine_sum_inplace_2d - MDCraft 1.0.0 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
1111
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=387cc868" />
1212
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
@@ -180,7 +180,7 @@
180180
</label>
181181
</div>
182182
<div class="header-center">
183-
<a href="../index.html"><div class="brand">MDCraft documentation</div></a>
183+
<a href="../index.html"><div class="brand">MDCraft 1.0.0 documentation</div></a>
184184
</div>
185185
<div class="header-right">
186186
<div class="theme-toggle-container theme-toggle-header">
@@ -592,7 +592,7 @@ <h1>cosine_sum_inplace_2d<a class="headerlink" href="#cosine-sum-inplace-2d" tit
592592

593593
</aside>
594594
</div>
595-
</div><script src="../_static/documentation_options.js?v=5929fcd5"></script>
595+
</div><script src="../_static/documentation_options.js?v=8d563738"></script>
596596
<script src="../_static/doctools.js?v=9a2dae69"></script>
597597
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
598598
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>

docs/api/mdcraft.algorithm.accelerated.cosine_sum_inplace_parallel_2d.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="cosine_sum_parallel_2d" href="mdcraft.algorithm.accelerated.cosine_sum_parallel_2d.html" /><link rel="prev" title="cosine_sum_inplace_2d" href="mdcraft.algorithm.accelerated.cosine_sum_inplace_2d.html" />
77

88
<link rel="shortcut icon" href="../_static/favicon.ico"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
9-
<title>cosine_sum_inplace_parallel_2d - MDCraft documentation</title>
9+
<title>cosine_sum_inplace_parallel_2d - MDCraft 1.0.0 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
1111
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=387cc868" />
1212
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
@@ -180,7 +180,7 @@
180180
</label>
181181
</div>
182182
<div class="header-center">
183-
<a href="../index.html"><div class="brand">MDCraft documentation</div></a>
183+
<a href="../index.html"><div class="brand">MDCraft 1.0.0 documentation</div></a>
184184
</div>
185185
<div class="header-right">
186186
<div class="theme-toggle-container theme-toggle-header">
@@ -592,7 +592,7 @@ <h1>cosine_sum_inplace_parallel_2d<a class="headerlink" href="#cosine-sum-inplac
592592

593593
</aside>
594594
</div>
595-
</div><script src="../_static/documentation_options.js?v=5929fcd5"></script>
595+
</div><script src="../_static/documentation_options.js?v=8d563738"></script>
596596
<script src="../_static/doctools.js?v=9a2dae69"></script>
597597
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
598598
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>

docs/api/mdcraft.algorithm.accelerated.cosine_sum_parallel_2d.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="delta_fourier_transform_1d_1d" href="mdcraft.algorithm.accelerated.delta_fourier_transform_1d_1d.html" /><link rel="prev" title="cosine_sum_inplace_parallel_2d" href="mdcraft.algorithm.accelerated.cosine_sum_inplace_parallel_2d.html" />
77

88
<link rel="shortcut icon" href="../_static/favicon.ico"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
9-
<title>cosine_sum_parallel_2d - MDCraft documentation</title>
9+
<title>cosine_sum_parallel_2d - MDCraft 1.0.0 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
1111
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=387cc868" />
1212
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
@@ -180,7 +180,7 @@
180180
</label>
181181
</div>
182182
<div class="header-center">
183-
<a href="../index.html"><div class="brand">MDCraft documentation</div></a>
183+
<a href="../index.html"><div class="brand">MDCraft 1.0.0 documentation</div></a>
184184
</div>
185185
<div class="header-right">
186186
<div class="theme-toggle-container theme-toggle-header">
@@ -596,7 +596,7 @@ <h1>cosine_sum_parallel_2d<a class="headerlink" href="#cosine-sum-parallel-2d" t
596596

597597
</aside>
598598
</div>
599-
</div><script src="../_static/documentation_options.js?v=5929fcd5"></script>
599+
</div><script src="../_static/documentation_options.js?v=8d563738"></script>
600600
<script src="../_static/doctools.js?v=9a2dae69"></script>
601601
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
602602
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>

docs/api/mdcraft.algorithm.accelerated.delta_fourier_transform_1d_1d.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="delta_fourier_transform_sum_2d_2d" href="mdcraft.algorithm.accelerated.delta_fourier_transform_sum_2d_2d.html" /><link rel="prev" title="cosine_sum_parallel_2d" href="mdcraft.algorithm.accelerated.cosine_sum_parallel_2d.html" />
77

88
<link rel="shortcut icon" href="../_static/favicon.ico"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
9-
<title>delta_fourier_transform_1d_1d - MDCraft documentation</title>
9+
<title>delta_fourier_transform_1d_1d - MDCraft 1.0.0 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
1111
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=387cc868" />
1212
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
@@ -180,7 +180,7 @@
180180
</label>
181181
</div>
182182
<div class="header-center">
183-
<a href="../index.html"><div class="brand">MDCraft documentation</div></a>
183+
<a href="../index.html"><div class="brand">MDCraft 1.0.0 documentation</div></a>
184184
</div>
185185
<div class="header-right">
186186
<div class="theme-toggle-container theme-toggle-header">
@@ -601,7 +601,7 @@ <h1>delta_fourier_transform_1d_1d<a class="headerlink" href="#delta-fourier-tran
601601

602602
</aside>
603603
</div>
604-
</div><script src="../_static/documentation_options.js?v=5929fcd5"></script>
604+
</div><script src="../_static/documentation_options.js?v=8d563738"></script>
605605
<script src="../_static/doctools.js?v=9a2dae69"></script>
606606
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
607607
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>

docs/api/mdcraft.algorithm.accelerated.delta_fourier_transform_sum_2d_2d.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="delta_fourier_transform_sum_parallel_2d_2d" href="mdcraft.algorithm.accelerated.delta_fourier_transform_sum_parallel_2d_2d.html" /><link rel="prev" title="delta_fourier_transform_1d_1d" href="mdcraft.algorithm.accelerated.delta_fourier_transform_1d_1d.html" />
77

88
<link rel="shortcut icon" href="../_static/favicon.ico"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
9-
<title>delta_fourier_transform_sum_2d_2d - MDCraft documentation</title>
9+
<title>delta_fourier_transform_sum_2d_2d - MDCraft 1.0.0 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
1111
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=387cc868" />
1212
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
@@ -180,7 +180,7 @@
180180
</label>
181181
</div>
182182
<div class="header-center">
183-
<a href="../index.html"><div class="brand">MDCraft documentation</div></a>
183+
<a href="../index.html"><div class="brand">MDCraft 1.0.0 documentation</div></a>
184184
</div>
185185
<div class="header-right">
186186
<div class="theme-toggle-container theme-toggle-header">
@@ -603,7 +603,7 @@ <h1>delta_fourier_transform_sum_2d_2d<a class="headerlink" href="#delta-fourier-
603603

604604
</aside>
605605
</div>
606-
</div><script src="../_static/documentation_options.js?v=5929fcd5"></script>
606+
</div><script src="../_static/documentation_options.js?v=8d563738"></script>
607607
<script src="../_static/doctools.js?v=9a2dae69"></script>
608608
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
609609
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>

0 commit comments

Comments
 (0)