Skip to content

Commit

Permalink
Merge pull request #75 from amepproject/release-1.0.x
Browse files Browse the repository at this point in the history
Release 1.0.3
  • Loading branch information
hechtprojects authored Oct 22, 2024
2 parents 3ac846e + 8f251d4 commit 0947bfb
Show file tree
Hide file tree
Showing 40 changed files with 1,558 additions and 1,451 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,11 @@ build/
test/data
test/.coverage
test/coverage.xml
examples/data/continuum/traj.h5amep
examples/data/continuum/#traj.h5amep
examples/data/continuum/##temp*
examples/data/trajs/
examples/data/lammps/traj.h5amep
examples/data/lammps/#traj.h5amep
examples/data/lammps/##temp*
examples/data/invalid
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@
All notable changes to **AMEP** will be documented in this file. **AMEP**
adheres to [semantic versioning](https://semver.org/).

## AMEP 1.0.3 (22 Oct 2024)

### Bug fixes:

* documentation improvements (ME, KS, KD, LH)
* bug fix related to `trajectory.add_particle_info` and `trajectory.get_particle_info` (KD, KS)
* LammpsReader angular momentum import bug fixed (KD)
* bug in `evaluate.Psi6dist` related to default value of number of bins fixed (KD)
* bug in `evaluate.VelDist` related to default value of number of bins fixed (KD)
* faster tests - now based on example data (KS, LH, KD)

### Contributors:

* Lukas Hecht (LH)
* Kay-Robert Dormann (KD)
* Kai Luca Spanheimer (KS)
* Mahdieh Ebrahimi (ME)



## AMEP 1.0.2 (22 Mai 2024)

### Bug fixes:
Expand Down
186 changes: 93 additions & 93 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,68 +22,38 @@ format. To be fast and usable on modern HPC (**H**igh **P**erformance
**C**omputing) hardware, the methods are optimized to run also in parallel.


# Description
# How to cite AMEP

The **AMEP** Python library provides a unified framework for handling
both particle-based and continuum simulation data. It is made for the analysis
of molecular-dynamics (MD), Brownian-dynamics (BD), and continuum simulation
data of condensed matter systems and active matter systems in particular.
**AMEP** provides a huge variety of analysis methods for both data types that
allow to evaluate various dynamic and static observables based on the
trajectories of the particles or the time evolution of continuum fields. For
fast and efficient data handling, **AMEP** provides a unified framework for
loading and storing simulation data and analysis results in a compressed,
HDF5-based data format. **AMEP** is written purely in Python and uses powerful
libraries such as NumPy, SciPy, Matplotlib, and scikit-image commonly used in
computational physics. Therefore, understanding, modifying, and building up on
the provided framework is comparatively easy. All evaluation functions are
optimized to run efficiently on HPC hardware to provide fast computations. To
plot and visualize simulation data and analysis results, **AMEP** provides an
optimized plotting framework based on the Matplotlib Python library, which
allows to easily plot and animate particles, fields, and lines. Compared to
other analysis libraries, the huge variety of analysis methods combined with
the possibility to handle both most common data types used in soft-matter
physics and in the active matter community in particular, enables the analysis
of a much broader class of simulation data including not only classical
molecular-dynamics or Brownian-dynamics simulations but also any kind of
numerical solutions of partial differential equations. The following table
gives an overview on the observables provided by **AMEP** and on their
capability of running in parallel and processing particle-based and continuum
simulation data.
If you use **AMEP** for a project that leads to a scientific publication, please acknowledge
the use of **AMEP** within the body of your publication for example by copying or adapting
the following formulation:

*Data analysis for this publication utilized the AMEP library [1].*

> [1] L. Hecht, K.-R. Dormann, K. L. Spanheimer, M. Ebrahimi, M. Cordts, S. Mandal,
> A. K. Mukhopadhyay, and B. Liebchen, AMEP: The Active Matter Evaluation Package for Python,
> *arXiv [Cond-Mat.Soft]* (2024). Available at: http://arxiv.org/abs/2404.16533.
| Observable | Parallel | Particles | Fields |
|:-----------|:--------:|:---------:|:------:|
| **Spatial Correlation Functions:** ||||
| RDF (radial pair distribution function) ||||
| PCF2d (2d pair correlation function) ||||
| PCFangle (angular pair correlation function) ||||
| SFiso (isotropic static structure factor) ||||
| SF2d (2d static structure factor) ||||
| SpatialVelCor (spatial velocity correlation function) ||||
| PosOrderCor (positional order correlation function) ||||
| HexOrderCor (hexagonal order correlation function) ||||
| **Local Order:** ||||
| Voronoi tesselation ||||
| Local density ||||
| Local packing fraction ||||
| k-atic bond order parameter ||||
| Next/nearest neighbor search ||||
| **Time Correlation Functions:** ||||
| MSD (mean square displacement) ||||
| VACF (velocity autocorrelation function) ||||
| OACF (orientation autocorrelation function) ||||
| **Cluster Analysis:** ||||
| Clustersize distribution ||||
| Cluster growth ||||
| Radius of gyration ||||
| Linear extension ||||
| Center of mass ||||
| Gyration tensor ||||
| Inertia tensor ||||
| **Miscellaneous:** ||||
| Translational/rotational kinetic energy ||||
| Kinetic temperature ||||
The pre-print is freely available on [arXiv](https://arxiv.org/abs/2404.16533). To cite this reference,
you can use the following BibTeX entry:

```bibtex
@misc{hecht2024amep,
title = {AMEP: The Active Matter Evaluation Package for Python},
author = {Lukas Hecht and
Kay-Robert Dormann and
Kai Luca Spanheimer and
Mahdieh Ebrahimi and
Malte Cordts and
Suvendu Mandal and
Aritra K. Mukhopadhyay and
Benno Liebchen},
year = {2024},
eprint = {2404.16533},
archivePrefix = {arXiv},
primaryClass = {cond-mat.soft}
}
```


# Installation
Expand Down Expand Up @@ -146,40 +116,6 @@ Anaconda installation path.
to download FFmpeg and to get further information on how to install FFmpeg on your machine.


# Citation

If you use **AMEP** for a project that leads to a scientific publication, please acknowledge
the use of **AMEP** within the body of your publication for example by copying or adapting
the following formulation:

*Data analysis for this publication utilized the AMEP library [1].*

> [1] L. Hecht, K.-R. Dormann, K. L. Spanheimer, M. Ebrahimi, M. Cordts, S. Mandal,
> A. K. Mukhopadhyay, and B. Liebchen, AMEP: The Active Matter Evaluation Package for Python,
> *arXiv [Cond-Mat.Soft]* (2024). Available at: http://arxiv.org/abs/2404.16533.
The pre-print is freely available on [arXiv](https://arxiv.org/abs/2404.16533). To cite this reference,
you can use the following BibTeX entry:

```bibtex
@misc{hecht2024amep,
title = {AMEP: The Active Matter Evaluation Package for Python},
author = {Lukas Hecht and
Kay-Robert Dormann and
Kai Luca Spanheimer and
Mahdieh Ebrahimi and
Malte Cordts and
Suvendu Mandal and
Aritra K. Mukhopadhyay and
Benno Liebchen},
year = {2024},
eprint = {2404.16533},
archivePrefix = {arXiv},
primaryClass = {cond-mat.soft}
}
```


# Getting started

The following example briefly demonstrates the **AMEP** workflow. A typical
Expand Down Expand Up @@ -218,6 +154,70 @@ fig.savefig(rdf.name + '.pdf')
For more detailed examples, check the [examples](https://github.com/amepproject/amep/tree/main/examples) directory.


# Project description

The **AMEP** Python library provides a unified framework for handling
both particle-based and continuum simulation data. It is made for the analysis
of molecular-dynamics (MD), Brownian-dynamics (BD), and continuum simulation
data of condensed matter systems and active matter systems in particular.
**AMEP** provides a huge variety of analysis methods for both data types that
allow to evaluate various dynamic and static observables based on the
trajectories of the particles or the time evolution of continuum fields. For
fast and efficient data handling, **AMEP** provides a unified framework for
loading and storing simulation data and analysis results in a compressed,
HDF5-based data format. **AMEP** is written purely in Python and uses powerful
libraries such as NumPy, SciPy, Matplotlib, and scikit-image commonly used in
computational physics. Therefore, understanding, modifying, and building up on
the provided framework is comparatively easy. All evaluation functions are
optimized to run efficiently on HPC hardware to provide fast computations. To
plot and visualize simulation data and analysis results, **AMEP** provides an
optimized plotting framework based on the Matplotlib Python library, which
allows to easily plot and animate particles, fields, and lines. Compared to
other analysis libraries, the huge variety of analysis methods combined with
the possibility to handle both most common data types used in soft-matter
physics and in the active matter community in particular, enables the analysis
of a much broader class of simulation data including not only classical
molecular-dynamics or Brownian-dynamics simulations but also any kind of
numerical solutions of partial differential equations. The following table
gives an overview on the observables provided by **AMEP** and on their
capability of processing particle-based and continuum
simulation data.


| Observable | Particles | Fields |
|:-----------|:---------:|:------:|
| **Spatial Correlation Functions:** |||
| RDF (radial pair distribution function) |||
| PCF2d (2d pair correlation function) |||
| PCFangle (angular pair correlation function) |||
| SFiso (isotropic static structure factor) |||
| SF2d (2d static structure factor) |||
| SpatialVelCor (spatial velocity correlation function) |||
| PosOrderCor (positional order correlation function) |||
| HexOrderCor (hexagonal order correlation function) |||
| **Local Order:** |||
| Voronoi tesselation |||
| Local density |||
| Local packing fraction |||
| k-atic bond order parameter |||
| Next/nearest neighbor search |||
| **Time Correlation Functions:** |||
| MSD (mean square displacement) |||
| VACF (velocity autocorrelation function) |||
| OACF (orientation autocorrelation function) |||
| **Cluster Analysis:** |||
| Clustersize distribution |||
| Cluster growth |||
| Radius of gyration |||
| Linear extension |||
| Center of mass |||
| Gyration tensor |||
| Inertia tensor |||
| **Miscellaneous:** |||
| Translational/rotational kinetic energy |||
| Kinetic temperature |||


# Module descriptions

In the following, we provide a list of all **AMEP** modules together with a
Expand Down
2 changes: 1 addition & 1 deletion amep/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
"""
AMEP version number.
"""
__version__ = "1.0.2"
__version__ = "1.0.3"
Loading

0 comments on commit 0947bfb

Please sign in to comment.