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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

freud_analysis-2.11.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.11.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.11.0-cp39-cp39-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

freud_analysis-2.11.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.11.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.11.0-cp38-cp38-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

freud_analysis-2.11.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.11.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.11.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.11.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.11.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.11.0.tar.gz.

File metadata

  • Download URL: freud-analysis-2.11.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.13

File hashes

Hashes for freud-analysis-2.11.0.tar.gz
Algorithm Hash digest
SHA256 26eab65c40168616a0262cb0438f05e6efb6e2df151acfb765a7880e72f58b4f
MD5 3ef7a786645e0fe5336416e34890700f
BLAKE2b-256 adc5d66a4ca7f7ca17f9bd6ac44d24fee154be0313c5916d0e402cf6e9816531

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 83471a07d4600d7216e00b7dc51d8289e007efaa0dec92c689d464bf341cea46
MD5 fac5d10e4a1b12c21eb8433ea09826f4
BLAKE2b-256 145cbcef8a6e1652807e2e15f5553728711b117a64617ee8d264a4488bae8a4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 78c8bbece4ddb47b8572f7a53f3edae9254f38f6ac828cf0938ed274cff5399f
MD5 bd5b85c7aab4e69bbcc2d2d9a7bc55a4
BLAKE2b-256 1d72254f6800c04159516e4671d7a34c4afeddc1c240726805e75f1d64cd4465

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 5e569d3f1021b90419fef585c3b0ba9f9b3f752277a15a1bfdeaa68b0362ca4d
MD5 a7e721c175e16bd7025b86dd878f3aed
BLAKE2b-256 9ba81b50544d156ddc613cbea5208c738f4587910d382affdd5e97453e044b50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a7f9b91d89d69e9943e6f0b3c69f9aaf5ad72ff606c0ea1f5b123c59fef414c
MD5 8d7fa3c1ed9d5da0c544d11b48f5de85
BLAKE2b-256 9ef9ab0715c8918ee2b3d7d5a5eb519ae647f8284ef0d8c0d251cf737a0abbc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5be3e9a92cf229fa46c8a4652b19645d0dc67f505af4e9dfbf44d2791ee89964
MD5 e72ca0e9810e0050162e8749d820bdbc
BLAKE2b-256 af90e18db77b2b804367a9a8dc739d39bc7e23f4cd43eff4919a31cf0e24027c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 50a18cc552de334cd3fe7d51a91698eb26779baab3d6ac24961a8d60620cc468
MD5 bffb3c278412de6df7d810f3dc00b14e
BLAKE2b-256 89886ee92f136c1e785a3826e226cdcb50d918633a76e32e3222f6ab1ebecf4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fcad38c9064c951f037a9ba73336165cd5d17e8ea558c4e705193e3cc353aa55
MD5 f029886298f75358e6d197b0b3f51279
BLAKE2b-256 96bb959ca7a2a5d1d616a7b7c85639ab1cec213befd0f3886690996b8e7b619a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b5461549064eef59642c9e28b79d8eecd39c5eeea3387772fb6133233069ab10
MD5 b439d6eadba7c48a3f2b8f394c00e772
BLAKE2b-256 7aea5104e605df05b2e096289517371696645f163643c2c09ec0475a243b337f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ecdcddf30ce5d05f4dd9c59d2199e1aaa1081e1fc7ca5814496b26462ece47f5
MD5 0a7fd244dbbc227a95b0bc35e610e9cf
BLAKE2b-256 d12600c78644f1136e1845be68ea8fbf0309a9705f3b974db9727baaabde99e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1eb9d84ecfeb6d36f132aa96d412bf7b6af219242d9ded829c13898adc0488ac
MD5 7c0d7bf104aed1d3dba4c45de9ba410b
BLAKE2b-256 0c0db397b1be22a352b26a122234a185cd29d141600e5e60b4258a98fc45f525

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4d306c0c5ca46fa727c0794d8b9465fb01cc630b9527fe084c3be259ee348640
MD5 3f8d7068f4f8807d484b2d5240dfce77
BLAKE2b-256 5ebe829ff3d1fb133260ac76a84dc1b9e4dfd7ea482a91ec6258f11b83e3f160

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab7531166398e6b0e522c5629ce7ebe1548d317f81b213b4023b30b2a3b614cb
MD5 b0d5c5a0e6c46e72797a143881f72cb6
BLAKE2b-256 167fab7a23a263d5a47e2de1bfaf61a26274d05506862e6d1077a1d92a310b49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.11.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3d359c780ac31b87ab2116a29773480e4e5e8f8713c956753af49fc973928a38
MD5 bef497cf2c14e7b84fdd158eac453eff
BLAKE2b-256 407be3d016b34330e3c1bfeea4dad95bf3985cf35cbb1e8c051cef9394b43e6c

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