diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock new file mode 100644 index 000000000..545436867 --- /dev/null +++ b/.github/workflows/actions.lock @@ -0,0 +1,63 @@ +# This file is machine-generated by `gh actions-lock`. +# Do not edit by hand; run `gh actions-lock` to update. +# Docs: https://gh.io/actions-lockfile +version: 'v0.0.3' +workflows: + '.github/workflows/gh-ci-tests.yaml': + - 'actions/checkout@v7.0.1' + - 'mamba-org/setup-micromamba@v3.2.1' + '.github/workflows/gh-ci.yaml': + - 'actions/checkout@v7.0.1' + - 'mamba-org/setup-micromamba@v3.2.1' + '.github/workflows/pre-commit.yaml': + - 'actions/checkout@v7.0.1' + - 'actions/setup-python@v7.1.0' + - 'pre-commit/action@v3.0.1' + '.github/workflows/rtd.yaml': + - 'readthedocs/actions@v1.5' +dependencies: + 'actions/cache@v4': + ref: 'v4' + commit: 'sha1-0057852bfaa89a56745cba8c7296529d2fc39830' + owner_id: 44036562 + repo_id: 215566462 + 'actions/checkout@v3': + ref: 'v3' + commit: 'sha1-a37ce9120846195fa4ece8f58b268e6043cb2f26' + owner_id: 44036562 + repo_id: 197814629 + 'actions/checkout@v7.0.1': + ref: 'v7.0.1' + commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' + owner_id: 44036562 + repo_id: 197814629 + 'actions/github-script@v6': + ref: 'v6' + commit: 'sha1-d7906e4ad0b1822421a7e6a35d5ca353c962f410' + owner_id: 44036562 + repo_id: 205262760 + 'actions/setup-python@v7.1.0': + ref: 'v7.1.0' + commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0' + owner_id: 44036562 + repo_id: 192625525 + 'mamba-org/setup-micromamba@v3.2.1': + ref: 'v3.2.1' + commit: 'sha1-f457c30a868e4760d3a6fcea5f25dc655b8edf39' + owner_id: 66118895 + repo_id: 595118157 + 'pre-commit/action@v3.0.1': + ref: 'v3.0.1' + commit: 'sha1-2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd' + owner_id: 6943086 + repo_id: 204199630 + uses: + - 'actions/cache@v4' + 'readthedocs/actions@v1.5': + ref: 'v1.5' + commit: 'sha1-b8bba1484329bda1a3abe986df7ebc80a8950333' + owner_id: 366329 + repo_id: 517605621 + uses: + - 'actions/checkout@v3' + - 'actions/github-script@v6' diff --git a/.github/workflows/gh-ci-tests.yaml b/.github/workflows/gh-ci-tests.yaml index 72f9a3d36..d652935b9 100644 --- a/.github/workflows/gh-ci-tests.yaml +++ b/.github/workflows/gh-ci-tests.yaml @@ -27,14 +27,14 @@ jobs: name: "examples-tests" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7.0.1 - name: Get current date id: date run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}" - name: setup micromamba - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v3.2.1 with: environment-file: environment.yml environment-name: mda-user-guide diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index e2a7c49fb..033961826 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -35,14 +35,14 @@ jobs: MPLBACKEND: agg steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7.0.1 - name: Get current date id: date run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}" - name: setup micromamba - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v3.2.1 with: environment-file: environment.yml environment-name: mda-user-guide diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 0eb8236ef..61bcd46c0 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -23,10 +23,10 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v7.0.1 + - uses: actions/setup-python@v7.1.0 with: - python-version: '3.x' + python-version: '3.12' - uses: pre-commit/action@v3.0.1 with: extra_args: --all-files diff --git a/.github/workflows/rtd.yaml b/.github/workflows/rtd.yaml index 63fd433d2..dbcfe481b 100644 --- a/.github/workflows/rtd.yaml +++ b/.github/workflows/rtd.yaml @@ -14,6 +14,6 @@ jobs: permissions: pull-requests: write steps: - - uses: readthedocs/actions/preview@v1 + - uses: readthedocs/actions/preview@v1.5 with: project-slug: "mdanalysisuserguide" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 66cabdb73..1daa84ba4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: name: isort (python) args: ["--profile", "black", "--line-length", "79"] - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 26.10.1 hooks: - id: black args: [--line-length=79] diff --git a/.readthedocs.yml b/.readthedocs.yml index 41b3876d9..e4a5a5ab3 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,18 +2,10 @@ version: 2 sphinx: configuration: doc/source/conf.py -# Build documentation with MkDocs -#mkdocs: -# configuration: mkdocs.yml - build: - os: "ubuntu-22.04" + os: "ubuntu-lts-latest" tools: - python: "mambaforge-4.10" + python: "miniforge3-latest" conda: environment: environment.yml -formats: -- epub -- pdf -- htmlzip diff --git a/README.rst b/README.rst index 6b1a721ab..b515dee81 100644 --- a/README.rst +++ b/README.rst @@ -2,15 +2,59 @@ MDAnalysis User Guide ================================ -|build| |binder| +|build| -|usergroup| |developergroup| -MDAnalysis is a Python toolkit to analyse molecular dynamics files and trajectories in `many popular formats`_. MDAnalysis can write most of these formats, too, together with atom selections for use in visualisation tools or other analysis programs. It provides a fast framework for complex analysis tasks, as well as flexible tooling to construct your own analyses. +MDAnalysis_ is a Python library for the analysis of computer simulations of many-body systems at the molecular scale, spanning use cases from interactions of drugs with proteins to novel materials. It is widely used in the scientific community and is written by scientists for scientists. + +It works with a wide range of popular simulation packages including GROMACS, Amber, NAMD, CHARMM, DL_POLY, HOOMD, LAMMPS and many others — see the lists of supported `trajectory formats`_ and `topology formats`_. This repository contains the `user guide`_ for MDAnalysis. The user guide originated as a `project for Google Season of Docs 2019-2020`_. -The code in the user guide is released under the `GNU LGPL v2.1+` license, while text and images are released under the `CC BY-SA 4.0 DEED`_ license. +The code in the user guide is released under the `GNU LGPL v2.1+`_ license, while text and images are released under the `CC BY-SA 4.0 DEED`_ license. + +.. _numfocus-fiscal-sponsor-attribution: + +The MDAnalysis project uses an `open governance model`_ and is fiscally sponsored by `NumFOCUS`_. Consider making +a `tax-deductible donation`_ to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs. + +.. image:: https://www.mdanalysis.org/public/images/numfocus-sponsored-small.png + :alt: NumFOCUS (Fiscally Sponsored Project) + :target: https://numfocus.org/project/mdanalysis + :align: center + +This project is bound by a `Code of Conduct`_. + +|powered_by_MDA| + +If you use MDAnalysis_ in your project consider letting your users and the world know about it by displaying the MDAnalysis_ badge! `Embedding code`_ is available for different markups. + +Contributing +============ + +If you would like to contribute documentation to the `user guide`_, please follow the instructions in the `contributing to the user guide`_ page. All contributions must comply with the MDAnalysis `AI policy`_. + + +Citation +======== + +When using MDAnalysis in published work, please cite the following +two papers: + +* R\. J. Gowers, M. Linke, J. Barnoud, T. J. E. Reddy, + M\. N. Melo, S. L. Seyler, D. L. Dotson, J. Domanski, + S\. Buchoux, I. M. Kenney, and O. Beckstein. MDAnalysis: + A Python package for the rapid analysis of molecular + dynamics simulations. In S. Benthall and S. Rostrup, + editors, Proceedings of the 15th Python in Science + Conference, pages 102-109, Austin, TX, 2016. SciPy. + doi: `10.25080/Majora-629e541a-00e`_ +* N. Michaud-Agrawal, E. J. Denning, T. B. Woolf, + and O. Beckstein. MDAnalysis: A Toolkit for the Analysis of Molecular + Dynamics Simulations. *J. Comput. Chem.* **32** (2011), 2319--2327. + doi: `10.1002/jcc.21787`_ + +For citations of included algorithms and sub-modules please see the references_. .. Footnotes @@ -21,19 +65,23 @@ The code in the user guide is released under the `GNU LGPL v2.1+` license, while .. _MDAnalysis: https://www.mdanalysis.org .. _LICENSE: https://github.com/MDAnalysis/mdanalysis/blob/develop/LICENSE .. _`project for Google Season of Docs 2019-2020`: https://developers.google.com/season-of-docs/docs/2019/participants/project-mdanalysis - -.. |usergroup| image:: https://img.shields.io/badge/Google%20Group-Users-lightgrey.svg - :alt: User Google Group - :target: http://users.mdanalysis.org - -.. |developergroup| image:: https://img.shields.io/badge/Google%20Group-Developers-lightgrey.svg - :alt: Developer Google Group - :target: http://developers.mdanalysis.org +.. _NumFOCUS: https://numfocus.org/ +.. _open governance model: https://www.mdanalysis.org/pages/governance/ +.. _tax-deductible donation: https://numfocus.org/donate-to-mdanalysis +.. _`Code of Conduct`: https://www.mdanalysis.org/conduct/ +.. _trajectory formats: https://docs.mdanalysis.org/documentation_pages/coordinates/init.html#id1 +.. _topology formats: https://docs.mdanalysis.org/documentation_pages/topology/init.html#supported-topology-formats +.. _`AI policy`: https://github.com/MDAnalysis/mdanalysis/blob/develop/AI_POLICY.md +.. _`contributing to the user guide`: https://userguide.mdanalysis.org/stable/contributing_docs.html +.. _`10.1002/jcc.21787`: https://dx.doi.org/10.1002/jcc.21787 +.. _`10.25080/Majora-629e541a-00e`: https://doi.org/10.25080/Majora-629e541a-00e +.. _references: https://docs.mdanalysis.org/documentation_pages/references.html +.. _Embedding code: https://www.mdanalysis.org/pages/citations/#powered-by-mdanalysis .. |build| image:: https://github.com/MDAnalysis/UserGuide/actions/workflows/gh-ci.yaml/badge.svg :alt: Build Status :target: https://github.com/MDAnalysis/UserGuide/actions/workflows/gh-ci.yaml -.. |binder| image:: https://mybinder.org/badge_logo.svg - :alt: Binder - :target: https://mybinder.org/v2/gh/MDAnalysis/binder-env-userguide/main?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252FMDAnalysis%252FUserGuide%26urlpath%3Dtree%252FUserGuide%252Fdoc%252Fsource%252Fexamples%26branch%3Dmaster +.. |powered_by_MDA| image:: https://img.shields.io/badge/Powered%20by-MDAnalysis-orange.svg?logoWidth=15&logo=data:image/x-icon;base64,AAABAAEAEBAAAAE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qf9KSUn/AAAA5QAAAPkAAAD5AAAAhQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADkUFBSuZ2dn/3V1df8uLi7bAAAATgBGfyQAAAA2AAAAMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0AAADoAAAA/wAAAP8AAAD/AAAAWgC3/2AAnv3eAJ/+dgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9AAAA/wAAAP8AAAD/AAAA/wAKDzEAnP3WAKn//wCS/OgAf/8MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIQAAANwAAADtAAAA7QAAAMAAABUMAJn9gwCe/e0Aj/2LAP//AQAAAAAAAAAA + :alt: Powered by MDAnalysis + :target: https://www.mdanalysis.org diff --git a/doc/source/AUTHORS b/doc/source/AUTHORS index 5f7f959eb..fb5cfc517 100644 --- a/doc/source/AUTHORS +++ b/doc/source/AUTHORS @@ -46,3 +46,5 @@ Chronological list of authors - Rubén Chaves 2025 - Yu-Yuan (Stuart) Yang +2026 + - Francesco Siciliani diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index f57dd2bb0..a8b9e0ebc 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -85,6 +85,15 @@ Getting started with Git setting up your SSH key, and configuring git. All these steps need to be completed before you can work seamlessly between your local repository and GitHub. + +Using AI-powered tools when contributing to MDAnalysis +====================================================== + +Open source projects often have different stances on how AI-powered tools (e.g. LLMs like Claude Code and ChatGPT) +can be used in contributions. MDAnalysis has an `AI policy`_ which defines what is permitted in this space. We ask +you to follow this policy, unless the specific sub-project you are contributing to has its own policy in place. + + .. _`GitHub Discussions`: https://github.com/MDAnalysis/mdanalysis/discussions .. _`Code of Conduct`: https://www.mdanalysis.org/pages/conduct/ @@ -92,3 +101,4 @@ you can work seamlessly between your local repository and GitHub. .. _`MDAKits registry`: https://mdakits.mdanalysis.org/mdakits.html .. _`MDAnalysis toolkit (MDAKit)`: https://mdakits.mdanalysis.org/about.html .. _`Making an MDAKit`: https://mdakits.mdanalysis.org/makingakit.html +.. _`AI policy`: https://github.com/MDAnalysis/mdanalysis/blob/develop/AI_POLICY.md diff --git a/doc/source/examples/analysis/custom_trajectory_analysis.ipynb b/doc/source/examples/analysis/custom_trajectory_analysis.ipynb index cc9675527..14e47e989 100644 --- a/doc/source/examples/analysis/custom_trajectory_analysis.ipynb +++ b/doc/source/examples/analysis/custom_trajectory_analysis.ipynb @@ -410,6 +410,38 @@ "plt.xlabel('Frame')" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "You can also select frames by passing a mask to the `frames` argument of the `run()` method. The mask contains one boolean value per frame; only frames marked `True` are analysed. The mask can be a NumPy boolean array or a Python list of booleans.\n", + "\n", + "For example, the following mask selects every second frame:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "mask = np.zeros(len(u.trajectory), dtype=bool)\n", + "mask[::2] = True\n", + "\n", + "rog_masked = AnalysisFromFunction(\n", + " radgyr, u.trajectory, protein, protein.masses,\n", + " total_mass=np.sum(protein.masses),\n", + ")\n", + "rog_masked.run(frames=mask);" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "You can also pass an array of integers to `frames`; in that case, the array directly specifies the frame indices to analyse." + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/doc/source/examples/analysis/trajectory_similarity/harmonic_ensemble_similarity.ipynb b/doc/source/examples/analysis/trajectory_similarity/harmonic_ensemble_similarity.ipynb index 80b78c499..2c0af4502 100644 --- a/doc/source/examples/analysis/trajectory_similarity/harmonic_ensemble_similarity.ipynb +++ b/doc/source/examples/analysis/trajectory_similarity/harmonic_ensemble_similarity.ipynb @@ -43,10 +43,10 @@ "start_time": "2020-09-25T05:47:22.580836Z" }, "execution": { - "iopub.execute_input": "2021-05-19T06:01:11.019242Z", - "iopub.status.busy": "2021-05-19T06:01:11.018634Z", - "iopub.status.idle": "2021-05-19T06:01:12.662416Z", - "shell.execute_reply": "2021-05-19T06:01:12.662787Z" + "iopub.execute_input": "2026-11-16T08:10:09.443236Z", + "iopub.status.busy": "2026-11-16T08:10:09.442971Z", + "iopub.status.idle": "2026-11-16T08:11:11.262035Z", + "shell.execute_reply": "2026-11-16T08:11:11.261477Z" } }, "outputs": [ @@ -54,7 +54,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "/Users/lily/micromamba/envs/mda-user-guide-dev/lib/python3.10/site-packages/MDAnalysis/analysis/encore/__init__.py:45: DeprecationWarning: Deprecation in version 2.8.0\n", + "/Users/lily/micromamba/envs/mda-user-guide-ci/lib/python3.12/site-packages/MDAnalysis/analysis/encore/__init__.py:45: DeprecationWarning: Deprecation in version 2.8.0\n", "MDAnalysis.analysis.encore is deprecated in favour of the MDAKit mdaencore (https://www.mdanalysis.org/mdaencore/) and will be removed in MDAnalysis version 3.0.0.\n", " warnings.warn(wmsg, category=DeprecationWarning)\n" ] @@ -95,10 +95,10 @@ "start_time": "2020-09-25T05:47:33.722128Z" }, "execution": { - "iopub.execute_input": "2021-05-19T06:01:12.666701Z", - "iopub.status.busy": "2021-05-19T06:01:12.666185Z", - "iopub.status.idle": "2021-05-19T06:01:13.384417Z", - "shell.execute_reply": "2021-05-19T06:01:13.384865Z" + "iopub.execute_input": "2026-11-16T08:11:11.303062Z", + "iopub.status.busy": "2026-11-16T08:11:11.302537Z", + "iopub.status.idle": "2026-11-16T08:11:15.866419Z", + "shell.execute_reply": "2026-11-16T08:11:15.866177Z" } }, "outputs": [ @@ -106,8 +106,8 @@ "name": "stderr", "output_type": "stream", "text": [ - "/Users/lily/micromamba/envs/mda-user-guide-dev/lib/python3.10/site-packages/MDAnalysis/coordinates/DCD.py:165: DeprecationWarning: DCDReader currently makes independent timesteps by copying self.ts while other readers update self.ts inplace. This behavior will be changed in 3.0 to be the same as other readers. Read more at https://github.com/MDAnalysis/mdanalysis/issues/3889 to learn if this change in behavior might affect you.\n", - " warnings.warn(\"DCDReader currently makes independent timesteps\"\n" + "/Users/lily/micromamba/envs/mda-user-guide-ci/lib/python3.12/site-packages/MDAnalysis/coordinates/DCD.py:176: DeprecationWarning: DCDReader currently makes independent timesteps by copying self.ts while other readers update self.ts inplace. This behavior will be changed in 3.0 to be the same as other readers. Read more at https://github.com/MDAnalysis/mdanalysis/issues/3889 to learn if this change in behavior might affect you.\n", + " warnings.warn(\n" ] } ], @@ -136,10 +136,10 @@ "start_time": "2020-09-25T05:47:35.049296Z" }, "execution": { - "iopub.execute_input": "2021-05-19T06:01:13.388558Z", - "iopub.status.busy": "2021-05-19T06:01:13.388056Z", - "iopub.status.idle": "2021-05-19T06:01:13.390062Z", - "shell.execute_reply": "2021-05-19T06:01:13.390462Z" + "iopub.execute_input": "2026-11-16T08:11:15.868053Z", + "iopub.status.busy": "2026-11-16T08:11:15.867915Z", + "iopub.status.idle": "2026-11-16T08:11:15.869784Z", + "shell.execute_reply": "2026-11-16T08:11:15.869584Z" } }, "outputs": [ @@ -182,10 +182,10 @@ "start_time": "2020-09-25T05:47:36.853297Z" }, "execution": { - "iopub.execute_input": "2021-05-19T06:01:13.393984Z", - "iopub.status.busy": "2021-05-19T06:01:13.393436Z", - "iopub.status.idle": "2021-05-19T06:03:04.423398Z", - "shell.execute_reply": "2021-05-19T06:03:04.424122Z" + "iopub.execute_input": "2026-11-16T08:11:15.871144Z", + "iopub.status.busy": "2026-11-16T08:11:15.871076Z", + "iopub.status.idle": "2026-11-16T08:12:21.933171Z", + "shell.execute_reply": "2026-11-16T08:12:21.932313Z" } }, "outputs": [ @@ -193,7 +193,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "/Users/lily/micromamba/envs/mda-user-guide-dev/lib/python3.10/site-packages/MDAnalysis/coordinates/memory.py:535: DeprecationWarning: asel argument to timeseries will be renamed to'atomgroup' in 3.0, see #3911\n", + "/Users/lily/micromamba/envs/mda-user-guide-ci/lib/python3.12/site-packages/MDAnalysis/coordinates/memory.py:558: DeprecationWarning: asel argument to timeseries will be renamed to'atomgroup' in 3.0, see #3911\n", " warnings.warn(\n" ] } @@ -215,10 +215,10 @@ "start_time": "2020-09-25T05:49:00.753313Z" }, "execution": { - "iopub.execute_input": "2021-05-19T06:03:04.433767Z", - "iopub.status.busy": "2021-05-19T06:03:04.432850Z", - "iopub.status.idle": "2021-05-19T06:03:04.436211Z", - "shell.execute_reply": "2021-05-19T06:03:04.436792Z" + "iopub.execute_input": "2026-11-16T08:12:21.936980Z", + "iopub.status.busy": "2026-11-16T08:12:21.936826Z", + "iopub.status.idle": "2026-11-16T08:12:21.939863Z", + "shell.execute_reply": "2026-11-16T08:12:21.939649Z" }, "scrolled": true }, @@ -227,10 +227,10 @@ "name": "stdout", "output_type": "stream", "text": [ - " 0.0 24955.7 1879874.9 145622.3 \n", - " 24955.7 0.0 1659867.5 161102.3 \n", - " 1879874.9 1659867.5 0.0 9900093.4 \n", - " 145622.3 161102.3 9900093.4 0.0 \n" + " 0.0 24955.7 1879874.2 145622.2 \n", + " 24955.7 0.0 1659862.8 161102.2 \n", + " 1879874.2 1659862.8 0.0 9900086.6 \n", + " 145622.2 161102.2 9900086.6 0.0 \n" ] } ], @@ -257,10 +257,10 @@ "start_time": "2020-09-25T05:49:19.575275Z" }, "execution": { - "iopub.execute_input": "2021-05-19T06:03:04.443752Z", - "iopub.status.busy": "2021-05-19T06:03:04.442721Z", - "iopub.status.idle": "2021-05-19T06:03:04.446973Z", - "shell.execute_reply": "2021-05-19T06:03:04.447746Z" + "iopub.execute_input": "2026-11-16T08:12:21.941897Z", + "iopub.status.busy": "2026-11-16T08:12:21.941815Z", + "iopub.status.idle": "2026-11-16T08:12:21.944718Z", + "shell.execute_reply": "2026-11-16T08:12:21.944516Z" } }, "outputs": [ @@ -295,16 +295,16 @@ "start_time": "2020-09-25T05:49:23.743708Z" }, "execution": { - "iopub.execute_input": "2021-05-19T06:03:04.462349Z", - "iopub.status.busy": "2021-05-19T06:03:04.459404Z", - "iopub.status.idle": "2021-05-19T06:03:04.726436Z", - "shell.execute_reply": "2021-05-19T06:03:04.728025Z" + "iopub.execute_input": "2026-11-16T08:12:21.946455Z", + "iopub.status.busy": "2026-11-16T08:12:21.946312Z", + "iopub.status.idle": "2026-11-16T08:12:22.275550Z", + "shell.execute_reply": "2026-11-16T08:12:22.275237Z" } }, "outputs": [ { "data": { - "image/png": "iVBORw0KGgoAAAANSUhEUgAAAfcAAAGxCAYAAAB/dP9WAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjYuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8o6BhiAAAACXBIWXMAAA9hAAAPYQGoP6dpAAA5pUlEQVR4nO3de1hVVf7H8c8RFdQExQuioWKieEXLvKei4i3QymxKDbxkTZnZWDna1GhOSthYpqljeTfzUmLZDUsds6YmzYyxCfOSKCpo3sBQUc7Zvz8czq8TsAUOnAOH9+t59vPIPmutvfYW+LK+a+29LYZhGAIAAB6jgrs7AAAAihfBHQAAD0NwBwDAwxDcAQDwMAR3AAA8DMEdAAAPQ3AHAMDDENwBAPAwBHcAADwMwb0cWbFihSwWi7799ts8P4+MjFTjxo1d2yk3SE5OlsVi0YoVK9zdlVIv51r9/e9/v2HZnO+v5OTkku9YCR4zrzZHjRpVIj8bvXr1Uq9evexfX7p0SdOnT9eOHTuK/VgoXyq6uwOAqwUGBurrr7/WLbfc4u6uwEl33nmnvv76awUGBpbqNvOzcOFCh68vXbqkF154QZIcgj5QWAR3lJhLly6patWq7u5GLt7e3urcubO7u4FiUKdOHdWpU6fUt/l7OT8bLVu2LNHjoPwiLQ9TCxYsUI8ePVS3bl1Vq1ZNbdq00ezZs3Xt2jWHcr169VLr1q21c+dOde3aVVWrVtWYMWPsad2XX35ZcXFxaty4sapUqaJevXrpwIEDunbtmqZMmaL69evLz89Pd999t06fPu3Qts1m0+zZsxUaGipvb2/VrVtX0dHROn78eJ592L17t+644w5VrVpVTZo00UsvvSSbzWYvl19afv/+/XrggQcUEBAgb29vNWzYUNHR0crKyjK9RlevXtWLL75o71+dOnU0evRo/fLLLw7lGjdurMjISCUkJOjWW29VlSpVFBoaqmXLljmUu3Tpkp5++mkFBwfLx8dH/v7+6tChg9auXetQ7ttvv9XgwYPl7+8vHx8ftW/fXhs2bHAok5Ni3r59u8aNG6datWrJ19dX0dHRyszMVFpamu677z7VqFFDgYGBevrpp3P93+b8H8ycOVMNGzaUj4+POnTooG3btplelxxbt25Vnz595Ovrq6pVq6pbt24Fqmuz2fTiiy+qefPmqlKlimrUqKG2bdvqtddey3V+v02h53wffP311+ratauqVKmixo0ba/ny5ZKkjz76SLfeequqVq2qNm3aKCEhIc9rdqNUv7M/Gzmf5YzQk5OT7X9UvPDCC7JYLLJYLBo1apS++OILWSyWXN8DkrRq1SpZLBbt3r37htcU5Qcj93LIarUqOzs71/68XhB4+PBhDR8+XMHBwapcubISExM1c+ZM7d+/P1dQSk1N1ciRIzV58mTNmjVLFSr8/9+OCxYsUNu2bbVgwQJduHBBTz31lKKiotSpUydVqlRJy5Yt09GjR/X000/roYce0ubNm+11H330Ub3xxht6/PHHFRkZqeTkZD3//PPasWOHvvvuO9WuXdteNi0tTSNGjNBTTz2ladOmadOmTZo6darq16+v6OjofK9JYmKiunfvrtq1a2vGjBkKCQlRamqqNm/erKtXr8rb2zvPejabTUOGDNEXX3yhyZMnq2vXrjp69KimTZumXr166dtvv1WVKlUcjvPUU09pypQpCggI0JIlSzR27Fg1bdpUPXr0kCRNmjRJq1ev1osvvqj27dsrMzNTP/zwg86ePWtv55///KcGDBigTp066R//+If8/Py0bt06/eEPf9ClS5c0atQoh34+9NBDuueee7Ru3Trt3btXzz77rLKzs/XTTz/pnnvu0cMPP6ytW7cqLi5O9evX16RJkxzqv/7662rUqJHmzp1r/2Nr4MCB+vzzz9WlS5d8r+tbb72l6OhoDRkyRCtXrlSlSpW0ePFi9e/fX1u2bFGfPn3yrTt79mxNnz5dzz33nHr06KFr165p//79unDhQr51cqSlpWn06NGaPHmybr75Zs2fP19jxoxRSkqK3n33XT377LPy8/PTjBkzdNddd+nnn39W/fr1b9jubxXXz0aOwMBAJSQkaMCAARo7dqweeughSdczCbfccovat2+vBQsW6IEHHnCo9/rrr+v222/X7bffXqj+w8MZKDeWL19uSDLdGjVqlG99q9VqXLt2zVi1apXh5eVlnDt3zv5Zz549DUnGtm3bHOocOXLEkGSEhYUZVqvVvn/u3LmGJGPw4MEO5Z988klDkpGenm4YhmEkJSUZkozHHnvModw333xjSDKeffbZXH345ptvHMq2bNnS6N+/f64+LV++3L6vd+/eRo0aNYzTp0/ne/55Wbt2rSHJ2Lhxo8P+3bt3G5KMhQsX2vc1atTI8PHxMY4ePWrfd/nyZcPf39945JFH7Ptat25t3HXXXabHDQ0NNdq3b29cu3bNYX9kZKQRGBhov9Y5/+cTJkxwKHfXXXcZkoxXXnnFYX+7du2MW2+91f51zrWqX7++cfnyZfv+jIwMw9/f3+jbt699X86xjhw5YhiGYWRmZhr+/v5GVFSUwzGsVqsRFhZmdOzY0fQcIyMjjXbt2pmW+f0xDeP/vw++/fZb+76zZ88aXl5eRpUqVYwTJ07Y93///feGJGPevHmmbcbExBT7z0bOZz179rR//csvvxiSjGnTpuV7rnv37rXv27VrlyHJWLlyZb59Q/lEWr4cWrVqlXbv3p1r6969e66ye/fu1eDBg1WrVi15eXmpUqVKio6OltVq1YEDBxzK1qxZU717987zmIMGDXIYrbRo0ULS9cVLv5Wz/9ixY5Kuj1Al5RqJduzYUS1atMiV3q1Xr546duzosK9t27Y6evRonv2SrqfBP//8c913332Fnmv98MMPVaNGDUVFRSk7O9u+tWvXTvXq1cu16rldu3Zq2LCh/WsfHx81a9bMoX8dO3bUJ598oilTpmjHjh26fPmyQxuHDh3S/v37NWLECElyOO6gQYOUmpqqn376yaFOZGSkw9dm1z+va3XPPffIx8fH/nX16tUVFRWlnTt3ymq15nltvvrqK507d04xMTEOfbTZbBowYIB2796tzMzMPOvmXIfExEQ99thj2rJlizIyMvIt+3uBgYG67bbb7F/7+/urbt26ateuncMIPec6mH1/5Ke4fjYK6oEHHlDdunW1YMEC+7758+erTp06+sMf/uBU25B27typqKgo1a9fXxaLRe+9916h2zAMQ3//+9/VrFkzeXt7KygoSLNmzSr+zhYAaflyqEWLFurQoUOu/X5+fkpJSbF/fezYMd1xxx1q3ry5XnvtNTVu3Fg+Pj7atWuXxo8fnyvomK0u9vf3d/i6cuXKpvuvXLkiSfZUdF5t169fP9cv5Vq1auUq5+3tnauvv3X+/HlZrVbdfPPN+ZbJz6lTp3ThwgV7v3/vzJkzhe7fvHnzdPPNN2v9+vWKi4uTj4+P+vfvr5dfflkhISE6deqUJOnpp5/W008/XaDjFub651z736pXr16e+65evapff/1Vfn5+uT7P6ee9996bZx8l6dy5c6pWrVqen02dOlXVqlXTW2+9pX/84x/y8vJSjx49FBcXl+f372/9/ryk6+d2o++3girOn42C8vb21iOPPKI5c+bo5Zdf1rVr17RhwwZNmjQp32kjFFxmZqbCwsI0evRoDR06tEhtTJw4UZ9++qn+/ve/q02bNkpPT8/1s+gqBHfk67333lNmZqbi4+PVqFEj+/7vv/8+z/IWi6XY+5ATDFNTU3MF35MnTzrMtxeVv7+/vLy8ci3QK4jatWurVq1auRZl5ahevXqh26xWrZpeeOEFvfDCCzp16pR9FB8VFaX9+/fbz3nq1Km655578myjefPmhT6umbS0tDz3Va5cWTfddFOedXL6OX/+/HzvTggICMj3mBUrVtSkSZM0adIkXbhwQVu3btWzzz6r/v37KyUlxa13YrjrZ+PRRx/VSy+9pGXLlunKlSvKzs7WH//4x2Jpu7wbOHCgBg4cmO/nV69e1XPPPac1a9bowoULat26teLi4uwLIpOSkrRo0SL98MMPxf7zVxQEd+Qr5xfSb0cFhmHozTffdFkfclKZb731lsOCod27dyspKUl/+ctfnD5GlSpV1LNnT73zzjuaOXNmof5giIyM1Lp162S1WtWpUyen+/J7AQEBGjVqlBITEzV37lxdunRJzZs3V0hIiBITE12W8ouPj9fLL79sT81fvHhRH3zwge644w55eXnlWadbt26qUaOGfvzxRz3++ONOHb9GjRq69957deLECT355JNKTk52621kJfWzkdNefpmmwMBADRs2TAsXLtTVq1cVFRXlMM2DkjN69GglJydr3bp1ql+/vjZt2qQBAwZo3759CgkJ0QcffKAmTZroww8/1IABA2QYhvr27avZs2fnmUkqaQR35CsiIkKVK1fWAw88oMmTJ+vKlStatGiRzp8/77I+NG/eXA8//LDmz5+vChUqaODAgfbV8kFBQfrTn/5ULMd55ZVX1L17d3Xq1ElTpkxR06ZNderUKW3evFmLFy/OdwR+//33a82aNRo0aJAmTpyojh07qlKlSjp+/Lj++c9/asiQIbr77rsL1ZdOnTopMjJSbdu2Vc2aNZWUlKTVq1erS5cu9tHq4sWLNXDgQPXv31+jRo1SgwYNdO7cOSUlJem7777TO++84/Q1+S0vLy9FRERo0qRJstlsiouLU0ZGhv2BK3m56aabNH/+fMXExOjcuXO69957VbduXf3yyy9KTEzUL7/8okWLFuVbPyoqSq1bt1aHDh1Up04dHT16VHPnzlWjRo0UEhJSrOdXWCX1s1G9enU1atRI77//vvr06SN/f3/Vrl3b4el4EydOtP8hmXN7H0rW4cOHtXbtWh0/fty+ZuPpp59WQkKCli9frlmzZunnn3/W0aNH9c4772jVqlWyWq3605/+pHvvvVfbt293eZ8J7shXaGioNm7cqOeee0733HOPatWqpeHDh2vSpEmm6avitmjRIt1yyy1aunSpFixYID8/Pw0YMECxsbF5zmEXRVhYmHbt2qVp06Zp6tSpunjxourVq6fevXvnO58uXQ96mzdv1muvvabVq1crNjZWFStW1M0336yePXuqTZs2he5L7969tXnzZr366qu6dOmSGjRooOjoaIcsRXh4uHbt2qWZM2fqySef1Pnz51WrVi21bNlS9913X5GugZnHH39cV65c0RNPPKHTp0+rVatW+uijj9StWzfTeiNHjlTDhg01e/ZsPfLII7p48aJ9YdvvF0n+Xnh4uDZu3KglS5YoIyND9erVU0REhJ5//nlVqlSpGM+u8EryZ2Pp0qV65plnNHjwYGVlZSkmJsbhmQwdO3a0Py/C7FZCFJ/vvvtOhmGoWbNmDvuzsrLsv4NsNpuysr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Tp//rxpuS+//FJXrlzRsGHDtGLFijzLBAUFafny5Q77Tp48qe3btyswMDBX+XHjxik1NVWHDh3Sxo0b1bJlS91///16+OGHi3w+KGYG3CImJsYYMmRIrv3btm0zJBlvvvmmkZmZadSuXdu466678mzj/PnzhmEYxpEjRwxJxt69ex0+t1qtRq9evYxGjRoZ2dnZxXwGpVtpur4tW7Y0XnjhhaKeikd47bXXjJo1axonTpww3nvvPaNSpUq5rmd+13ngwIFGgwYNjF9//TVXuzn/R+VNTEyMERkZaYSGhhrPPPOMff+mTZuM3/9aHzVqlDFlyhTjk08+MZo0aWLYbDaHz3v27Gk8+uijRq1atYwvv/zSvn/mzJlGVFSUERYWZkybNs2h/MSJE3P1admyZYYk47PPPiuek4RTGLmXMr1791ZYWJji4+O1ZcsWnTlzRpMnT86zbI0aNUzbqlChgiZOnKijR49qz549JdDbssfV19dms+nixYvy9/d3tutl2oQJExQWFqbo6Gg9/PDD+utf/6p27drdsN65c+eUkJCg8ePHq1q1ark+v9H/kSfz8vLSrFmzNH/+fB0/fjzPMhcvXtQ777yjkSNHKiIiQpmZmdqxY0eucpUrV9aIESMcRu8rVqzQmDFjCtyfmJgY1axZk/R8KUFwL4VCQ0OVnJxsn88NDQ11qi3p+rwxrnPl9Z0zZ44yMzN13333FfkYnsBisWjRokXatm2bAgICNGXKlALVO3TokAzDcOr/yJPdfffdateunaZNm5bn5+vWrVNISIhatWolLy8v3X///Vq6dGmeZceOHasNGzYoMzNTO3fuVHp6uu68884C96VChQpq1qwZv2tKCYJ7KWT87529RjE8GTinjbL23vqS5Krru3btWk2fPl3r169X3bp1nT5WWbds2TJVrVpVR44cyXek+Xt8/95YXFycVq5cqR9//DHXZ0uXLtXIkSPtX48cOVLx8fG6cOFCrrJt27ZVSEiI3n33XS1btkwPPvigKlWqVKi+GIV43zhKFsG9FEpKSlJwcLCaNWsmSdq/f79TbUlScHBwsfTNE7ji+q5fv94+Eurbt2/RO+shvv76a7366qt6//331aVLF40dO7ZAf1yFh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7W1CBfXUU0/p6NGj6t+/v9q1a6c6depo7969Onr06AUf8StJEyZMUEZGhnr27Kk2bdro6quv1h9//KFt27apVq1auv766z3qh81m0+OPP660tDQ1atRIpUuX1vr163X48GGXdRK+bvdiwsPD1bNnT1177bVq3ry5tm3bpm3btmnmzJkXnVMuaF/zey0K26uvvqq77rpLbdu2VXx8vNavX68hQ4Zoz549XtXbp08fTZgwQd27d1ebNm0UGhqqcePGuYyqPfDAA1q8eLGk/GWhKJj58+erbNmy2rt3r/bs2eMcWYmLi9OaNWtUr149paamymazafjw4Tpy5IgqV66sL774Qp06ddKCBQuc03H+RIAvBnLnOlu1auX282uvvVZTp051LlaTpFq1amnXrl1avny5jhw5ogEDBqhdu3bauHGjoqKiZLfbJUlXXXWVpk6d6nZVc+/evfMszJKkXr16uR26zF3M91elSpXSkiVLtGXLFueDbu655x5df/31LnO/F2qrYcOGmjp1qstcmbvHgoaGhmr69OkaPXq0vvnmG508edIZ7K3+Y4aEhGjq1KkaOXKkvv76ax05ckSVKlXSpEmTXK5JfvtXqVIlrVmzRj/99JO+//57nTx5Uj169FCnTp1c5m69bdeT70FuHX369FGTJk20cuVKtWjRQjfddFOe+63dXdv89vV8+b0W7tr0xXm7q9dd2e23366WLVvq66+/VnZ2tkaOHKk6derosssuc/nZuVCfLlRv9erVtWvXLq1atUpHjx6Vw+HI87N44403KioqSlFRUerWrZvbuuG9/fv3Kycnx+X5C5J00003OX9uIiMjZYxRzZo19cknn0iSfvvtN8XHxysxMVFDhw71e79txmqSBwBQZG3YsEGtWrXSmDFjeGa9D8yePVsPPfSQzpw541L+2GOP6dNPP3W5Lfd8GzduVMuWLfXFF1+43BXSokULNW/eXK+//vol6/eFMAcPAAFq7ty5CgsL0/3331/YXQlq3bp1c46m/NXx48d14sQJSVLz5s1VuXJl7dixw/n5yZMntW/fPq8WW3qDIXoACDD/+te/tHHjRr3//vsaP358oQWQYPH1118rKSlJ69evV05OjubOnStJ6t69uy677DJ16NBBw4cP180336xhw4b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Nc9j99+rSZNWtWgeoMds2aNTMPPvigS9mBAwdM69atTe3atU16erqzfOrUqSYiIsIsWbLEZf+0tDQzd+5cj+tMT083c+bMMVlZWc79/vGPf5jIyEhz7Ngxn51joNi5c6cpUaKEeeedd4wxxvz6668mKirKzJ492+3+ZcuWNZMnT85Tft9995ly5cqZTZs2uZSnpKQUuz+eJJlatWqZq666ymRnZzvL3QX4gwcPmtDQUDN69GhTqVIll5/Lv9Z3/fXXm9atW7uUv/TSS6Zdu3ZuA/ycOXNc9t28ebOpVq2a6dGjhw/OEL5AgC8k7oKxMeeCSkxMjBk3bpwxxpicnBxTuXJlc/vtt/uszuLAXTA25twvu/DwcPPKK68YY85dm6ioKDNy5Eif1enOrl27jCSzbt06D84ieLz44osmLi7OJCcnm2uvvdYkJCRccF93AX737t3GZrOZ11577VJ3NSBIMtOnTzexsbHmjTfecJa7C/DPPvusadmypTl9+rSJi4szixYtclvfjBkzTIkSJcwvv/ziLI+Pjzfz5s3LV4A3xpilS5cW65/zooZFdkVM6dKl1b59e3399deSpB9//FGHDh1Snz59fFZncValShU1bdrUeS3Wr1+vjIwMr67v+XW6s2rVKoWFhalu3boFbieQPfLII2rYsKGaNWum5ORkzZo1y6PjP//8cxljvPo+BZsyZcro8ccf19NPP53nxSS5jDGaM2eO7r33XkVGRmrgwIFKTEx0u29MTIz69u2rN998U5K0YcMG/f777+rdu3e++3TTTTcpMjKS3zVFBAG+CKpYsaJSU1MlSSkpKZLkXNziizqLO39f359//lnjxo3TmDFjiuWCR+ncYqzhw4fr6NGjuvvuu1WuXDmPjk9JSZHdbne7QKw4GzFihEJDQ/XSSy+5/fzLL7/U0aNHdeutt0qS7rvvPi1btkyHDh1yu/+QIUM0b948ZWdna/bs2brjjjs8e3tZWJjKli3L75oiggBfBKWnpztXspYuXVqSdOzYMZ/VWdz58/r+9ttvuummm9S9e3c9++yzXrURyDIyMjRmzBg1bNhQr776qpKSkjw6vnTp0jp79qzS09MvUQ8DU4kSJfT000/r+eef19GjR/N8npiYqPr16+vTTz/V/PnztX37dlWoUEFvvfWW2/ratWunqKgoffDBB/rggw909913e9ynjIwMftcUEQT4IsYYo40bN6px48aSpIYNG8put2vDhg0+q7M4O3v2rLZu3eq8Fs2bN5fNZvPq+p5fZ66kpCS1b99ebdq00dtvv62QkOL7323EiBEKDw/Xt99+q7Zt22rw4MEyHjwlO/cZ3Bs3brxUXQxYgwcPVtWqVfP8AXn8+HF9/PHHqlixohYtWuTcrrrqKr355ptur7/NZtPdd9+tBx98UHXq1FGTJk086svPP/+sEydO8LumiCi+v3GKqNzsZtiwYZKkqKgoDR06VC+99JKSk5Pz7J/7jmBP6izO/v73v+vkyZMaMmSIpHND8/369dNzzz3nNgPKz/U9v05J2rdvn9q3b69WrVrp3XffVWhoqO9OIsAsWrRIb7/9tt59912VLFlSs2fP1vbt2/Xyyy/nu4527dqpadOmGjdunE6fPp3n8/x8n4JVaGio/vGPf2jGjBn67bffnOVvv/22qlSpoo8++kjz5893bosWLdKBAwe0evVqt/UNHjxYXbp00ZNPPulRPzIzMzVmzBhVr15dPXr08OaU4CM86KYQHTx4UPPnz5fD4VBKSopWrFihNWvWaObMmbr22mud+z3//PNKTk5W06ZNdc8996h+/fpKTU3V5s2b9euvv2rz5s0e11kc/Prrr5o/f76ys7N16NAhLV68WDt27ND8+fNVu3Zt534zZ85Ur1691LBhQ91zzz2qXbu2UlJS9O233+rMmTNatmyZR3WmpaWpQ4cOMsbo5ptv1ocffug8vm3btqpatar/LkIhS0lJ0b333qtnnnlGTZs2lXRuUeKrr76q++67T926dcvXwkObzab//Oc/6t69u5o0aaJBgwapSpUq2r9/v7788ktdffXVmj59+qU+nSKrV69euuaaa/TVV1+pc+fOks4NzyckJOTZNyoqSp06dVJiYqI6dOiQ5/PKlSs7H2RjZePGjYqMjFRmZqZ+++03vf/++8rOztbixYt5M10RwdvkCsnzzz+v77//XpIUHh6uMmXKqGHDhurVq9cFFyCtXr1ay5YtU0pKiipUqKAWLVqoT58+zuywIHUGqyeeeEJ79+6VdO6pc2XLllXTpk118803u32inDFGy5cv16pVq3T06FFVqVJFrVu3Vvfu3WWz2Tyq87///a9GjBjhtl+PPvposfpD66/Z+vlTFOPHj1e5cuU0cuRIl/KhQ4eqR48euvnmm/PUl5WVpY8//lhr1qxRenq6atSooRtuuEHXXXfdJT2PombAgAEaMWKEWrVq5SzbtGmTpk2bpsaNG+uuu+7SiBEjNHbsWLfD5UuXLtWHH36oxMREhYSEuK0vl8Ph0O233+7y+YABAySd+8MrMjJSlSpVUsuWLdW1a1eFh4dfmpOGxwjwAAAEIebgAQAIQgR4AACCEAEeAIAgRIAHACAIEeABAAhCBHgAAIIQAR4AgCBEgAcAIAgR4AEACEIEeAAAghABHgCAIESABwAgCP0fTvt+ih6eri8AAAAASUVORK5CYII=", "text/plain": [ "
" ] @@ -359,7 +359,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.16" + "version": "3.12.16" }, "toc": { "base_numbering": 1, diff --git a/doc/source/examples/other/README.rst b/doc/source/examples/other/README.rst index 84ab1fb0b..05edc9af1 100644 --- a/doc/source/examples/other/README.rst +++ b/doc/source/examples/other/README.rst @@ -9,3 +9,4 @@ Other :maxdepth: 1 parmed_sim + streaming_imd diff --git a/doc/source/examples/other/streaming_imd.ipynb b/doc/source/examples/other/streaming_imd.ipynb new file mode 100644 index 000000000..fd574e06f --- /dev/null +++ b/doc/source/examples/other/streaming_imd.ipynb @@ -0,0 +1,325 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "d090b35a", + "metadata": {}, + "source": [ + "# Real-time Streaming Analysis with IMDv3\n", + "\n", + "This tutorial demonstrates how to use MDAnalysis for real-time streaming analysis of molecular dynamics simulations using the Interactive Molecular Dynamics (IMD) v3 protocol. You'll learn how to connect to running simulations and perform live analysis as the simulation progresses.\n", + "\n", + "**Streaming** involves processing data in real-time as it is generated, rather than storing it for later analysis. In molecular dynamics, this means sending simulation data to a client on-the-fly while the simulation is running, without writing large trajectory files to disk.\n", + "\n", + "This is achieved through a TCP/IP socket connection between the simulation engine and receiving client, transmitting coordinates, velocities, forces, energies, and timing information using the IMDv3 protocol.\n", + "\n", + "## What it covers\n", + "\n", + "- How to set up streaming connections to MD engines\n", + "- Real-time monitoring\n", + "- Live analysis workflows\n", + "\n", + "## Prerequisites\n", + "\n", + "Before starting, you'll need:\n", + "- MDAnalysis with IMD support\n", + "- The `imdclient` package (≥ 0.2.2)\n", + "- A running MD simulation with IMD enabled (examples are engine agnostic for the most part)" + ] + }, + { + "cell_type": "markdown", + "id": "e2168297", + "metadata": {}, + "source": [ + "## Installation and Setup\n", + "\n", + "The IMDReader requires the `imdclient` package. Let's check if everything is properly installed:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "6024bb10", + "metadata": {}, + "outputs": [], + "source": [ + "# Install required packages (uncomment if needed)\n", + "# !pip install imdclient>=0.2.2\n", + "\n", + "import warnings\n", + "warnings.filterwarnings('ignore')\n", + "\n", + "import MDAnalysis as mda\n", + "import numpy as np\n", + "import matplotlib.pyplot as plt\n", + "from datetime import datetime\n", + "import time\n", + "\n", + "# Check if IMD support is available\n", + "try:\n", + " from MDAnalysis.coordinates.IMD import IMDReader, HAS_IMDCLIENT\n", + " print(f\"IMD support available: {HAS_IMDCLIENT}\")\n", + " if HAS_IMDCLIENT:\n", + " import imdclient\n", + " print(f\"imdclient version: {imdclient.__version__}\")\n", + " print(\"✅ Ready for streaming analysis!\")\n", + " else:\n", + " print(\"❌ IMD support not available\")\n", + "except ImportError as e:\n", + " print(f\"❌ IMD support not available: {e}\")\n", + " print(\"Please install imdclient: pip install imdclient>=0.2.2\")" + ] + }, + { + "cell_type": "markdown", + "id": "e698ca2d", + "metadata": {}, + "source": [ + "## Setting Up a Simulation with IMD\n", + "\n", + "Before we can demonstrate streaming analysis, we need a simulation running with IMD enabled. Here are configuration examples for different MD engines:\n", + "\n", + "### GROMACS Setup\n", + "\n", + "Add these comprehensive IMD settings to your `.mdp` file:\n", + "```code\n", + "; IMD settings for v3 protocol\n", + "IMD-group = System ; Group to stream (typically System)\n", + "IMD-version = 3 ; Use IMDv3 protocol (required for MDAnalysis)\n", + "IMD-nst = 1 ; Frequency of data transmission (every step)\n", + "IMD-time = No ; Send time information\n", + "IMD-coords = Yes ; Send atomic coordinates (essential)\n", + "IMD-vels = No ; Send velocities (optional)\n", + "IMD-forces = No ; Send forces (optional)\n", + "IMD-box = No ; Send box dimensions (optional)\n", + "IMD-unwrap = No ; Unwrap coordinates across PBC\n", + "IMD-energies = No ; Send energy information (optional)\n", + "```\n", + "\n", + "Run the simulation:\n", + "```bash\n", + "gmx mdrun -v -nt 4 -imdwait -imdport 8889\n", + "```\n", + "\n", + "### LAMMPS Setup\n", + "\n", + "Use the comprehensive IMD fix in your input script:\n", + "```code\n", + "# IMD setup - full parameter specification\n", + "fix ID group-ID imd trate version 3 unwrap time box coordinates velocities forces \n", + "\n", + "# Example with specific values:\n", + "fix imd all imd 8889 trate 1 version 3 unwrap on time on box on coordinates on velocities on forces on\n", + "```\n", + "\n", + "Run your LAMMPS simulation as usual.\n", + "\n", + "### NAMD Setup\n", + "\n", + "Add comprehensive IMD configuration to your NAMD configuration file:\n", + "```code\n", + "# IMD Settings\n", + "IMDon yes\n", + "IMDport 8889 # Must match client port\n", + "IMDwait yes # Wait for client connection\n", + "IMDfreq 1 # Frequency of sending data\n", + "\n", + "# Data transmission settings\n", + "IMDsendPositions yes # Send atomic coordinates\n", + "IMDsendEnergies yes # Send energy information\n", + "IMDsendTime yes # Send timing data\n", + "IMDsendBoxDimensions yes # Send simulation box info\n", + "IMDsendVelocities yes # Send atomic velocities\n", + "IMDsendForces yes # Send atomic forces\n", + "IMDwrapPositions no # Don't wrap coordinates\n", + "```\n", + "\n", + "Run your NAMD simulation as usual." + ] + }, + { + "cell_type": "markdown", + "id": "47c27d17", + "metadata": {}, + "source": [ + "## Example 1: Simple IMD Analysis\n", + "\n", + "This example shows the basics of connecting to a live simulation and performing simple analysis." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d9181c5c", + "metadata": {}, + "outputs": [], + "source": [ + "# Simple Example: Basic IMD Connection and Analysis\n", + "\n", + "import MDAnalysis as mda\n", + "import numpy as np\n", + "\n", + "def simple_imd_analysis():\n", + " \"\"\"\n", + " Simple example of connecting to a live simulation and analyzing it.\n", + " \n", + " This assumes you have GROMACS running with IMD enabled on localhost:8889\n", + " \"\"\"\n", + " try:\n", + " # Connect to the live simulation\n", + " u = mda.Universe(\"topol.tpr\", \"imd://localhost:8889\")\n", + " \n", + " print(f\"Connected to simulation: {u.atoms.n_atoms} atoms\")\n", + " \n", + " # Basic analysis on streaming frames\n", + " protein = u.select_atoms(\"protein\")\n", + " \n", + " frame_count = 0\n", + " for ts in u.trajectory:\n", + " # Calculate radius of gyration\n", + " rg = protein.radius_of_gyration()\n", + " \n", + " print(f\"Frame {frame_count}: Time = {ts.time:.1f} ps, Rg = {rg:.2f} Å\")\n", + " \n", + " frame_count += 1\n", + " \n", + " # Stop after 10 frames for this simple example\n", + " if frame_count >= 10:\n", + " break\n", + " \n", + " print(\"Simple analysis completed!\")\n", + " \n", + " except Exception as e:\n", + " print(f\"Connection failed: {e}\")\n", + " print(\"Make sure your simulation is running with IMD enabled\")\n", + " print(\"Example: gmx mdrun -s topol.tpr -imdport 8889 -imdwait\")\n", + "\n", + "# To run this example, uncomment the line below:\n", + "# simple_imd_analysis()" + ] + }, + { + "cell_type": "markdown", + "id": "43179ebe", + "metadata": {}, + "source": [ + "## Example 2: Advanced Live Streaming with Real-time Plotting\n", + "\n", + "This example demonstrates continuous monitoring with live plots that update as the simulation runs." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "30bafb63", + "metadata": {}, + "outputs": [], + "source": [ + "# Advanced Example: Live Streaming Analysis with Real-time Plotting\n", + "\n", + "import MDAnalysis as mda\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "from collections import deque\n", + "import time\n", + "\n", + "def advanced_live_streaming():\n", + " \"\"\"\n", + " Advanced example with live plotting and continuous monitoring.\n", + " \n", + " This connects to your simulation and creates real-time plots.\n", + " \"\"\"\n", + " try:\n", + " # Connect to the simulation\n", + " u = mda.Universe(\"system.tpr\", \"imd://localhost:8889\")\n", + " \n", + " print(f\"Starting live analysis of {u.atoms.n_atoms} atoms\")\n", + " \n", + " # Setup for real-time plotting\n", + " plt.ion() # Interactive mode\n", + " fig, (ax1, ax2) = plt.subplots(2, 1, figsize=(10, 8))\n", + " \n", + " # Data storage for plotting\n", + " times = deque(maxlen=100) # Keep last 100 points\n", + " rg_values = deque(maxlen=100)\n", + " energies = deque(maxlen=100)\n", + " \n", + " protein = u.select_atoms(\"protein\")\n", + " \n", + " frame_count = 0\n", + " for ts in u.trajectory:\n", + " current_time = ts.time\n", + " \n", + " # Calculate properties\n", + " rg = protein.radius_of_gyration()\n", + " \n", + " # Simulate potential energy (real simulations would have this)\n", + " # In real IMD, you might get this from the simulation engine\n", + " potential_energy = -1000 + np.random.normal(0, 50)\n", + " \n", + " # Store data\n", + " times.append(current_time)\n", + " rg_values.append(rg)\n", + " energies.append(potential_energy)\n", + " \n", + " # Update plots every 5 frames\n", + " if frame_count % 5 == 0:\n", + " # Clear and replot\n", + " ax1.clear()\n", + " ax2.clear()\n", + " \n", + " # Plot radius of gyration\n", + " ax1.plot(list(times), list(rg_values), 'b-', linewidth=2)\n", + " ax1.set_xlabel('Time (ps)')\n", + " ax1.set_ylabel('Radius of Gyration (Å)')\n", + " ax1.set_title('Real-time Rg Evolution')\n", + " ax1.grid(True)\n", + " \n", + " # Plot energy\n", + " ax2.plot(list(times), list(energies), 'r-', linewidth=2)\n", + " ax2.set_xlabel('Time (ps)')\n", + " ax2.set_ylabel('Potential Energy (kJ/mol)')\n", + " ax2.set_title('Real-time Energy Evolution')\n", + " ax2.grid(True)\n", + " \n", + " plt.tight_layout()\n", + " plt.draw()\n", + " plt.pause(0.01) # Small pause to update display\n", + " \n", + " # Print status\n", + " print(f\"Frame {frame_count}: Time = {current_time:.1f} ps, \"\n", + " f\"Rg = {rg:.2f} Å, Energy = {potential_energy:.1f} kJ/mol\")\n", + " \n", + " frame_count += 1\n", + " \n", + " # Run for 50 frames in this example\n", + " if frame_count >= 50:\n", + " break\n", + " \n", + " print(\"Live streaming analysis completed!\")\n", + " plt.ioff() # Turn off interactive mode\n", + " plt.show()\n", + " \n", + " except KeyboardInterrupt:\n", + " print(\"\\nAnalysis stopped by user\")\n", + " plt.ioff()\n", + " \n", + " except Exception as e:\n", + " print(f\"Error during live analysis: {e}\")\n", + " print(\"Make sure your simulation is running with IMD enabled\")\n", + " plt.ioff()\n", + "\n", + "# To run this advanced example, uncomment the line below:\n", + "# advanced_live_streaming()" + ] + } + ], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/doc/source/formats/reference/imd.rst b/doc/source/formats/reference/imd.rst new file mode 100644 index 000000000..a53707027 --- /dev/null +++ b/doc/source/formats/reference/imd.rst @@ -0,0 +1,434 @@ +.. -*- coding: utf-8 -*- +.. _IMD-format: + +================================================================== +IMD (Data streamed via Interactive Molecular Dynamics protocol v3) +================================================================== + +.. include:: classes/IMD.txt + +**Interactive Molecular Dynamics (IMD)** is a data streaming utility that enables transfer of live simulation data (like coordinates, energies, forces) from molecular dynamics engines to receiving clients while the simulation is running. The :class:`~MDAnalysis.coordinates.IMD.IMDReader` is a reader class for accessing IMD live-streamed data by connecting to a live TCP/IP connection. + +IMD is particularly useful for long-running simulations, adaptive sampling workflows, real-time quality control, and storage-constrained environments where immediate analysis is needed without writing large trajectory files. More details are provided below. + +.. note:: + MDAnalysis supports **IMDv3 only**, which uses the IMDv3 protocol to provide continuous, gap-free streaming and is implemented in modern versions of GROMACS, LAMMPS, and NAMD. IMDv2, while widely available, was designed primarily for visualization and doesn't enforce a consistent number of integration steps between transmitted frames + +What is Streaming? +================== + +Streaming involves sending and processing data in real-time as it is generated, rather than storing it for later analysis. In molecular dynamics, this means transmitting simulation data to a client on-the-fly while the simulation is running, without writing large trajectory files to disk. The simulation engine acts as a data producer, while the analysis client serves as a receiver that receives this data in real-time. + +Interactive Molecular Dynamics (IMD) +------------------------------------ + +Interactive Molecular Dynamics (IMD) is a specific implementation of streaming for molecular dynamics simulations [#imd2001]_. IMD establishes a TCP/IP socket connection between the simulation engine and receiving client, enabling real-time transmission of simulation data while the simulation is running. It uses a custom protocol that governs the format and type of simulation data that is exchanged. + +The previous implementation, IMDv2, was primarily designed for visualization purposes and was built to connect to the `VMD `_ molecular visualization program [#imdv2]_. It enabled the transmission of coordinates and energies to VMD for real-time visualization of running simulations. The IMDv3 implementation, however, is designed for more general streaming applications beyond visualization, enabling the transfer of positions, velocities, forces, energies, and timing information [#imdv3]_. + +IMDv3 in MD Engines +^^^^^^^^^^^^^^^^^^^^ + +The IMDv3 protocol is currently implemented in popular MD engines including GROMACS, LAMMPS, and NAMD. Each engine provides configuration options to enable IMDv3 streaming and specify which data types to transmit during simulation execution. + +IMDReader in MDAnalysis +^^^^^^^^^^^^^^^^^^^^^^^^ + +MDAnalysis's :class:`~MDAnalysis.coordinates.IMD.IMDReader` supports the IMDv3 protocol and provides a convenient interface for reading streaming data. It uses the `imdclient `_ package which acts as a client/receiver, gathering data from TCP/IP sockets and making it available through MDAnalysis's familiar Universe interface. + +When to Use Streaming? +====================== + +Streaming analysis is particularly valuable for: + +**Long-running simulations** + Early detection of problems (crashes, artifacts, equilibration issues) can save computational resources. + +**Adaptive sampling workflows** + Real-time analysis can guide simulation parameters or trigger enhanced sampling methods. + +**Interactive research** + Immediate feedback allows researchers to make informed decisions about continuing, modifying, or terminating simulations. + +**Storage-constrained environments** + Analyze data as it's generated without storing large trajectory files. + +Installation and Setup +====================== + +The IMDReader requires the ``imdclient`` package, which is an optional dependency that must be installed separately from MDAnalysis using either ``pip`` or ``mamba/conda``. For detailed installation instructions, see the `imdclient installation guide `_. + +.. note:: + MDAnalysis requires ``imdclient >= 0.2.2`` for its current implementation. + +MD Engine Configuration +----------------------- + +To enable IMDv3 streaming, you need to configure your simulation engine with the appropriate IMD settings. The key parameters are: + +* **IMD version**: Must be set to 3 for compatibility with MDAnalysis +* **Port**: Network port for the IMD connection (typically 8889) +* **Data transfer rate**: How frequently data is sent (e.g., every 100 steps) +* **Data types**: Which simulation data to stream (coordinates, energies, velocities, etc.) + +Below are minimal example configurations for each supported engine. For comprehensive setup instructions and advanced configuration options, see the `imdclient simulation engine documentation `_. + +GROMACS +^^^^^^^ + +Add these IMD settings to your ``.mdp`` file: + +.. code-block:: text + + ; Required IMD settings + IMD-version = 3 ; Use IMDv3 protocol (2/3) + IMD-group = System ; Atom group to stream (System = all atoms) + IMD-nst = 100 ; Send data every 100 steps + + ; Data streams - specify what to send + IMD-time = Yes ; Stream timing information (Yes/No) + IMD-energies = Yes ; Stream energy data (Yes/No) + IMD-box = Yes ; Stream box dimensions (for PBC analysis) (Yes/No) + IMD-coords = Yes ; Stream coordinates (Yes/No) + IMD-vels = Yes ; Stream velocities (Yes/No) + IMD-forces = Yes ; Stream forces (Yes/No) + + ; Coordinate processing + IMD-unwrap = Yes ; Unwrap coordinates across PBC (Yes/No) + +Run with IMD enabled: + +.. code-block:: bash + + gmx mdrun -v -nt 4 -imdwait -imdport 8889 + +LAMMPS +^^^^^^ + +Use the IMD fix in your input script: + +.. code-block:: text + + # Complete IMD configuration + fix imd all imd 8889 trate 100 version 3 unwrap yes time yes box yes coordinates yes velocities yes forces yes + + # Parameters explained: + # 8889: Network port for connection + # trate 100: Send data every 100 timesteps (transmission rate) + # version 3: Use IMDv3 protocol (2/3) + # unwrap yes: Unwrap coordinates across PBC (yes/no) + # time yes: Send timing information (yes/no) + # box yes: Send box dimensions (for PBC analysis) (yes/no) + # coordinates yes: Send atomic coordinates (yes/no) + # velocities yes: Send velocity data (yes/no) + # forces yes: Send force data (yes/no) + # Note: Energy streaming not supported in LAMMPS IMD fix + +Run your LAMMPS simulation as usual. + +NAMD +^^^^ + +Add these IMD settings to your configuration file: + +.. code-block:: text + + # Required IMD settings + IMDon yes ; Enable IMD functionality + IMDversion 3 ; Use IMDv3 protocol (2/3) + IMDport 8889 ; Network port for connection + IMDwait on ; Wait for client connection before starting (on/off) + IMDfreq 100 ; Send data every 100 steps (transmission rate) + + # Data streams - specify what to send + IMDsendTime yes ; Send timing information (yes/no) + IMDsendEnergies yes ; Send energy information (yes/no) + IMDsendBoxDimensions yes ; Send simulation box data (for PBC analysis) (yes/no) + IMDsendPositions yes ; Send coordinates (yes/no) + IMDsendVelocities yes ; Send velocity data (yes/no) + IMDsendForces yes ; Send force data (yes/no) + + # Coordinate processing + IMDwrapPositions no ; Don't wrap (i.e unwrap) coordinates into simulation box (yes/no) + +Run your NAMD simulation as usual. + +Basic Usage +=========== + +Connecting to a Running Simulation +----------------------------------- + +Once your simulation is running with IMD enabled: + +.. code-block:: python + + import MDAnalysis as mda + + # Connect to the simulation + u = mda.Universe("topol.tpr", "imd://localhost:8889", buffer_size=10*1024*1024) + + # Select atoms for analysis + selected_atoms = u.select_atoms("protein and name CA") + + # Streaming analysis loop + for ts in u.trajectory: + print(f"Time: {ts.time:.2f} ps, Step: {ts.data.get('step', 'N/A')}") + + # Your analysis code here + center_of_mass = selected_atoms.center_of_mass() + print(f"Protein COM: {center_of_mass}") + + # Optional: break on some condition + if ts.time > 1000: # Stop after 1000 ps + break + +The ``buffer_size`` parameter (10 MB = 10*1024*1024 bytes in this example) controls the buffer used by `imdclient `_ to temporarily store data received from the socket. This buffer accounts for speed differences between the producer (simulation engine) and receiver (analysis code), preventing data loss when analysis is slower than data transmission. A larger buffer is more suitable for systems with many atoms or high transmission frequencies. For more details on buffer management and optimization, see the `imdclient documentation `_. + +Real-time Quality Control +------------------------- + +Monitor simulation health in real-time: + +.. code-block:: python + + import MDAnalysis as mda + from MDAnalysis.lib.distances import calc_bonds + import numpy as np + + # Connect to simulation streaming positions, box dimensions, and energies + u = mda.Universe("system.tpr", "imd://localhost:8889") + + previous_positions = None + + for ts in u.trajectory: + current_positions = u.atoms.positions.copy() + + # Check for simulation artifacts using PBC-aware distance calculation + if previous_positions is not None: + # Create atom pairs for displacement calculation + atom_pairs = np.column_stack([np.arange(len(u.atoms)), np.arange(len(u.atoms))]) + + # Use PBC-aware distance calculation + displacements = calc_bonds(previous_positions, current_positions, + atom_pairs, box=ts.dimensions) + max_displacement = np.max(displacements) + + if max_displacement > 10.0: # Atoms moved > 10 Å in one step + print(f"WARNING: Large displacement detected at {ts.time} ps: {max_displacement:.2f} Å") + + # Monitor energies + print(f"Potential energy: {ts.data['potential']:.2f}") + + previous_positions = current_positions + +Advanced Features +================= + +Buffer Management +----------------- + +The ``buffer_size`` parameter (specified in bytes) controls how much data imdclient can temporarily store while managing speed differences between simulation and analysis. For compute-intensive analysis, increase the buffer size to reduce communication overhead: + +.. code-block:: python + + # Larger buffer for demanding scenarios (50 MB = 50*1024*1024 bytes) + u = mda.Universe("topol.tpr", "imd://localhost:8889", buffer_size=50*1024*1024) + +For detailed information about buffer behavior and usage, see the `imdclient buffer management documentation `_. + +Connection Management +--------------------- + +Always ensure proper cleanup, especially in interactive environments like Jupyter notebooks and other interactive environments: + +.. code-block:: python + + import MDAnalysis as mda + + u = None + error = None + + try: + u = mda.Universe("topol.tpr", "imd://localhost:8889") + + for ts in u.trajectory: + # Your analysis here + pass + + except Exception as e: + # Log error but don't re-raise yet + error = e + print(f"Error during streaming: {e}") + + finally: + # Always close the connection first + if u is not None: + u.trajectory.close() + + # Re-raise after cleanup is done + if error: + raise error + +Available Data +-------------- + +The IMDReader provides access to additional simulation data through ``ts.data``: + +* ``dt``: Time step size in picoseconds +* ``step``: Current simulation step number +* Energy terms: ``potential_energy``, ``total_energy``, etc. (available as an option in NAMD and GROMACS only) + +.. code-block:: python + + for ts in u.trajectory: + print(f"Step {ts.data.get('step')}: dt={ts.data.get('dt')} ps") + + # Energy terms available only when IMD-streaming from NAMD and GROMACS only + for key, value in ts.data.items(): + if key not in ['dt', 'step']: + print(f" {key}: {value}") + +Integration with MDAnalysis Tools +================================= + +Most MDAnalysis analysis classes work with streaming data, but some limitations apply: + +Compatible Analysis +^^^^^^^^^^^^^^^^^^^ + +**What works with streaming:** + +* **Single-frame calculations**: Analyses that work on individual timesteps, for example: + + - Within-frame: :meth:`~MDAnalysis.core.groups.AtomGroup.center_of_mass`, :meth:`~MDAnalysis.core.groups.AtomGroup.radius_of_gyration` + - Within-frame: :func:`~MDAnalysis.analysis.distances.distance_array` for pairwise distances between atom groups + - Between-frames: :func:`~MDAnalysis.lib.distances.calc_bonds` for displacement calculations comparing consecutive frames + - Between-frames: Frame-to-frame RMSD calculations using :func:`~MDAnalysis.analysis.rms.rmsd` with stored reference coordinates + - Within-frame: Real-time monitoring using :meth:`~MDAnalysis.core.groups.AtomGroup.center_of_mass` for quality control checks + +* **Accumulative analyses**: Building results incrementally across frames using :class:`~MDAnalysis.analysis.base.AnalysisBase` patterns, for example: + + - :class:`~MDAnalysis.analysis.rdf.InterRDF` - Frame-by-frame radial distribution function calculations + - :class:`~MDAnalysis.analysis.dihedrals.Dihedral` - Dihedral angle accumulation for conformational analysis + - :class:`~MDAnalysis.analysis.lineardensity.LinearDensity` - Density profile building over streaming frames +.. note:: + Passing any backend other than ``backend="serial"`` to these analysis classes will cause them to fail since streams are single-pass and forward-only. +**What doesn't work:** + +* **Multi-pass analyses**: Methods requiring multiple trajectory passes, for example: + + - :class:`~MDAnalysis.analysis.rms.RMSD` - Needs reference structure alignment across all frames / entire trajectory + - :class:`~MDAnalysis.analysis.pca.PCA` - Principal component analysis requires full trajectory + +* **Global trajectory methods**: Analyses needing simultaneous access to all frames, for example: + + - :meth:`~MDAnalysis.coordinates.base.ProtoReader.timeseries` - Bulk coordinate extraction + - :class:`~MDAnalysis.analysis.encore.encore` - Ensemble similarity calculations + +**Example streaming-compatible analyses:** + +.. code-block:: python + + from MDAnalysis.analysis import distances, contacts + + u = mda.Universe("system.tpr", "imd://localhost:8889") + + # Select atoms once outside the loop (best practice for performance) + protein = u.select_atoms("protein") + selection1 = u.select_atoms("resid 1-10") + selection2 = u.select_atoms("resid 50-60") + + for ts in u.trajectory: + # Distance calculations work normally + rg = protein.radius_of_gyration() + + # Contact analysis + dist_array = distances.distance_array(selection1.positions, selection2.positions) + +Important Limitations +===================== + +Streaming analysis has fundamental constraints due to its real-time nature: + +Data Access Limitations +^^^^^^^^^^^^^^^^^^^^^^^^ + +* **No random access**: Cannot jump to arbitrary frames or seek backwards +* **Forward-only**: Can only iterate through frames as they arrive +* **Single-use**: Cannot restart iteration once the stream is consumed +* **No trajectory length**: Total frame count unknown until simulation ends +* **No independent copies**: Cannot create multiple reader instances for the same stream + +.. note:: + Multiple client connections to the same IMD port may be possible with some MD engines. For details on engine-specific behavior, see the `imdclient documentation `_. + +Analysis Constraints +^^^^^^^^^^^^^^^^^^^^ + +* **No timeseries methods**: Cannot use ``trajectory.timeseries()`` +* **No bulk operations**: Cannot extract all data at once +* **Limited multiprocessing**: Cannot split across processes +* **Single client**: Only one reader per IMD stream (engine-dependent) + +Practical Considerations +^^^^^^^^^^^^^^^^^^^^^^^^^ + +**Forward iteration works correctly:** + +.. code-block:: python + + # This WILL work - forward iteration + for ts in u.trajectory: + analysis_data.append(calculate_something(ts)) + +**Random frame access will fail:** + +.. code-block:: python + + # This will NOT work - random access + ts = u.trajectory[10] # ValueError + +**Backward iteration will fail:** + +.. code-block:: python + + # This will NOT work - backwards iteration + for ts in u.trajectory[::-1]: # ValueError + pass + +**Setting end-frames is not supported:** + +.. code-block:: python + + # This will NOT work - cannot set stop index + for ts in u.trajectory[:10]: # ValueError + pass + +**Restarting iteration will not work as expected:** + +.. code-block:: python + + # This will NOT work - restarting iteration + for ts in u.trajectory: + break + for ts in u.trajectory: + # Won't start from beginning but rather continue from where it left off + pass + +See Also +======== + +* :class:`~MDAnalysis.coordinates.IMD.IMDReader` - Technical API documentation +* :class:`~MDAnalysis.coordinates.base.StreamReaderBase` - Base class for streaming readers +* `imdclient documentation `_ - Complete imdclient package documentation +* `IMDv3 protocol specification `_ - Technical protocol details + +References +========== + +.. [#imd2001] John E. Stone, Justin Gullingsrud, and Klaus Schulten. A system for interactive molecular dynamics simulation. In Proceedings of the 2001 Symposium on Interactive 3D Graphics, I3D '01, 191–194. New York, NY, USA, 2001. Association for Computing Machinery. ``_ + +.. [#imdv2] IMDv2 protocol implementation. `VMD Interactive Molecular Dynamics `_. Accessed: 2024. + +.. [#imdv3] IMDv3 protocol specification. `imdclient documentation `_. Accessed: 2024. \ No newline at end of file diff --git a/doc/source/releases.md b/doc/source/releases.md index 7cda94f69..39e911208 100644 --- a/doc/source/releases.md +++ b/doc/source/releases.md @@ -1,6 +1,126 @@ # MDAnalysis Release Notes +## Release 2.11.0 of MDAnalysis + +## Overview + +This is a minor release of MDAnalysis. + +This release supports NumPy 2.0+ and offers backwards compatibility through to NumPy 1.26.0. + +Supported Python versions: + +* 3.11, 3.12, 3.13, 3.14 + +## Major features & changes + +See the [CHANGELOG](https://github.com/MDAnalysis/mdanalysis/blob/release-2.11.0/package/CHANGELOG) for more details. + +### Analysis methods + +* Paralllelization supporrt for; DiffusionMap (PR #4745), AtomicDistances (PR #4822), +* DSSP improvements + * Inclusion of PRO in secondary structure assessment (PR #5065). + * Improved performance of distance calculations and correctly handles periodic boundaries in hydrogen bond detection (PR #5182). +* Fixed issue where Analysis classes would not work with GSD trajectories (Issue #5224, PR #5260). +* AtomicDistances now uses the `results` dictionary for its outputs, in line with other analysis classes (PR #5347). +* Fix to mean aggregation of InterRDF bins when running in parallel (PR #5344). +* Fix to issue where numpy boolean arrays passed to `run()` would incorrectly select frame indices (PPR #5476). +* Fix to incorrect reduction of eigenvectors in the `GNMAnalysis` class when running analysis with multiprocessing (PR #5495). +* Fix incorrect aggreggation in `InterRDF_s` when running in parallel (PR #5497). + +### File formats + +* TPR reader improvements + * Support for GROMACS 2026 TPR files (PR #5219). + * Fix issue with reading old TPR files (TPX version < 103) (PR #5146). + * Fix to position & velocity parsing to properly convert to MDAnalysis base units rather than using Gromacs' native units (PR #5374). + * Support for reading linear angle potentials (PR #5372). + * Box vectors can now be read from TPR files (PR #5466). +* Implementation of a `mda.fetch_pdb()` convenience which allows for creation of `Universes` by directly pulling from the Protein DataBank (PR #4943). +* Added support for reading unit cell dimensions from CRYSIN records in MOL2 files (PR #5187). +* Implementation of an MMCIF file reader using the `gemmi` library (PR #4712). + +### Library internals + +* Significant `AtomGroup.wrap()` performance improvement. `wrap()` now scales close to O(N) instead of O(N^2) at large compound counts. +* Bond guessing now words with mixed case atomtypes (PR #5343). +* Velocities and forces are now also rotated when applying trajectory rotation transformations (PR #5421). +* Fix inccorrect `capped_distance` in some triclinic boxes (where both `b_x` and `c_y` are non-zero), leading to atom pairs within the cutoff distance being missed (PR #5481). + +## New Contributors +* [@spyke7](https://github.com/spyke7) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5153 +* [@Pranay096](https://github.com/Pranay096) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5158 +* [@PardhavMaradani](https://github.com/PardhavMaradani) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5185 +* [@tani-dubey](https://github.com/tani-dubey) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5173 +* [@BradyAJohnston](https://github.com/BradyAJohnston) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5202 +* [@IAyaanHere](https://github.com/IAyaanHere) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5205 +* [@khushi-phougat](https://github.com/khushi-phougat) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5212 +* [@Dreamstick9](https://github.com/Dreamstick9) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5156 +* [@jeremyleung521](https://github.com/jeremyleung521) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5237 +* [@harshitgajjela-droid](https://github.com/harshitgajjela-droid) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5265 +* [@kunjsinha](https://github.com/kunjsinha) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5260 +* [@aygarwal](https://github.com/aygarwal) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5277 +* [@ParthUppal523](https://github.com/ParthUppal523) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5294 +* [@ollyfutur](https://github.com/ollyfutur) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5296 +* [@Amarendra22](https://github.com/Amarendra22) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5291 +* [@shubhammittal2241](https://github.com/shubhammittal2241) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5178 +* [@charity-g](https://github.com/charity-g) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5347 +* [@saiudayagiri](https://github.com/saiudayagiri) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5401 +* [@apoorva-01](https://github.com/apoorva-01) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5415 +* [@Aryaman-Chaudhri](https://github.com/Aryaman-Chaudhri) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5139 +* [@sici17](https://github.com/sici17) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5439 +* [@AkshitBoora](https://github.com/AkshitBoora) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5466 + +**Full Changelog**: https://github.com/MDAnalysis/mdanalysis/compare/package-2.10.0...package-2.11.0 + +## Release 2.10.0 of MDAnalysis + +### Overview + +This is a minor release of MDAnalysis. + +This release supports NumPy 2.0+ and offers backwards compatibility through to NumPy 1.26.0 + +Supported Python versions: + - 3.11, 3.12, 3.13, 3.14 + +### Major features & changes + +See the [CHANGELOG](https://github.com/MDAnalysis/mdanalysis/blob/release-2.10.0/package/CHANGELOG) and our [release blog post](https://www.mdanalysis.org/blog/#mdanalysis-2.10-is-out) for more details. + +* Support for `dt` in XTC and TRR trajectories (PR #4908) +* New parallelization support for the following analyses: + * `LinearDensity` (PR #5007) + * `PersistenceLength` (PR #5074) + * `InterRDF` and `InterRDF_s` (PR #4884) +* Enable the selection of distance library backend in RDF analyses (PPR #5038) +* Improve the speed of the GROMOS11 reader (PR #5080) +* Improvements and refactoring of the RDKit inferring code (PR #4305) +* Support for position and velocity reading from TPR files (PR #4873) +* Support for non-linear time averaged MSD (PR #5066) +* Support for interactive MD stream reading using the IMDReader (PR #4923) +* Performance improvements to `InterRDF_s` (PR #5073) + +## New Contributors +* [@namiroues](https://github.com/namiroues) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4941 +* [@lexi-x](https://github.com/lexi-x) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4987 +* [@BHM-Bob](https://github.com/BHM-Bob) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4961 +* [@yuyuan871111](https://github.com/yuyuan871111) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5001 +* [@jpkrowe](https://github.com/jpkrowe) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4995 +* [@TRY-ER](https://github.com/TRY-ER) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5000 +* [@Abdulrahman-PROG](https://github.com/Abdulrahman-PROG) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4951 +* [@pbuslaev](https://github.com/pbuslaev) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4908 +* [@tulga-rdn](https://github.com/tulga-rdn) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5007 +* [@Gareth-elliott](https://github.com/Gareth-elliott) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5038 +* [@schuhmc](https://github.com/schuhmc) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5080 +* [@gitsirsha](https://github.com/gitsirsha) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5066 +* [@Pradyumn-cloud](https://github.com/Pradyumn-cloud) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5096 +* [@amruthesht](https://github.com/amruthesht) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4923 +* [@gitzhangch](https://github.com/gitzhangch) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5073 +* [@raulloiscuns](https://github.com/raulloiscuns) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/5053 + ## Release 2.9.0 of MDAnalysis This is a minor release of MDAnalysis. @@ -268,12 +388,12 @@ See the [CHANGELOG](https://github.com/MDAnalysis/mdanalysis/blob/release-2.5.0/ * [@chrispfae](https://github.com/chrispfae) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4009 * [@ooprathamm](https://github.com/ooprathamm) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4010 * [@MeetB7](https://github.com/MeetB7) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4022 -* [@v](https://github.com/v)-parmar made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4032 +* [@v-parmar](https://github.com/v-parmar) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4032 * [@MoSchaeffler](https://github.com/MoSchaeffler) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4049 * [@jandom](https://github.com/jandom) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4043 * [@xhgchen](https://github.com/xhgchen) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4037 * [@DrDomenicoMarson](https://github.com/DrDomenicoMarson) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4074 -* [@AHMED](https://github.com/AHMED)-salah00 made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4059 +* [@AHMED-salah00](https://github.com/AHMED-salah00) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4059 * [@schlaicha](https://github.com/schlaicha) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4076 * [@jvermaas](https://github.com/jvermaas) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4031 * [@SophiaRuan](https://github.com/SophiaRuan) made their first contribution in https://github.com/MDAnalysis/mdanalysis/pull/4072 diff --git a/doc/source/scripts/core.py b/doc/source/scripts/core.py index 9b1455a50..37f2356f8 100644 --- a/doc/source/scripts/core.py +++ b/doc/source/scripts/core.py @@ -4,6 +4,7 @@ DESCRIPTIONS = { "CHEMFILES": "use readers from `chemfiles `_ library", + "CIF": "PDBx/mmCIF file", "CRD": "CHARMM CARD file", "CONFIG": "DL_Poly CONFIG file", "COOR": "NAMD binary restart file", diff --git a/doc/source/scripts/gen_format_overview_classes.py b/doc/source/scripts/gen_format_overview_classes.py index e733f0a9b..25b173223 100644 --- a/doc/source/scripts/gen_format_overview_classes.py +++ b/doc/source/scripts/gen_format_overview_classes.py @@ -46,7 +46,7 @@ def _create_key(fmt: str, handlers: dict[HANDLER_T, Type[Any]]) -> str: if fmt in DESCRIPTIONS: key = fmt else: - key = list(handlers.values())[0].format[0] + key = list(handlers.values())[0].format[0].upper() # raise an informative error if key not in DESCRIPTIONS: diff --git a/doc/source/scripts/gen_release_notes.py b/doc/source/scripts/gen_release_notes.py index 5c1a4661d..2f463984e 100644 --- a/doc/source/scripts/gen_release_notes.py +++ b/doc/source/scripts/gen_release_notes.py @@ -34,8 +34,11 @@ def gen_release_notes(filename: str) -> None: # replace all @ starting handles with github links # \b doesn't work so we're using \s and getting extra whitespace - handles = set(re.findall(r"\s@\w+", filetext)) - for entry in handles: + # \w- is used to include hyphens within usernames + handles = set(re.findall(r"\s@[\w-]+", filetext)) + # Sort the list by length to avoid replacing names that + # have other names as prefixes e.g. @will and @william + for entry in sorted(handles, key=len, reverse=True): new_word = f" [{entry[1:]}](https://github.com/{entry[2:]})" filetext = filetext.replace(entry, new_word) diff --git a/doc/source/scripts/gen_standard_selections.py b/doc/source/scripts/gen_standard_selections.py index c54b0c7f4..7050b73ce 100755 --- a/doc/source/scripts/gen_standard_selections.py +++ b/doc/source/scripts/gen_standard_selections.py @@ -8,6 +8,7 @@ - nucleobase atoms - nucleic sugar atoms """ + from typing import Any from base import TableWriter diff --git a/doc/source/scripts/gen_topologyattr_defaults.py b/doc/source/scripts/gen_topologyattr_defaults.py index 4e5071500..250cecad1 100644 --- a/doc/source/scripts/gen_topologyattr_defaults.py +++ b/doc/source/scripts/gen_topologyattr_defaults.py @@ -23,10 +23,10 @@ class TopologyDefaults: def __init__(self) -> None: def _atom(klass: TopologyAttr) -> str: - return klass.attrname # type: ignore + return klass.singular # type: ignore def _atomgroup(klass: TopologyAttr) -> str: - return klass.singular # type: ignore + return klass.attrname # type: ignore def _default(klass: TopologyAttr) -> str: try: diff --git a/doc/source/scripts/gen_topologyparser_attrs.py b/doc/source/scripts/gen_topologyparser_attrs.py index 323101776..59377edc2 100755 --- a/doc/source/scripts/gen_topologyparser_attrs.py +++ b/doc/source/scripts/gen_topologyparser_attrs.py @@ -7,6 +7,7 @@ This script imports the testsuite, which tests these. """ + from collections import defaultdict from typing import Any diff --git a/doc/source/scripts/gen_unit_tables.py b/doc/source/scripts/gen_unit_tables.py index 8fffdf7c6..9cd1e9da2 100755 --- a/doc/source/scripts/gen_unit_tables.py +++ b/doc/source/scripts/gen_unit_tables.py @@ -2,6 +2,7 @@ """ Writes unit tables """ + import pathlib import sys import textwrap diff --git a/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_format_overview_classes.ambr b/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_format_overview_classes.ambr index e9bd3e623..e49e1c26b 100644 --- a/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_format_overview_classes.ambr +++ b/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_format_overview_classes.ambr @@ -13,6 +13,18 @@ '', '', ]), + list([ + ':ref:`CIF `', + 'PDBx/mmCIF file', + '', + '', + ]), + list([ + ':ref:`CIF.GZ `', + 'PDBx/mmCIF file', + '', + '', + ]), list([ ':ref:`CONFIG `', 'DL_Poly CONFIG file', @@ -133,6 +145,18 @@ '', '', ]), + list([ + ':ref:`MMCIF `', + 'PDBx/mmCIF file', + '', + '', + ]), + list([ + ':ref:`MMCIF.GZ `', + 'PDBx/mmCIF file', + '', + '', + ]), list([ ':ref:`MMTF `', 'MMTF file', @@ -291,6 +315,22 @@ '✓', '✓', ]), + list([ + ':ref:`CIF `', + 'PDBx/mmCIF file', + '✓', + '✓', + '✓', + '', + ]), + list([ + ':ref:`CIF.GZ `', + 'PDBx/mmCIF file', + '✓', + '✓', + '✓', + '', + ]), list([ ':ref:`CONFIG `', 'DL_Poly CONFIG file', @@ -459,6 +499,22 @@ '✓', '', ]), + list([ + ':ref:`MMCIF `', + 'PDBx/mmCIF file', + '✓', + '✓', + '✓', + '', + ]), + list([ + ':ref:`MMCIF.GZ `', + 'PDBx/mmCIF file', + '✓', + '✓', + '✓', + '', + ]), list([ ':ref:`MMTF `', 'MMTF file', diff --git a/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_topologyattr_defaults.ambr b/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_topologyattr_defaults.ambr index 7ed079ab4..bea218178 100644 --- a/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_topologyattr_defaults.ambr +++ b/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_topologyattr_defaults.ambr @@ -2,8 +2,8 @@ # name: test_TopologyDefaults list([ list([ - 'altLocs', 'altLoc', + 'altLocs', "''", 'atom', , @@ -16,22 +16,22 @@ None, ]), list([ - 'aromaticities', 'aromaticity', + 'aromaticities', 'False', 'atom', , ]), list([ - 'atomiccharges', 'atomiccharge', + 'atomiccharges', 'No default values', 'atom', None, ]), list([ - 'atomnums', 'atomnum', + 'atomnums', 'No default values', 'atom', None, @@ -44,29 +44,29 @@ None, ]), list([ - 'chainIDs', 'chainID', + 'chainIDs', "''", 'atom', , ]), list([ - 'chargegroups', - 'chargegroup', - 'No default values', - 'atom', - None, - ]), - list([ - 'charges', 'charge', + 'charges', '0.0', 'atom', , ]), list([ - 'chiralities', + 'chargegroup', + 'chargegroups', + 'No default values', + 'atom', + None, + ]), + list([ 'chirality', + 'chiralities', 'No default values', 'atom', 'U1', @@ -86,50 +86,50 @@ None, ]), list([ - 'elements', 'element', + 'elements', "''", 'atom', , ]), list([ - 'epsilon14s', - 'epsilon14', + 'epsilon', + 'epsilons', '0.0', 'atom', , ]), list([ - 'epsilons', - 'epsilon', + 'epsilon14', + 'epsilon14s', '0.0', 'atom', , ]), list([ - 'formalcharges', 'formalcharge', + 'formalcharges', '0.0', 'atom', , ]), list([ - 'gbscreens', 'gbscreen', + 'gbscreens', '0.0', 'atom', , ]), list([ - 'icodes', 'icode', + 'icodes', "''", 'residue', , ]), list([ - 'ids', 'id', + 'ids', 'continuous sequence from 1 to n_atoms', 'atom', , @@ -142,138 +142,138 @@ None, ]), list([ - 'masses', 'mass', + 'masses', '0.0', 'atom', , ]), list([ - 'models', 'model', + 'models', 'No default values', 'segment', None, ]), list([ - 'molnums', 'molnum', + 'molnums', 'No default values', 'residue', , ]), list([ - 'moltypes', 'moltype', + 'moltypes', "''", 'residue', , ]), list([ - 'names', 'name', + 'names', "''", 'atom', , ]), list([ - 'nbindices', 'nbindex', + 'nbindices', '0', 'atom', , ]), list([ - 'occupancies', 'occupancy', + 'occupancies', '0.0', 'atom', , ]), list([ - 'radii', 'radius', + 'radii', '0.0', 'atom', , ]), list([ - 'record_types', 'record_type', + 'record_types', "'ATOM'", 'atom', , ]), list([ - 'resids', 'resid', + 'resids', 'continuous sequence from 1 to n_residues', 'residue', , ]), list([ - 'resnames', 'resname', + 'resnames', "''", 'residue', , ]), list([ - 'resnums', 'resnum', + 'resnums', 'continuous sequence from 1 to n_residues', 'residue', , ]), list([ - 'rmin14s', - 'rmin14', + 'rmin', + 'rmins', '0.0', 'atom', , ]), list([ - 'rmins', - 'rmin', + 'rmin14', + 'rmin14s', '0.0', 'atom', , ]), list([ - 'segids', 'segid', + 'segids', "''", 'segment', , ]), list([ - 'solventradii', 'solventradius', + 'solventradii', '0.0', 'atom', , ]), list([ - 'tempfactors', 'tempfactor', + 'tempfactors', '0.0', 'atom', , ]), list([ - 'type_indices', - 'type_index', - 'No default values', - 'atom', - None, - ]), - list([ - 'types', 'type', + 'types', "''", 'atom', , ]), + list([ + 'type_index', + 'type_indices', + 'No default values', + 'atom', + None, + ]), list([ 'ureybradleys', 'ureybradleys', diff --git a/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_unit_tables.ambr b/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_unit_tables.ambr index d5515869b..9f965c0a5 100644 --- a/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_unit_tables.ambr +++ b/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_unit_tables.ambr @@ -222,35 +222,44 @@ Unit Conversion factor ==================== =================== A/AKMA 0.0488882 - A/fs 1000 - A/ms 1e-09 + A/fs 0.001 + A/ms 1e+09 + A/ns 1000 A/ps 1 - A/us 1e-06 + A/us 1e+06 + A/μs 1e+06 Angstrom/AKMA 0.0488882 - Angstrom/femtosecond 1000 - Angstrom/fs 1000 - Angstrom/microsecond 1e-06 - Angstrom/millisecond 1e-09 - Angstrom/ms 1e-09 + Angstrom/femtosecond 0.001 + Angstrom/fs 0.001 + Angstrom/microsecond 1e+06 + Angstrom/millisecond 1e+09 + Angstrom/ms 1e+09 + Angstrom/nanosecond 1000 + Angstrom/ns 1000 Angstrom/picosecond 1 Angstrom/ps 1 - Angstrom/us 1e-06 - Angstrom/μs 1e-06 - angstrom/femtosecond 1000 - angstrom/fs 1000 - angstrom/microsecond 1e-06 - angstrom/millisecond 1e-09 - angstrom/ms 1e-09 + Angstrom/us 1e+06 + Angstrom/μs 1e+06 + angstrom/femtosecond 0.001 + angstrom/fs 0.001 + angstrom/microsecond 1e+06 + angstrom/millisecond 1e+09 + angstrom/ms 1e+09 + angstrom/nanosecond 1000 angstrom/picosecond 1 - angstrom/us 1e-06 - angstrom/μs 1e-06 + angstrom/us 1e+06 + angstrom/μs 1e+06 m/s 100 nanometer/picosecond 0.1 nanometer/ps 0.1 nm/ns 100 nm/ps 0.1 pm/ps 100 + Å/fs 0.001 + Å/ms 1e+09 + Å/ns 1000 Å/ps 1 + Å/μs 1e+06 ==================== =================== ''', ), diff --git a/doc/source/units.rst b/doc/source/units.rst index 16ca8ffbe..31354c324 100644 --- a/doc/source/units.rst +++ b/doc/source/units.rst @@ -28,10 +28,20 @@ Other base units are listed in the table :ref:`table-baseunits`. charge :math:`e` :math:`1.602176565 \times 10^{-19}` As force kJ/(mol·Å) :math:`1.66053892103219 \times 10^{-11}` J/m speed Å/ps :math:`100` m/s - mass u :math:`1.66053906660(50) \times 10^{-27}` kg + mass u :math:`1.66053892103219 \times 10^{-27}` kg angle degrees :math:`\frac{\pi}{180}` rad =========== ============== =============================================== +MDAnalysis units are currently based on the NIST `CODATA 2010`_ values for +physical constants. The unit of mass is not explicitly used but implicit in the +units for force and energy via Avogadro's constant :math:`6.02214129(27) \times +10^{23}\,\mathrm{mol}^{-1}` (in :data:`MDAnalysis.units.constants`). The excess +precision in the table is due to the use of the inverse of Avogadro's constant +and listing all available digits of the numerical calculation. + +.. _`CODATA 2010`: + https://physics.nist.gov/cuu/Constants/ArchiveASCII/allascii_2010.txt + Unit conversion =============== diff --git a/environment.yml b/environment.yml index 0494c72f0..7b5bb9f20 100644 --- a/environment.yml +++ b/environment.yml @@ -6,6 +6,7 @@ channels: - defaults dependencies: # mdanalysis dependencies + - numpy<2.5 - openmm>=7.0.0 - parmed - scikit-learn>=1.1.2 @@ -43,7 +44,7 @@ dependencies: - moviepy # used for notebook testing - pytest - - python=3.10 + - python=3.12 - pip - pip: # extensions diff --git a/maintainer/update_json_stubs_sitemap.py b/maintainer/update_json_stubs_sitemap.py index b38549d3c..55c8efea3 100644 --- a/maintainer/update_json_stubs_sitemap.py +++ b/maintainer/update_json_stubs_sitemap.py @@ -55,15 +55,13 @@ def write_redirect(file, version="", outfile=None): if outfile is None: outfile = file url = os.path.join(URL, version, file) - REDIRECT = textwrap.dedent( - f""" + REDIRECT = textwrap.dedent(f""" Redirecting to {url} - """ - ) + """) with open(outfile, "w") as f: f.write(REDIRECT) print(f"Wrote redirect from {url} to {outfile}")