Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 2.71 KB

examples.rst

File metadata and controls

76 lines (56 loc) · 2.71 KB

Examples

Examples are provided as Jupyter notebooks in a separate freud-examples repository. These notebooks may be launched interactively on Binder or downloaded and run on your own system. Visualization of data is done via Matplotlib and Bokeh, unless otherwise noted.

Key concepts

There are a few critical concepts, algorithms, and data structures that are central to all of freud. The freud.box.Box class defines the concept of a periodic simulation box, and the freud.locality module defines methods for finding nearest neighbors of particles. Since both of these are used throughout freud, we recommend reading the tutorial first, before delving into the workings of specific freud analysis modules.

examples/module_intros/box* examples/module_intros/locality*

Analysis Modules

These introductory examples showcase the functionality of specific modules in freud, showing how they can be used to perform specific types of analyses of simulations.

examples/module_intros/cluster* examples/module_intros/diffraction* examples/module_intros/density* examples/module_intros/environment* examples/module_intros/interface* examples/module_intros/order* examples/module_intros/pmft*

Example Analyses

The examples below go into greater detail about specific applications of freud and use cases that its analysis methods enable, such as user-defined analyses, machine learning, and data visualization.

examples/examples/NetworkX-CNA examples/examples/HOOMD-MC-W6/HOOMD-MC-W6 examples/examples/GROMACS-MDTRAJ-WATER-RDF/Compute_RDF examples/examples/LAMMPS-LJ-MSD/LAMMPS-LJ-MSD examples/examples/Using Machine Learning for Structural Identification examples/examples/Handling Multiple Particle Types (A-B Bonds) examples/examples/Calculating RDF from GSD files examples/examples/Calculating Strain via Voxelization examples/examples/Visualization with fresnel examples/examples/Visualization with plato examples/examples/Visualizing 3D Voronoi and Voxelization

Benchmarks

Performance is a central consideration for freud. Below are some benchmarks comparing freud to other tools offering similar analysis methods.

examples/examples/Benchmarking*