Skip to main content

A Python/C++ library for the analysis of Differential Dynamic Microscopy experiments

Project description

FastDDM

Python GitHub Actions PyPI Version Read the Docs License: GPL v3

FastDDM is a Python package for the analysis of microscopy image sequences using Differential Dynamic Microscopy on CPU and GPU. The features implemented are targeted at the experimental soft matter research community dealing with inert and active/biological samples.

Resources

Example scripts

These examples demonstrate some of the Python API.

Calculation of the image structure function and its azimuthal average:

import fastddm as fddm

file_names = [...]  # define here your list of image file names 
images = fddm.read_images(file_names)

pixel_size = 0.3    # um
frame_rate = 50     # frames per second
    
# compute image structure function and set experimental parameters
dqt = fddm.ddm(img_seq, range(1, len(img_seq)))
dqt.pixel_size = pixel_size
dqt.set_frame_rate(frame_rate)

# compute the azimuthal average
aa = fddm.azimuthal_average(dqt, bins=dqt.shape[-1] - 1, range=(0.0, dqt.ky[-1]))

Contributing to FastDDM

Contributions are welcome via pull requests after agreeing to the Contributors' Agreement. Please, refer to the Developers' section in the documentation.

Please, report bugs and suggest features via the issue tracker.

Citing FastDDM

Please, cite this publication in every work that uses FastDDM:

E. Lattuada, F. Krautgasser, F. Giavazzi, and R. Cerbino.
The Hitchhiker’s Guide to Differential Dynamic Microscopy.
(In preparation.)

License

FastDDM is available under the GNU GPL-3.0 license.

Acknowledgements

  • The fftw-3.3.10 and pybind11 2.12.0 libraries are included in the source tree.
  • This project was funded by the Austrian Science Fund (FWF), Grant Number M 3250-N.

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

fastddm-0.3.14.tar.gz (42.6 MB view details)

Uploaded Source

Built Distributions

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

fastddm-0.3.14-cp312-cp312-win_amd64.whl (663.7 kB view details)

Uploaded CPython 3.12Windows x86-64

fastddm-0.3.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

fastddm-0.3.14-cp312-cp312-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

fastddm-0.3.14-cp312-cp312-macosx_10_9_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

fastddm-0.3.14-cp311-cp311-win_amd64.whl (663.7 kB view details)

Uploaded CPython 3.11Windows x86-64

fastddm-0.3.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

fastddm-0.3.14-cp311-cp311-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

fastddm-0.3.14-cp311-cp311-macosx_10_9_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

fastddm-0.3.14-cp310-cp310-win_amd64.whl (662.0 kB view details)

Uploaded CPython 3.10Windows x86-64

fastddm-0.3.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

fastddm-0.3.14-cp310-cp310-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

fastddm-0.3.14-cp310-cp310-macosx_10_9_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

fastddm-0.3.14-cp39-cp39-win_amd64.whl (661.7 kB view details)

Uploaded CPython 3.9Windows x86-64

fastddm-0.3.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

fastddm-0.3.14-cp39-cp39-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

fastddm-0.3.14-cp39-cp39-macosx_10_9_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file fastddm-0.3.14.tar.gz.

File metadata

  • Download URL: fastddm-0.3.14.tar.gz
  • Upload date:
  • Size: 42.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fastddm-0.3.14.tar.gz
