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

freud is available on conda-forge for the linux-64, linux-aarch64, linux-ppc64le, osx-64, osx-arm64 and win-64 architectures. Install with:

mamba install freud

freud is also available on PyPI:

python3 -m pip install freud-analysis

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 discussion board. 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-3.5.0.tar.gz (5.8 MB view details)

Uploaded Source

Built Distributions

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

freud_analysis-3.5.0-cp312-abi3-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.12+Windows x86-64

freud_analysis-3.5.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

freud_analysis-3.5.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

freud_analysis-3.5.0-cp312-abi3-macosx_11_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12+macOS 11.0+ x86-64

freud_analysis-3.5.0-cp312-abi3-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

File details

Details for the file freud_analysis-3.5.0.tar.gz.

File metadata

  • Download URL: freud_analysis-3.5.0.tar.gz
  • Upload date:
  • Size: 5.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for freud_analysis-3.5.0.tar.gz
Algorithm Hash digest
SHA256 7ef57723972bc1fc7ee6b743343428171f5dae9437392c277b2b655a83990be6
MD5 08c0b88360c820fe3e0dc6fc36f516de
BLAKE2b-256 b27293d124f61c75eb82b7dba75a2c09c6a16873821875c2866f5d3b42def620

See more details on using hashes here.

Provenance

The following attestation bundles were made for freud_analysis-3.5.0.tar.gz:

Publisher: release.yaml on glotzerlab/freud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file freud_analysis-3.5.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for freud_analysis-3.5.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0df1dcf6c6804ac5bf915f4e46c28d3ddf6d3b9002074bb1fb643253c4743746
MD5 21be60de0e1740a1b828f07bf76a3d49
BLAKE2b-256 a683b6c364a6785a1c870e0bb840b57a786271b775c81b1982a78ad113d8346b

See more details on using hashes here.

Provenance

The following attestation bundles were made for freud_analysis-3.5.0-cp312-abi3-win_amd64.whl:

Publisher: release.yaml on glotzerlab/freud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file freud_analysis-3.5.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-3.5.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e726c11a7f5f386383ce6c02f1944eb72f43fd6dcc7903e6910dc6ddc411ac0e
MD5 7f9a224bd49d16799e4cedced283955d
BLAKE2b-256 d0cd4b9d9c47cf1f07172f6bb6a343c9616d516dc2d61ecc1f6f024ffa4c571a

See more details on using hashes here.

Provenance

The following attestation bundles were made for freud_analysis-3.5.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yaml on glotzerlab/freud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file freud_analysis-3.5.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for freud_analysis-3.5.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c0d13152c0c74c744f855719940c66a2ccdfa0972bbfcbd57cf6949bd156b65d
MD5 37bcce6e6d802333a6c7c767cc140820
BLAKE2b-256 a38f2638387686ee1433143fafc91885cfeccb6831c6d6e1bb5ebc13509f0270

See more details on using hashes here.

Provenance

The following attestation bundles were made for freud_analysis-3.5.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yaml on glotzerlab/freud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file freud_analysis-3.5.0-cp312-abi3-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-3.5.0-cp312-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 9e746258e49017af9f2b54e2194141d9bf7fb630957e04deff38fd2444806cee
MD5 c84d2c3aaff61e9ab872f397c7ff77a2
BLAKE2b-256 596d6d417836710e963ca33915ca56d1548f07971ede812605b0c8144ae08702

See more details on using hashes here.

Provenance

The following attestation bundles were made for freud_analysis-3.5.0-cp312-abi3-macosx_11_0_x86_64.whl:

Publisher: release.yaml on glotzerlab/freud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file freud_analysis-3.5.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for freud_analysis-3.5.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2050b00c2e56755707422e463cdbdab808dc5e26e90739a1e3320a2b6c62ef45
MD5 efe3e3bedd0197474dcbd54ca6d98002
BLAKE2b-256 5deaf57d17cdef8aa4404b3cd547c92ea2d4c5002383b4352328e15363dd8354

See more details on using hashes here.

Provenance

The following attestation bundles were made for freud_analysis-3.5.0-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: release.yaml on glotzerlab/freud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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