atooms-pp-3.1.3
توضیحات
Post-processing tools for particle simulations
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | atooms-pp-3.1.3 |
| نام | atooms-pp |
| نسخه کتابخانه | 3.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniele Coslovich |
| ایمیل نویسنده | daniele.coslovich@umontpellier.fr |
| آدرس صفحه اصلی | https://framagit.org/atooms/postprocessing |
| آدرس اینترنتی | https://pypi.org/project/atooms-pp/ |
| مجوز | GPLv3 |
# Postprocessing
[](https://pypi.python.org/pypi/atooms-pp/)
[](https://pypi.python.org/pypi/atooms-pp/)
[](https://en.wikipedia.org/wiki/GNU_General_Public_License)
[](https://mybinder.org/v2/git/https%3A%2F%2Fframagit.org%2Fatooms%2Fpostprocessing/HEAD?labpath=docs%2Findex.ipynb)
[](https://framagit.org/atooms/postprocessing/badges/master/pipeline.svg)
[](https://framagit.org/atooms/postprocessing/-/commits/master)
A Python package to compute static and dynamic correlation functions from simulations of interacting particles, such as molecular dynamics or Monte Carlo simulations. Based on [atooms](https://framagit.org/atooms/atooms).
## Quick start
Postprocessing works on trajectories. Any trajectory format recognized by
[atooms](https://framagit.org/atooms/atooms.git) can be processed, for instance most "xyz" files
should work fine. If you use a custom trajectory format, it is easy to [add it](https://atooms.frama.io/atooms/).
As an example, we compute the structure factor S(k) from the file `trajectory.xyz` in the `data/` folder.
### From the command line
```sh
pp.py --norigins 0.2 msd data/trajectory.xyz
```
We just used 20% of the available time frames to compute the averages using the `--norigins` flag. Without it, `atooms-pp` applies an heuristics to determine the number of time frames required to achieve a reasonable data quality. The results of the calculation are stored in the file `data/trajectory.xyz.pp.sk`.
### From Python
The same calculation can be done from Python:
```python
from atooms.trajectory import Trajectory
import atooms.postprocessing as pp
with Trajectory('data/trajectory.xyz') as t:
p = pp.StructureFactor(t)
p.do()
```
## Features
Available correlation and distribution functions
- *Real space*
- radial distribution function
- mean square displacement
- velocity auto-correlation function
- self overlap functions
- collective overlap functions
- dynamic susceptibility of the self overlap function
- non-Gaussian parameter
- bond-angle distribution
- *Fourier space*
- structure factor
- spectral density
- self intermediate scattering functions
- collective intermediate scattering functions
- four-point dynamic susceptibility
## Documentation
Check out the [tutorial](https://atooms.frama.io/postprocessing/tutorial) for more examples and the [public API](https://atooms.frama.io/postprocessing/api/postprocessing) for full details.
Org-mode and jupyter notebooks are available under `docs/`. You can run the tutorial interactively on [Binder]( https://mybinder.org/v2/git/https%3A%2F%2Fframagit.org%2Fatooms%2Fpostprocessing/HEAD?labpath=docs%2Findex.ipynb).
## Requirements
- [numpy](https://pypi.org/project/numpy/)
- [atooms](https://framagit.org/atooms/postprocessing.git)
- [optional] [argh](https://pypi.org/project/argh/) (only needed when using `pp.py`)
- [optional] [tqdm](https://pypi.org/project/tqdm/) (enable progress bars)
- [optional] [argcomplete](https://pypi.org/project/argcomplete/) (enable tab-completion for `pp.py`)
- [optional] fortran compiler for more efficient execution
## Installation
Install with `pip`
```
pip install atooms-pp
```
Or clone the project repository
```
git clone https://framagit.org/atooms/postprocessing.git
cd postprocessing
make install
```
## Contributing
Contributions to the project are welcome. If you wish to contribute, check out [these guidelines](https://framagit.org/atooms/atooms/-/blob/master/CONTRIBUTING.md).
## Authors
Daniele Coslovich: https://www.units.it/daniele.coslovich/
نحوه نصب
نصب پکیج whl atooms-pp-3.1.3:
pip install atooms-pp-3.1.3.whl
نصب پکیج tar.gz atooms-pp-3.1.3:
pip install atooms-pp-3.1.3.tar.gz