Skip to main content

Powerful, efficient trajectory analysis in scientific Python.

Project description

Citing freud PyPI conda-forge ReadTheDocs Binder GitHub-Stars

Overview

The freud Python library provides a simple, flexible, powerful set of tools for analyzing trajectories obtained from molecular dynamics or Monte Carlo simulations. High performance, parallelized C++ is used to compute standard tools such as radial distribution functions, correlation functions, order parameters, and clusters, as well as original analysis methods including potentials of mean force and torque (PMFTs) and local environment matching. The freud library supports many input formats and outputs NumPy arrays, enabling integration with the scientific Python ecosystem for many typical materials science workflows.

Resources

Citation

When using freud to process data for publication, please use this citation.

Installation

The easiest ways to install freud are using pip:

pip install freud-analysis

or conda:

conda install -c conda-forge freud

freud is also available via containers for Docker or Singularity. If you need more detailed information or wish to install freud from source, please refer to the Installation Guide to compile freud from source.

Examples

The freud library is called using Python scripts. Many core features are demonstrated in the freud documentation. The examples come in the form of Jupyter notebooks, which can also be downloaded from the freud examples repository or launched interactively on Binder. Below is a sample script that computes the radial distribution function for a simulation run with HOOMD-blue and saved into a GSD file.

import freud
import gsd.hoomd

# Create a freud compute object (RDF is the canonical example)
rdf = freud.density.RDF(bins=50, r_max=5)

# Load a GSD trajectory (see docs for other formats)
traj = gsd.hoomd.open('trajectory.gsd', 'rb')
for frame in traj:
    rdf.compute(system=frame, reset=False)

# Get bin centers, RDF data from attributes
r = rdf.bin_centers
y = rdf.rdf

Support and Contribution

Please visit our repository on GitHub for the library source code. Any issues or bugs may be reported at our issue tracker, while questions and discussion can be directed to our user forum. All contributions to freud are welcomed via pull requests!

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

freud-analysis-2.13.0.tar.gz (3.4 MB view details)

Uploaded Source

Built Distributions

freud_analysis-2.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.0-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

freud_analysis-2.13.0-cp311-cp311-macosx_10_14_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11 macOS 10.14+ x86-64

freud_analysis-2.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.0-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

freud_analysis-2.13.0-cp310-cp310-macosx_10_14_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10 macOS 10.14+ x86-64

freud_analysis-2.13.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.0-cp39-cp39-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

freud_analysis-2.13.0-cp39-cp39-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

freud_analysis-2.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.0-cp38-cp38-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

freud_analysis-2.13.0-cp38-cp38-macosx_10_14_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

freud_analysis-2.13.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.0-cp37-cp37m-macosx_10_14_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

File details

Details for the file freud-analysis-2.13.0.tar.gz.

File metadata

  • Download URL: freud-analysis-2.13.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for freud-analysis-2.13.0.tar.gz
Algorithm Hash digest
SHA256 c6f8724f8fc614127a431ae38e07072d9202485be7c3fd38d4661167b70e64eb
MD5 25ab6b398445489c8bd20a073995d5d3
BLAKE2b-256 356498f2d06c8c0440449826f033e69f016fa08943231affb1d6cbc4e9e2fec8

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90b25f5561533854dbdb51f8e4f30565bb4300555aac387d2232e162dc49812d
MD5 1ce18d85eecb1ffc0916cc2ed15bd693
BLAKE2b-256 92baebb082dc13e5d009d74fc5ffd5098f3151e1e603441e777ad20ae32a3660

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 529a6bf6f14847a20504bd08b58a6a8dfeccd070fb4a7805a12224338a0330a4
MD5 2baab43be4731edea5d91b53a889bd67
BLAKE2b-256 92a4e2edeb6ea89c8a3939d0da655bb0b2c7742012e30b647c34225c02641618

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 6ecd0498fcd3c477124f760e84758b08609fef437c80db4b475cdc2c31b08efb
MD5 e06a97db2ad713dead6bc8a902117735
BLAKE2b-256 3d4c1afc74a1de70b4e1846324417fa3853e6c7d0676eb3ed8b1d29e14d5e49b

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bdab7e563d4609ae07f410da7ab54c9214abf40927b012ca4243f6af1edb8b1f
MD5 2e30c954333bb4753fd332c46e1d7df6
BLAKE2b-256 a7a853aad5eac7e327d08096f26e2ac3da43f08343bddcb6f75cd4ff12a24339

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 48c886e7e6a41a69d1fd9dbda5d4e1488496ad99f213be427aa1f89b43addbc2
MD5 c13c03249e14912baa53c2dbf8144155
BLAKE2b-256 462855b8e2a9ce97e351daebc8e6c3dbb52ba3a09977f0d95777b2fba58dd8ae

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 af8814dab0d118733c6cef08392da52941a5cf4fd8ce4116fb95b7f587617d11
MD5 839ad5d7bc94357251212ee74425ee78
BLAKE2b-256 629dfe7a70caf84c837a10a90b5c1f33204fd66f0eca7f7b74cf4c6e5a5f326e

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4ad398917287361080573b635b3d7310ab92e5832d79ba9f7727c3f01a62e1c0
MD5 1ff5c6a9bb421e5e612e944e92bb4b71
BLAKE2b-256 931770c12d26057f6a245ef232de486c9e292d873758398a56f8d4417325bafa

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bb644683f89697ade9fd7f4c5747cb05dc1f0b1698090cdd0fb6f00f6980a593
MD5 84dd102fe5845641788b0983710b9af6
BLAKE2b-256 238f0cf515cefbce8da8ebd69970c7f5fe5f6ef570b067c9347931e80f4bea4d

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 20f56de1b4256a2b6f033073eb4e42ae5abb322acc5414cfe8bd1b553bfb000b
MD5 25053c39465cf6e784e3c6fa3a92ea67
BLAKE2b-256 1a190b88b74a9f1a44ed6496c72bdabba4eeaf47b63452c89285132b1647187e

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84a635629a0042bf32d34fc0f382baaf45d7907d0368eef4367378259301e87c
MD5 dcebb402e8453ce7d3a6b730522a9303
BLAKE2b-256 55bf9ac8029cdee6d6177d21bf029031646c7392d2929099a985b42ecda48215

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 594b465b0d661e5d615b8de92eda3863a97b3261acbea85898eb804482b8d3c8
MD5 a726ef078d708fa2a2f0c45c4a5b3442
BLAKE2b-256 bb8569ddbbb5124b2ea8722fa8464535298e173858a14737c5599bd830efcec3

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 afbbb41852b4970b1d199db67156542dce24e823192a9bd066cd24a761a4f5cd
MD5 95a4086a701420a5db4d083b0555189e
BLAKE2b-256 db0abec5f7d1b17b36f0b53de3078287f1465b9c9a9fba9b162a668ec40ce3b5

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c805ace87ea08bd1820bc08aab8c6ad6e1b6a69700da43e412022a544dc411a
MD5 e5635a57f23851836bec66df3312bc11
BLAKE2b-256 3ef95d6689af95ad42e4c3282a144582273784fb239032e20e5eaa52c070dc0e

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.0-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d851112c16c50774e2fbaf3877098efd5fdbfe9c4ce2056368c3371b7662650f
MD5 e79104d395c0cdcf7e83bef143fbd4a2
BLAKE2b-256 5a4e316fecf543366ed925483860349d9bfead669003ebb3608bb000f430c757

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