Tiny package to compute dynamics correlations
Project description
A tiny package to compute the dynamics of stochastic and molecular simulations.
- License:
BSD 3-clause
- Author:
Pierre de Buyl
- Website:
tidynamics
performs the computation of mean-square displacements and correlation functions.
accepts as input NumPy arrays storing the positions and velocities of particles.
implements the so-called Fast Correlation Algorithm proposed by Kneller and others for the nMOLDYN analysis program.
For a quick jump into tidynamics, have a look at the examples.
Goals and plans:
Minimal dependencies.
Serve as a reference implementation for common algorithms that are useful for molecular and stochastic simulations.
Provide later a bit more flexibility to handle cross correlations and many-body systems.
Installation
It is necessary to have Python and NumPy to install and use tidynamics.
tidynamics can be installed with pip:
pip install --user tidynamics
or with conda (via conda-forge):
conda install -c conda-forge tidynamics
It is also possible to download the source code and execute pip locally.
Tests are run with Python 3.7 to 3.11. Python 2 is not supported anymore. If you encounter any issue, let me know (see Contact below).
Citation
When using tidynamics in a publication, please cite the following paper:
Pierre de Buyl (2018), tidynamics: A tiny package to compute the dynamics of stochastic and molecular simulations, The Journal of Open Source Software https://doi.org/10.21105/joss.00877
Testing
We use pytest for testing:
python -m pytest
Installing tidynamics does not install the tests. It is necessary to download tidynamics’ source and to install pytest to run the tests.
Contact, support, and contribution information
To contact the author about tidynamics, you can either write an email to Pierre de Buyl or use the issue tracker of the GitHub project. Existing contributors are listed in the file CONTRIBUTORS.
Bug reports are welcome. If you consider proposing a feature, please keep in mind the goals and plans exposed above.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tidynamics-1.1.2.tar.gz
.
File metadata
- Download URL: tidynamics-1.1.2.tar.gz
- Upload date:
- Size: 59.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 103874edd79dc64a0c7b765f51200926822e74df63703acb6c630a8167dbcfa2 |
|
MD5 | 56e1c244fff9dbf1fac32914ee8b4c7e |
|
BLAKE2b-256 | 7ff4f513cf9bdf339a15fb8e353ee2001f4e55abbb84f021437e3f8577acd203 |
File details
Details for the file tidynamics-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: tidynamics-1.1.2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3edd862271ef136e35129b303153e790914b66644b2641c92a72a7878a16a858 |
|
MD5 | 3bafc51a63b0f5bf68f385e4e34a7840 |
|
BLAKE2b-256 | df75ec8466118646fa6523d7703c2deba7c6f7bba3f2bae383234662e76fd73e |