A python data analysis library for computer simulations
Project description
pymattersim
Summary
Physics-driven data analyis of computer simulations for materials science, chemistry, physics, and beyond.
Installation [in a virtual environment]
python3.10 -m venv .venv
source .venv/bin/activate
pip install PyMatterSim
Documentation
The documentation is now available online.
Requirements
- python 3.6-3.10 (recommend 3.10)
- numpy
- pandas
- freud-analysis (3.1.0, 3.2.0)
- scipy
- sympy
- gsd (optional)
- mdtraj (optional)
- voro++ (optional, standalone binary)
Usage
Please refer to the /docs/ for documentation and examples.
Some examples are provided from the unittest modules (tests/)
Types of computer simulations
- LAMMPS
- atom type & molecular type such as patchy particle, rigid body, molecules et al.
- x, xs, xu type particle positions
- orthagonal / triclinic box
- Hoomd-blue
- GSD for structure analysis (need
gsd==3.2.0) - GSD + DCD for dynamics analysis (need
gsd==3.2.0andmdtraj==1.9.9)
- GSD for structure analysis (need
- VASP (to be added)
- Any type of simulators as long as the input were formatted well, modifying the
readermodule to use the computational modules.
Notes
Voro++ is recommend to install separately for specific Voronoi analysis. Some of the analysis from the original voro++ is maintained from the freud-analysis package developed by the Glozter group.
Citation
@article{hu2024pymattersimpythondataanalysis,
title={PyMatterSim: a Python Data Analysis Library for Computer Simulations of Materials Science, Physics, Chemistry, and Beyond},
author={Y. -C. Hu and J. Tian},
year={2024},
eprint={2411.17970},
archivePrefix={arXiv},
primaryClass={cond-mat.mtrl-sci},
url={https://arxiv.org/abs/2411.17970},
}
References
- Y.-C. Hu et al. Origin of the boson peak in amorphous solids. Nature Physics, 18(6), 669-677 (2022)
- Y.-C. Hu et al. Revealing the role of liquid preordering in crystallisation of supercooled liquids. Nature Communications, 13(1), 4519 (2022)
- Y.-C. Hu et al. Physical origin of glass formation from multicomponent systems. Science Advances 6 (50), eabd2928 (2020)
- Y.-C. Hu et al. Configuration correlation governs slow dynamics of supercooled metallic liquids. Proceedings of the National Academy of Sciences U.S.A., 115(25), 6375-6380 (2018)
- Y.-C. Hu et al. Five-fold symmetry as indicator of dynamic arrest in metallic glass-forming liquids. Nature Communications, 6(1), 8310 (2015)
UnitTest
Please run the bash scripts available from shell/ for unittests. As follows are test statistics:
| Test | # Tests and Runtime | Status |
|---|---|---|
| test_dynamics | Ran 15 tests in 10.303s | OK |
| test_neighbors | Ran 11 tests in 91.711s | OK |
| test_reader | Ran 11 tests in 0.270s | OK |
| test_static | Ran 28 tests in 298.248s | OK |
| test_utils | Ran 30 tests in 4.997s | OK |
| test_writer | Ran 3 tests in 0.005s | OK |
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymattersim-0.0.6.tar.gz.
File metadata
- Download URL: pymattersim-0.0.6.tar.gz
- Upload date:
- Size: 98.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
394728b7549fd4f6312fcf852df423b6e6c1ebb052c1b1195a2672e57cc736df
|
|
| MD5 |
a6ef64e1addb45ed6ed2a3c971598898
|
|
| BLAKE2b-256 |
cd26fac1ff5a3ec2ae15e67b996ce2ff471cbca187aab6518573d09e3cfe4510
|
File details
Details for the file PyMatterSim-0.0.6-py3-none-any.whl.
File metadata
- Download URL: PyMatterSim-0.0.6-py3-none-any.whl
- Upload date:
- Size: 129.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebfaacc266b3ff658fbe3342fdb5efab8ba25d24422bef8f21a2ecd1056cbc65
|
|
| MD5 |
4d7d837ba6014a51da6ac8edf63f72b4
|
|
| BLAKE2b-256 |
aaa9c5f0e19271b2c83e6a3d382e9a81b6626f4e01c0f3abf455b4fabb60df5b
|