Algorithm Hash digest
SHA256 57e986371d1babbf79af6fab7317df7e47da1a5e4f729369d15b68dd4c74568b
MD5 66ca483330c3c0ff9351694d1976bb28
BLAKE2b-256 5e685e0d88e54b17b825febd63fdfa4c99daeee574d7628c321e63897848ed7d

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: fastddm-0.3.14-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 663.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fastddm-0.3.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0b808ded303c93aef1c5a18f372c843e3e26099245afeaae94e0b28d3f4a0f4b
MD5 3ab602156820d67a8b1d1e10a455c344
BLAKE2b-256 b7024130d3423a0aea65da5c5fa45005262aa4d2205976ec07501526dc56becb

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 67240c08dfa67890ebae0baf8c46e5afc374356f07e29a9a926c821f08b2e735
MD5 eec3692c59cabc75c5ffddfee8895666
BLAKE2b-256 1835b4e532abdcd322e4aca877f431dc3af2c0ed4ea6fd8a34f22b4f32dc1d94

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82882ad8a447976cc563fbe11dd7a86fc300cd13059fa5f0df91e1402bad168f
MD5 f1f7cf7aba9d2973e7e657c5a5db6a89
BLAKE2b-256 4655a3caed63254e3505d600b2528ab16e6f523136690a365e23ab1a12437c5e

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b15d4995f5211d1d30cec67983019561adca7a983b0d31a28dafb14a67569bf5
MD5 0cbb8f4e5c4d4964f15fdbd3b8478ec7
BLAKE2b-256 4bad93a110cd817fab8da5d7f52be03feb961a3095312e774af8a80280b351cc

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: fastddm-0.3.14-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 663.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fastddm-0.3.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 97b952ca67e11b3322165b771d5e2b19e6eff6baef94426ed51ffd3711a6e3ad
MD5 24b6844234a2f7f774fb98b2abd3a383
BLAKE2b-256 f4dc9e8b5a168d2fc9bb4c2c3f99569d9ba51d9d2a331bf968b340638be83b1e

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d58d4def1b33d2ca8c39f3b1eca668c1d33f6b5138914adba3880810df25215a
MD5 50712fd730feedd1f7f999c964e61b3a
BLAKE2b-256 bd81c64c5b37ef06dfc9053906df66816f1040e203556e6a0f327045479ff0f5

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e9dedf3faf5465041c0dfcde4cc86d8a8aa426fcc2c3432fe2039d2eb1b1248
MD5 54faa41edd3fa2a29691317a36bff2ab
BLAKE2b-256 70e60278723c1eaa6d0380bec39a58936b8a70b90beb161ae384af54940a4090

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5b3cd6b9cff7f5395d14891d0eda77cc46f4ed273732290548112e7319777c93
MD5 243b3979d4b73af0f7217830e9f4306d
BLAKE2b-256 a489faf6ce8fb38ddc317e8c4c72177cc5297ef71805ea278b03bd13e782707a

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: fastddm-0.3.14-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 662.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fastddm-0.3.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 439019ba38664d0c2a18794fe7fb32b3b259f516377ba80d55d9db166aefb21c
MD5 0af70b4039f75ca7b4cd47603637a721
BLAKE2b-256 4ae9b9b3b7994403d4372ed9769c5703db4c597afc6032f7a065e22f9062edbf

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20868a3a68cdb201659d68bed027a5f68180f51515d324fd66b7298073a95166
MD5 75b6566e6191df6f88918c96134a80bc
BLAKE2b-256 25594631ea1c2b0a193e29c3d185bf68e8e869c8290647fc1355f23091efe6d3

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c8c1f31310369e1e930244b4ab011714f83f6c57375e5f6759b448bce8c56945
MD5 abdae9378bde3768b3d3ba2cf3ac1aaf
BLAKE2b-256 b960cb2b166faf9c38f3d48b6fa280ad3a1f2e979be78a58fabc0e5df970063d

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 430e8962bf85edfa22242b4b3e41f27bbad380aa0eabfc88a550261b00092f05
MD5 76e6818fbc27aef1e8159d20fdee95e4
BLAKE2b-256 23069c84b699cc88b7811b0cfcd32b6c9c5c3caeeaa3f14f6187961961328252

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: fastddm-0.3.14-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 661.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fastddm-0.3.14-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 78a5ba658c2b42985f14be2653df240f170f005cb8926acbb8503919692e9507
MD5 95a8a03a32b119485894002f440d34ce
BLAKE2b-256 f13742d91c6dc620dfc56fd7c05ad0486f20e9d3fec0f555e9c46aaaf20dfad9

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26f063d49466cd1fbe66234397c53f16224b7870a40cbc363d3df1bf35dcaf0e
MD5 f552b0250f571dd34ae1ac649b6c3fea
BLAKE2b-256 a254f2f83de56f602e96fff0b7eb3013128a32ac93557eba6ddd7545b74f228a

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 86f6ed2d9e93cd223c11c3d3a35498433ebc6d6c8e14654b487b9f39ed86451c
MD5 82ea7d5dd3a2bfec7173016c78862789
BLAKE2b-256 017e8de4942c52d6d6ad18f3f2399238f669890adaca3cbc8aa207c1f5f5d6a7

See more details on using hashes here.

File details

Details for the file fastddm-0.3.14-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fastddm-0.3.14-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 61e37a5f656c61a454137ff8a9cc44fd934fa53e22eea9a01b4d7ecc42b51b3a
MD5 c91391cfaa64e7b363a2d4980fbbbb91
BLAKE2b-256 2e2aa181699a37af0bc69ab645cce7dd54c53765ae37231ac3d91f29c2f9f432

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