Skip to main content

Generate, manage and analyze anomalous diffusion trajectories.

Project description

The anomalous diffusion library

Generate, manage and analyze anomalous diffusion trajectories

PyPI version PyPI version Python version

Get started \| Documentation \| Tutorials \| Cite us

This library has been created in the framework of the Anomalous Diffusion (AnDi) Challenge and allows to create trajectories and datasets from various anomalous diffusion models. You can install the package using:

pip install andi-datasets

You can then import the package in a Python3 environment using:

import andi_datasets

Library organization

The andi_datasets class allows to generate, transform, analyse, save and load diffusion trajectories from a plethora of diffusion models and experimental generated with various diffusion models. The library is structured in two main blocks, containing either theoretical or phenomenological models. Here is a scheme of the library’s content:

Theoretical models

The library allows to generate trajectories from various anomalous diffusion models: continuous-time random walk (CTRW), fractional Brownian motion (FBM), Lévy walks (LW), annealed transit time model (ATTM) and scaled Brownian motion (SBM). You can generate trajectories with the desired anomalous exponent in either one, two or three dimensions.

Examples of their use and properties can be found in this tutorial.

Phenomenological models

We have also included models specifically developed to simulate realistic physical systems, in which random events alter the diffusion behaviour of the particle. The sources of these changes can be very broad, from the presence of heterogeneities either in space or time, the possibility of creating dimers and condensates or the presence of immobile traps in the environment.

Examples of their use and properties can be found in this tutorial.

The AnDi Challenges

1st AnDi Challenge (2020)

The first AnDi challenge was held between March and November 2020 and focused on the characterization of trajectories arising from different theoretical diffusion models under various experimental conditions. The results of the challenge are published in this article: Muñoz-Gil et al., Nat Commun 12, 6253 (2021).

If you want to reproduce the datasets used during the challenge, please check this tutorial. You can then test your predictions and compare them with the those of challenge participants in this online interactive tool.

2nd AnDi Challenge (2023 / 2024)

The second AnDi challenge is LIVE. Follow the previous link to keep updated on all news. If you want to learn more about the data we will use, you can check this tutorial.

Version control

Details on each release are presented here.

Contributing

The AnDi challenge is a community effort, hence any contribution to this library is more than welcome. If you think we should include a new model to the library, you can contact us in this mail: andi.challenge@gmail.com. You can also perform pull-requests and open issues with any feedback or comments you may have.

Cite us

If you found this package useful and used it in your projects, you can use the following to directly cite the package:

Muñoz-Gil, G., Requena B., Volpe G., Garcia-March M.A. and Manzo C.
AnDiChallenge/ANDI_datasets: Challenge 2020 release (v.1.0). Zenodo (2021). 
https://doi.org/10.5281/zenodo.4775311

Or you can cite the paper this package was developed for:

- AnDi Challenge 1

G. Muñoz-Gil, G. Volpe ... C. Manzo 
Objective comparison of methods to decode anomalous diffusion. 
Nat Commun 12, 6253 (2021). 
https://doi.org/10.1038/s41467-021-26320-w

- AnDi Challenge 2

G. Muñoz-Gil, H. Bachimanchi ...  C. Manzo
In-principle accepted at Nature Communications (Registered Report Phase 1)
arXiv:2311.18100
https://doi.org/10.48550/arXiv.2311.18100

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

andi_datasets-2.1.4.tar.gz (70.1 kB view details)

Uploaded Source

Built Distribution

andi_datasets-2.1.4-py3-none-any.whl (72.4 kB view details)

Uploaded Python 3

File details

Details for the file andi_datasets-2.1.4.tar.gz.

File metadata

  • Download URL: andi_datasets-2.1.4.tar.gz
  • Upload date:
  • Size: 70.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for andi_datasets-2.1.4.tar.gz
Algorithm Hash digest
SHA256 bf7e1b9aa75f8002ba9f84b660b48066185749e1561e5963ca005e4ae7c37814
MD5 305e22f0022d7151cf50e2e99da099b6
BLAKE2b-256 3e71e288cbf4e65789d5fa0f3f82ec6aa799b3eab819de882253f0604c194461

See more details on using hashes here.

File details

Details for the file andi_datasets-2.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for andi_datasets-2.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b48b579c43a2a8b611762c6734ed0aa6ba4e97b9f4d910c5652e1cf4d56853b5
MD5 0c9ece7b5bfef2c5ee2cd85121521119
BLAKE2b-256 770272eb4232f935b08befbe4e6603d6ea85160a7bd59af2923024ca09f3162f

See more details on using hashes here.

Supported by

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