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

Uploaded Source

Built Distributions

freud_analysis-2.13.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.2-cp312-cp312-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

freud_analysis-2.13.2-cp312-cp312-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12 macOS 10.14+ x86-64

freud_analysis-2.13.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.2-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

freud_analysis-2.13.2-cp311-cp311-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11 macOS 10.14+ x86-64

freud_analysis-2.13.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.2-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

freud_analysis-2.13.2-cp310-cp310-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 10.14+ x86-64

freud_analysis-2.13.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.2-cp39-cp39-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

freud_analysis-2.13.2-cp39-cp39-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

freud_analysis-2.13.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

freud_analysis-2.13.2-cp38-cp38-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

freud_analysis-2.13.2-cp38-cp38-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

File details

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

File metadata

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

File hashes

Hashes for freud-analysis-2.13.2.tar.gz
Algorithm Hash digest
SHA256 2406b70a597227516a3658ae768fb23c75e3a05e436905e1a5a7510d3fc974b2
MD5 ef643dc0c3c817f00ffbaf09c439b17f
BLAKE2b-256 fa8e2d104462ff6c76e702d04a9882b354f3322ca963a991745f17ca6d3f44e2

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7bc4bfc6e1379b0f8f0f35ca9493261df63da54eeaf21e23d662b45e0da67bdc
MD5 bbce8113f788aa49a5a8e390d20fdde9
BLAKE2b-256 262eddb26319d5f291011e7e92c55bdb71043752c9d186600fbbe2994dc6280a

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0963f4875070bb120a4cfdfe8befb7b1f049ae7496bee3d68db8fa9863a809a
MD5 d50de00192e8559573e1324afeceeabe
BLAKE2b-256 d5629aecdd441bf5d2d6f03117abc5472bb9b0d1bacf6f6e0dc6bf670b3e27c1

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.2-cp312-cp312-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 eef55c47b254e6e2db8dcd2fcabbb21f21df9125c9021549e77622eab59173b4
MD5 4868849a402f4663ac45ea47a3a267b7
BLAKE2b-256 80b28c27a348cfeca473f81c784b3ca9aa96de577d5a3a50523e0312f295397f

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 871ec9d69fa588e352d23e61c99facb9f22c2180dc12a38286b0da9cb3db0a89
MD5 724f350e1d2b6f83a5a4dce1841bfc9c
BLAKE2b-256 613e2443a5b610bf000caad8178492db66894c48ce216838885269973fa215ec

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3c226807d7078bad35150b157a2209e925edc96270c7154b7abf83f785e905d2
MD5 bc82a23a82ce95308b4889c454654bc5
BLAKE2b-256 8f5674d2ab55df4c5f3555b54099a9bfdd938841ecb760309cefc48339c8659b

See more details on using hashes here.

File details

Details for the file freud_analysis-2.13.2-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b4bf598c581d42f103e6501976a1affd61c2cb43a86e4e57df8145d278e2561e
MD5 1019ecfd4600230b11997f358f1a812d
BLAKE2b-256 e59f394ac846ecfea487976a4e1cd31d4ba0b4d352ec52786eac02246c0e5f9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e04bf5192ac980615788fda75fa1c7c036676fb627b25ca62c05ca137a600d28
MD5 bfe3102523655e6b74a15a1758ac7ed5
BLAKE2b-256 c3d9d8bf37cf8706ce5d9a26cb760f9aa9ce97a0c87f426668a678f7e327a734

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 114b4e70650c5801ce4294e1b0ceb8cd1731e6995231ec34634a01d5dbf3e366
MD5 bdf2f6f14cd2d140e69d9f8dd1bc8daf
BLAKE2b-256 d3de75fa33922d1f9bea5c13e54698f04466db923047b523b1130e78fe90c5e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a783e3937fdb74e975d017ed1f05da8a41e6ac79b073097274e13457883a9062
MD5 250a6f857033aca9eb1ca1397e0f6ae8
BLAKE2b-256 b10d85a673e2f0cf67b33cd2d981d1eb81ed49a33ead09b1587d0f424617345c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 daffa5b3c0920a6f3ad044b51e90e8e6a150fb8fadbacf99fb7aba9b989a6594
MD5 e0934e1682cb9b3ebed8278cac2f6470
BLAKE2b-256 f103d4b81dd1ec962689565e1ca620ee15e7246914a90b4d0cd1b12ee8a2dbe3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a6fcb29d7a6c9d21eb9a9fdac12b232960a73ee9988e98f3f733e4436b1fbb90
MD5 c2f494bed95652c632651e9a702a0314
BLAKE2b-256 e11f6b1c10510ef46e65b0e567e0247dd8626ff7fce2f890279fab2edcc8b7fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8c4b75036973900d56f58ec1a3a5ccbcacf39e2318e3aab30b340f7c893bbbe1
MD5 eede5fa845d8e8181c76fd47bf722779
BLAKE2b-256 5dc2ec3d5f87f3990cf0a668286c4990c9e8c6650b400fcb9937bec00b727e06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b49084120feacfad409f7be9ff71ac0891cc2e360dcabc460416078894cea488
MD5 f39105a65c36f2704e8a347121242482
BLAKE2b-256 97d3d451e11e1135095f2eead6c8e3c965c688eb615e0f0a35c0034e576a8c96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8864729cf87f3eb37967b61f1ebc7283872e1f5c94d14588841e904c6a838ed0
MD5 6e8581a2cee3f12c3590c55ea3b6d11d
BLAKE2b-256 3f154e40fc869013d27731fd71ff82e49c6e211e8e1da7af0b36b27826178f76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freud_analysis-2.13.2-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 dbec55dad34f5c852ad3a67607b01c8e9aa0b7622e9d8418647b0ae5f81bb3e3
MD5 735ec3ebacee72a08bcdbbbfb457e2e3
BLAKE2b-256 a2d888ecb56987c51784aef042b82c71d7ba36db4c3ab2bc81d27a55d001a010

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