Simplifies analysis of simulation and experimental trajectories.
Project description
- maintainers:
- documentation:
Overview
dynsight is structured to support a wide range of tasks commonly encountered in the analysis of many-body dynamical systems. These tasks include handling trajectory data, computing single-particle descriptors, performing time-series clustering and conducting various auxiliary analyses. To achieve this, dynsight is organized into specialized modules, each addressing a specific aspect of this workflow.
Previously in cpctools.
Installation
To get dynsight, you can install it with pip:
$ pip install dynsight
Optional Dependancies
Old versions dynsight used cpctools for SOAP calculations, if you are using Python 3.10 and below, you can use cpctools to access SOAPify and hd5er using
$ pip install cpctools
If you want to use the dynsight.vision and dynsight.track modules you will need to install a series of packages. This can be done with with pip:
$ pip install ultralytics PyYAML
How to get started
We suggest you give a read to the dynsight.trajectory module documentation, which offers a compact and easy way of using most of the dynsight tools. Also, the documentation offers some copiable Recipes and Examples for the most common analyses.
How to contribute
If you make changes or improvements to the codebase, please open a pull request on our GitHub repository. This allows us to review, discuss, and integrate contributions in a transparent and collaborative manner. Make sure to include a clear description of the changes and link any related issues if applicable.
Developer Setup
Install just.
In a new virtual environment run:
$ just dev
Run code checks:
$ just check
Examples
There are examples throughout the documentation and available in the examples/ directory of this repository.
There are also examples available in the cpctools repository here <https://github.com/GMPavanLab/cpctools/tree/main/Examples>
How To Cite
If you use dynsight please cite
and
TBD
Most modules also use MDAnalysis, https://www.mdanalysis.org/pages/citations/
If you use SOAP, please cite https://doi.org/10.1103/PhysRevB.87.184115 and DScribe https://singroup.github.io/dscribe/latest/citing.html
If you use timeSOAP, please cite https://doi.org/10.1063/5.0147025
If you use LENS, please cite: https://doi.org/10.1073/pnas.2300565120
If you use onion-clustering, please cite: https://doi.org/10.1073/pnas.2403771121
If you use tICA, please cite deeptime https://deeptime-ml.github.io/latest/index.html
If you use dynsight.vision, please cite Ultralytics YOLO https://docs.ultralytics.com/it/models/yolo11/#usage-examples
If you use dynsight.track, please cite Trackpy https://soft-matter.github.io/trackpy/dev/introduction.html
Acknowledgements
We developed this code when working in the Pavan group, https://www.gmpavanlab.polito.it/, whose members often provide very valuable feedback, which we gratefully acknowledge.
Much of the original code in cpctools was written by Daniele Rapetti (Iximiel).
The work was funded by the European Union and ERC under projects DYNAPOL and the NextGenerationEU project, CAGEX.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dynsight-2025.8.27.tar.gz.
File metadata
- Download URL: dynsight-2025.8.27.tar.gz
- Upload date:
- Size: 64.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c051d4d9c9c2ac13e8e4aea8d1f5b1bbff24b27d540a2b08b810f069d6bd0061
|
|
| MD5 |
7f7391b2acfc8743ad1d16cc2c50cf00
|
|
| BLAKE2b-256 |
8419afa11ab7835ca029540d860c7192c0ee2a0526b833a857a7845291e2a69f
|
File details
Details for the file dynsight-2025.8.27-py3-none-any.whl.
File metadata
- Download URL: dynsight-2025.8.27-py3-none-any.whl
- Upload date:
- Size: 60.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54d08f54bb6bca1dfdc789449d3473bd2d6d03585f223bc1644ddf8ce1010b09
|
|
| MD5 |
870b5a2c5568653e939f08596c883218
|
|
| BLAKE2b-256 |
35184394fdea48484e8b6b810a57b6a0dea79398fcab9f44caed2d0354c19d6c
|