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.12.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distributions

freud_analysis-2.12.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.12.0-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

freud_analysis-2.12.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.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

freud_analysis-2.12.0-cp39-cp39-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

freud_analysis-2.12.0-cp39-cp39-macosx_10_14_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

freud_analysis-2.12.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.8 macOS 11.0+ ARM64

freud_analysis-2.12.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.12.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.12.0-cp37-cp37m-macosx_10_14_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

freud_analysis-2.12.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

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

freud_analysis-2.12.0-cp36-cp36m-macosx_10_14_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.6m macOS 10.14+ x86-64

File details

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

File metadata

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

File hashes

Hashes for freud-analysis-2.12.0.tar.gz
Algorithm Hash digest
SHA256 32c9a1c630ea05accf2dfd1a996dfac44c177148a894fa370eb060e9075145b3
MD5 2e235da6eb62cf0c4e57e074fad29c46
BLAKE2b-256 6dd9451fc28b5784fe5390eb81ad2e584e181f563d0a43aa2c4e22f079b58841

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1cfd8cfd5c7858bf9dc13f461637a1ff844f1319cf81abf1d8fdb657d2031467
MD5 0531058b2e36d5492f0e96c55e636ad4
BLAKE2b-256 f9b9b7fa2bcb34ab0346acb76809665bc68fcd11b16b71d96fb61d30e79d5531

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c529408081616cb78e3b401928fc68ac4c1fb80a5ab99146fc27f18f969ea19d
MD5 154944fdeb9e6299951f6e0282567c06
BLAKE2b-256 99a4df9029d2fefdf744ce63bf8b66d58daa22f1c2fc4d9acc32196e46fb6ddf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 dae3808ebecac0004c37d120396bc788e9958771b6559c56d4a83c483c2eb3a0
MD5 838d0d86f85fcb5f7e04e2568f4537b8
BLAKE2b-256 0370d49e0b4bd16329f398b5bc9638a23442079e1a757756da179af15cbbbade

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 43a0f096a7b599a69de88bf044236d76c441ccca666e538779373b5b87c0f89c
MD5 a3729972a42bde03c876aaa1822cd94f
BLAKE2b-256 b4321b107de6c41a464b1517366d36f50d47cbfcc83506dda3132fa2511f7b27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 18952ec206b08941e3adfbf51156142fe076c260c1de6620f72d5a49c9b46bc6
MD5 e8e1c41975b2f2cd2fe61bd875c8ab59
BLAKE2b-256 48f5cb6215e1f63aaa597d1cde33354521f651894381a6d465e002626974f7f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d593f422f001555b473899a294834191c6faad88c2376aeaab6b54eaa387881b
MD5 c6bee0baacce8773c726ff221b342056
BLAKE2b-256 e2b35eca3f312e4c5c07ed08ea5695f6e26681fe836898e715b73fc79bb84535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ccc375a6a7008fb7d7bc87a3746d65a87046fbd7225b2d16da2e5f7160ea751a
MD5 5ea32c9c93e587103ea2abc5d96d7887
BLAKE2b-256 c67acb7b0aa07c999011aa58fe32f054978a8c1acecb5d5417fd6028e9dff86e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f61004c03e1cc7c3fc5a2a99f27da550d69edb57f22e024bf33dbdedf6298415
MD5 f13e0aa0a6570e2cb7bb6ed031bdd3ea
BLAKE2b-256 f4a7a31f0a86d3d2fd0e160660beb99f85d18554a7c5a0e998aff6d0c6056813

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b02c1a83e855bbc3c9e18ca79f549dfb4c24b4aab6c9169603eab68890272d7b
MD5 bf968fe7647e0ed2aa839d6c4aac75b7
BLAKE2b-256 dae029150799f387fa233be74530cfb5c5f3df7d945d36c569f8e4b4096c0b00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 436d6f548773598068758498891a64ec26fdda7f19c6114edabf0746db148ec2
MD5 aafddf7645ac282dc0edd11155c06458
BLAKE2b-256 aa798edbdf7a47c685990d6e4c6a22bab6d3f5a75118d5e8de7bf9d621315416

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b9905f2f5120aa62c61633bb70f297cb656f04e5b2f49b94950a8a0915e72eba
MD5 442a0377bdd7bf1f5cb1b074962f91ca
BLAKE2b-256 53bafbab1245f144fa050cef40589e4d4fd43f66d39760c11b00c38500107915

See more details on using hashes here.

File details

Details for the file freud_analysis-2.12.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1feacbc7bb0d3983a515c2d9c61c021b614a1e687e117f6aca7423f525d5bda3
MD5 ffb38836eede91c1d5fac38e5b3369c2
BLAKE2b-256 d05c937af1f55e001ff8c4f2ce7de12c2a79c4b6e02762ba01ce6ec76f735aba

See more details on using hashes here.

File details

Details for the file freud_analysis-2.12.0-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.12.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 47c87d9d10d1304b72e85765e3ec9c2b43b6bc1484cf91117177c7111fefc535
MD5 39ef345b100c8e43dc34d303fc7c48b5
BLAKE2b-256 2db86bb34749b6806b8d58b1443b5284087dc7f1e4c4ff5b508c814f71d0723f

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