Powerful, efficient trajectory analysis in scientific Python.
Project description
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
Reference Documentation: Examples, tutorials, topic guides, and package Python APIs.
Installation Guide: Instructions for installing and compiling freud.
freud-users Google Group: Ask questions to the freud user community.
GitHub repository: Download the freud source code.
Issue tracker: Report issues or request features.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file freud-analysis-2.13.1.tar.gz
.
File metadata
- Download URL: freud-analysis-2.13.1.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c33fa3a8697d2b9309e627008b6d9d791e7b5218b0dbf6ddf95f71010114cf4 |
|
MD5 | 391f1627fcbc9f41c8f721bd85e746f8 |
|
BLAKE2b-256 | 06654f704177bde4ca770d991458a3ac23080441051dba3dadfca64376e07b82 |
File details
Details for the file freud_analysis-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6aef45cb006e462df6e8ed2295cc4a6965f989fe0e3e03ea81aabc699d7e509 |
|
MD5 | 4c02885e5ee5e1ae5bc82a220c32f8d1 |
|
BLAKE2b-256 | 29a6036f1539f0ab19b2be50d62abe777812f9d96091f0d596f9b79181e36f51 |
File details
Details for the file freud_analysis-2.13.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d69461fad3c8f7930ce4e5e72ddccf12a46d2de01de5653fef8bb38111f8446 |
|
MD5 | 6300da99dee52ee7e0172a5631e54536 |
|
BLAKE2b-256 | 764c481465e763e6272fd0e293045e7a762d0e316879ec30daf0d199190dca7f |
File details
Details for the file freud_analysis-2.13.1-cp311-cp311-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp311-cp311-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.11, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d10a11c6d2172f74b80d4738ea00d2e91cebd3874354bf86ec6f0ff0daf51e |
|
MD5 | e2499276adf5c1bee6a64645dc90c46a |
|
BLAKE2b-256 | 44c3265c0ebf54c2ad3d40909519296b245eb2cb736d53daced41e2ccb27534e |
File details
Details for the file freud_analysis-2.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2889f29ba241a461b126a43385cc98b3a504b225db55b97a20c3c39c2dd8526 |
|
MD5 | 09f3a60712f849927f8521b30b2014b0 |
|
BLAKE2b-256 | d4023bb4e0882688ab1ddf37080465055ffa26a9ed9f11149a75eeb48c40ad8c |
File details
Details for the file freud_analysis-2.13.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5c3b70886c03001ac7da2b77002382bcc6e95d49d172f7cc99dceab48aa4c23 |
|
MD5 | 38847a414bbefa986e60d6589fbae21b |
|
BLAKE2b-256 | 2204c9d037030c3de91185032a04c76ab22e736801d921468d3f4cbfb537f595 |
File details
Details for the file freud_analysis-2.13.1-cp310-cp310-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp310-cp310-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.10, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2718dcf8af8d1b20e8a8f217d70ec918ec48500e5c539cd68ecfafef11529af7 |
|
MD5 | a31447e447e6a93279583aa1c651fe66 |
|
BLAKE2b-256 | 6126d912779349e5172f71f7950b4eda33ddea529a86a99c9cfbb798d89be9e9 |
File details
Details for the file freud_analysis-2.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16441faf8305f97beed6c6fe5f54805636e9ffca44fd7bc844c5fe78e6dddc37 |
|
MD5 | 8c5ae8dfd9c76b247aa06fa7f686fa24 |
|
BLAKE2b-256 | 7d05d89a675bbfe517ba2f1c59523ec65c71211df4260cb9247bdee333ab0bab |
File details
Details for the file freud_analysis-2.13.1-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3cb825197e6ec79991fe8f1880e4650f544a479fd9f654c52af7b4d753004ba |
|
MD5 | 8dfdd686e6bf2212cf9a0e5f89799e59 |
|
BLAKE2b-256 | ec9ea341c5c8b7befaabf720905641cada6cd4375193e667b9f3e5957ee734d5 |
File details
Details for the file freud_analysis-2.13.1-cp39-cp39-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp39-cp39-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.9, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a4ca36e56b68811c6b90d3900ea84388efada1c81c614eea5c31e92aea68fc9 |
|
MD5 | c2bce598dfc18d227a553a7b33596051 |
|
BLAKE2b-256 | 8f723a85dd1c016532655739feb185abb1a566c388688aef71023d07f678cf3c |
File details
Details for the file freud_analysis-2.13.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0562defacfee47e4a27764a588940d85272dc79ce105def8c7457cc2bfc1f6b |
|
MD5 | 2d43a9b59240700a4de7426cecb27f7e |
|
BLAKE2b-256 | 626ca042271bb14c1fe8ec518fbae655932ad5a920fc4cb6755f580c450ac13b |
File details
Details for the file freud_analysis-2.13.1-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1e6f6d6aa4b9304bd6867904db57e4b1f000c45afddb35bb5d7fa7e18ee03d7 |
|
MD5 | dd0997dc6aa0d81b1eb358695ff3f8f4 |
|
BLAKE2b-256 | b0eb0576906433399be4aba63524a6be614f57e16553765148f8f0050814cd43 |
File details
Details for the file freud_analysis-2.13.1-cp38-cp38-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp38-cp38-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.8, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7874f045200fcd42b8f6a866f77032dc8d1a277b2a76022c4a830c290a73ef9 |
|
MD5 | 5e0e2eaff03600850bb486581688d83e |
|
BLAKE2b-256 | 1695b428673a33e8b6680697b861c70ea86edb496834117fb51284cfb243d7d2 |
File details
Details for the file freud_analysis-2.13.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a8c4ba1dd9ee90cb1f34521a3cedaae10879a868a15d4d8420cb116b48289d1 |
|
MD5 | f5dec515ee298776c59d45ff6b41a804 |
|
BLAKE2b-256 | 3c3b315357b84490f906c01d2315dbb6b30294b03e31d5ba8140bb3f81879a5d |
File details
Details for the file freud_analysis-2.13.1-cp37-cp37m-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: freud_analysis-2.13.1-cp37-cp37m-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.7m, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f207b6e4f245049a7b9daa17f4618c1b533a7b5ab73bfe3fba7cd3ba99f8eb |
|
MD5 | f76db71f6f05ee548eac6a54c0b13335 |
|
BLAKE2b-256 | be1b5e720a7d8ce5758f6b02dd148f1ea0902ab4037cc40c8504b4f45a4a9392 |