Skip to main content

Simplifies analysis of simulation and experimental trajectories.

Project description

maintainers:

andrewtarzia; matteobecchi; simonemartino

documentation:

https://dynsight.readthedocs.io

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

  1. Install just.

  2. In a new virtual environment run:

    $ just dev
  3. 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

https://github.com/GMPavanLab/dynsight

and

TBD

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.

docs/source/_static/EU_image.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dynsight-2025.8.27.tar.gz (64.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dynsight-2025.8.27-py3-none-any.whl (60.6 kB view details)

Uploaded Python 3

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

Hashes for dynsight-2025.8.27.tar.gz
Algorithm Hash digest
SHA256 c051d4d9c9c2ac13e8e4aea8d1f5b1bbff24b27d540a2b08b810f069d6bd0061
MD5 7f7391b2acfc8743ad1d16cc2c50cf00
BLAKE2b-256 8419afa11ab7835ca029540d860c7192c0ee2a0526b833a857a7845291e2a69f

See more details on using hashes here.

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

Hashes for dynsight-2025.8.27-py3-none-any.whl
Algorithm Hash digest
SHA256 54d08f54bb6bca1dfdc789449d3473bd2d6d03585f223bc1644ddf8ce1010b09
MD5 870b5a2c5568653e939f08596c883218
BLAKE2b-256 35184394fdea48484e8b6b810a57b6a0dea79398fcab9f44caed2d0354c19d6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page