Skip to main content

Powerful, efficient trajectory analysis in scientific Python.

Project description

Citing freud PyPI conda-forge ReadTheDocs Binder Codecov 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.

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.

Resources

Some other helpful links for working with freud:

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

Uploaded Source

Built Distributions

freud_analysis-2.0.1-cp37-cp37m-manylinux1_x86_64.whl (24.2 MB view details)

Uploaded CPython 3.7m

freud_analysis-2.0.1-cp37-cp37m-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7m macOS 10.12+ x86-64

freud_analysis-2.0.1-cp36-cp36m-manylinux1_x86_64.whl (24.2 MB view details)

Uploaded CPython 3.6m

freud_analysis-2.0.1-cp36-cp36m-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.6m macOS 10.12+ x86-64

freud_analysis-2.0.1-cp35-cp35m-manylinux1_x86_64.whl (24.2 MB view details)

Uploaded CPython 3.5m

freud_analysis-2.0.1-cp35-cp35m-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.5m macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: freud-analysis-2.0.1.tar.gz
  • Upload date:
  • Size: 4.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

File hashes

Hashes for freud-analysis-2.0.1.tar.gz
Algorithm Hash digest
SHA256 9fa803a6e7ae26dc8fb2e5717f1ee6aa09376c289eab3c0ce9d44352aeaed9b6
MD5 72da11b0c74efba0531ff39794ecea8f
BLAKE2b-256 da72c6cabd7abe3b242fe0c03400939c2a2737bb15652d1ba31b9ec818458052

See more details on using hashes here.

File details

Details for the file freud_analysis-2.0.1-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: freud_analysis-2.0.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 24.2 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

File hashes

Hashes for freud_analysis-2.0.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d6222080c9c057e9ea96679b08947a2158eab2a34e73a0ad13b3afbf6312dc13
MD5 1a0b55868a3ec811d8e1681e9a77f4ca
BLAKE2b-256 6d011088ce97b762a50873c184c016c404e9737790521971770a67ee9314905c

See more details on using hashes here.

File details

Details for the file freud_analysis-2.0.1-cp37-cp37m-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: freud_analysis-2.0.1-cp37-cp37m-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.7m, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.4

File hashes

Hashes for freud_analysis-2.0.1-cp37-cp37m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 df7cdcf7d3511586d219271b1c1e8e64e03ee6e25017d0d6c9a7fe7968a13adf
MD5 ea43598811ebdbb0701481b4bfcfa855
BLAKE2b-256 01715a303de84b19d6eafd0580e32e07c12a458bf1073a528c4a07836c9786ed

See more details on using hashes here.

File details

Details for the file freud_analysis-2.0.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: freud_analysis-2.0.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 24.2 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

File hashes

Hashes for freud_analysis-2.0.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 22d2cae2a039d42f5989077be8f267942e09a2ddb9b1d76e414a1f53f4929fce
MD5 94b363e20e3e7fe6a2ad6fd6a22fb617
BLAKE2b-256 8d22ae4a2cad68f4455fd6de81b70c2e27903887a88715705e9c5df536fd8999

See more details on using hashes here.

File details

Details for the file freud_analysis-2.0.1-cp36-cp36m-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: freud_analysis-2.0.1-cp36-cp36m-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6m, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.4

File hashes

Hashes for freud_analysis-2.0.1-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 357abd81668c807d47c93e94faa5d11d67e6d77e9baebcab61f3c8f1c6850379
MD5 92c739c239b9d2f499fefceac328dc78
BLAKE2b-256 0f027527d7c1420473759ef6850def640e36f2a9ba5fb90367e9f8d6159d0d07

See more details on using hashes here.

File details

Details for the file freud_analysis-2.0.1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: freud_analysis-2.0.1-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 24.2 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

File hashes

Hashes for freud_analysis-2.0.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a0f43dd0785962ac812a7804a64af80d35601cc3ae3047c7afed0d172bf45cf0
MD5 6857b6bdec2088b77c66cf491f7c9e13
BLAKE2b-256 adcf81aaedb79b5b9a46a5529e4b0809feb705f23b6f2cbe0e7393f8a5359226

See more details on using hashes here.

File details

Details for the file freud_analysis-2.0.1-cp35-cp35m-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: freud_analysis-2.0.1-cp35-cp35m-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.5m, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.4

File hashes

Hashes for freud_analysis-2.0.1-cp35-cp35m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fb455ef4aeda6d8d045ef9a7ed5134c52c46a82f40f047a62270fb0fc363f4b4
MD5 73f94477681e66a2e7a13017384d07bd
BLAKE2b-256 1109b5cfee17a1461ffbc0ea33484d4828a60d774d6b09be5aef6ed677eb939c

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