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.10.0.tar.gz (3.3 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-2.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

freud_analysis-2.10.0-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

freud_analysis-2.10.0-cp310-cp310-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

freud_analysis-2.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.9macOS 11.0+ ARM64

freud_analysis-2.10.0-cp39-cp39-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

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

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.8macOS 11.0+ ARM64

freud_analysis-2.10.0-cp38-cp38-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

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

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

freud_analysis-2.10.0-cp37-cp37m-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

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

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

freud_analysis-2.10.0-cp36-cp36m-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for freud-analysis-2.10.0.tar.gz
Algorithm Hash digest
SHA256 a61818ed5e23d01aa7b9cbfb0ebf4603fc01b4921c2493f0fa24e78d427947b3
MD5 90c04b70c1b166fa88b68b36eeecbb8d
BLAKE2b-256 75f63793c742b6ab2434f2d2eeda9fdb4fa8cf8fa296754688797fce6447a1ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b037a6c92d1c1d16e91ec16fab072d4b8b3a57683264879a7d079b90256f953f
MD5 6d863aa6de661dc7925f7a2bb4e89353
BLAKE2b-256 848e93afd64df3999b7e93daa61b61eb722ba7d01941d0d2e5a893642f3ae707

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64b8b4437076fa4dc25c71a4494c6a5e4238588635d4b7195b51fe0215446c7a
MD5 861d3940b6e11eeae4bba5b0143f1159
BLAKE2b-256 c30c3dcf0ae6ed5ffa3056aeb066f03ef17eedbee2c3f6346fbad1b71fae39da

See more details on using hashes here.

File details

Details for the file freud_analysis-2.10.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9d7e17bf2f064bbf7adbe371f82e922cc8806650fe377f6ba851c18f791e00db
MD5 0677a8ad3d47fa0daa885a3d377390ac
BLAKE2b-256 bbf47dc7d145c3c5f26cafa21972593b91a437f9cd500c11ae1cb564fafeb3db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc361dce73b9b406249a6de119a2d8a8a7cf7e71fdcb0bc9f4b32ae9d91babb5
MD5 bb3db7908fccfc2fc6f5c54b4c3686db
BLAKE2b-256 50b22db12a8c375874e3b324d29a42369eaffba2ab5c9a1597c89c42623c373d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc9fe0c90440f7905dcc4419ef4cc7394dedc086fe4cb23e9513424557fb55fd
MD5 0b3121c4fc72be29844dcaff8c381fb7
BLAKE2b-256 c2c46f5c2ffc3d5d3a976b02c54ae8e920b48ade2e299c0971a171e5f9c2cf4a

See more details on using hashes here.

File details

Details for the file freud_analysis-2.10.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bd43450fc9a0d427c16043c9875250e6a8efbc03dde6efe834a601dc4941168b
MD5 0ff355c831c95c8ae19e341219e87516
BLAKE2b-256 d9ca2bfc20a8d2f9717d27017a9850a24ad7661e4c86f1c57273101b15e0cd5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e44143516ebd474b4c703119db1ce25b2f8f07959fce4e78ae5d599820624ce
MD5 29dc6131951813a33c135cec5876d846
BLAKE2b-256 11cab95d8ec038712bc3127eedd63580483150f9bc019acd40211f488dee10c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36ae154200f82dd7f375f44f533e0fe665fd496ad125c8da6dc4fde434d6be0f
MD5 163cf905a545a0a9fbd2c8045be92d2a
BLAKE2b-256 a921fe904225e17ea82cf9303f190cc7fc54b08b550f37cdbfc68ed21d53a2ce

See more details on using hashes here.

File details

Details for the file freud_analysis-2.10.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 947774528fa9fa1c2e2df87f68a487d54c71dca56e44e82c1d56d07c645877de
MD5 f5bf243bdc6dfd5063f7557a66420151
BLAKE2b-256 cb96c723e7fdb3adabeb05a67dd8ecc22cde62c83fc7c82fd2dad91ab9aa79a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 357cd5225292efc5108448ab3697d13a600c60ea6d775fb0e8f7bcaf21d9a4ae
MD5 1892b6bbfa48581d0ae080311ce5bb8e
BLAKE2b-256 6e1f16514ed28f3267d82e8afb548f89ef62620a929c6b386c55ac5db191e3e8

See more details on using hashes here.

File details

Details for the file freud_analysis-2.10.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8677c3a9992fa461e7f372a4656cd447b446610c6510f757ccc2614ad06daaed
MD5 f4c1e361e9fcbbbc3a4bcf1bbdb29183
BLAKE2b-256 5849278a78b049540f73b96bd4117670125c401a2fb6149c0449fdcdb08944ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 492c5943e88f131db730b95e2b3ca02522f70ae0c28973bf5d9cb4851d372a03
MD5 0caa1353e353282bcb91f0e3430ae0bc
BLAKE2b-256 526b879bf1b008bcc0c8fe0c121af23b4631f84398a9d25a6c9a454a30d26d26

See more details on using hashes here.

File details

Details for the file freud_analysis-2.10.0-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.10.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b95cacff9faf4a2bc9bd48e043b70007da0dd6483aad128ed617d49ea68214fd
MD5 53b9f0c914ba33bab176b8dc9aeee980
BLAKE2b-256 49d3e4394c108bcb218fa4cd5472c30d5e97a0b8ec6e1d29b9146860d74c77db

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