vitrum is a package for generating input data and analyzing simulation data of glass structures
Project description
⚗️ vitrum
vitrum is a Python package designed for the generation, analysis, and simulation of disordered and glassy atomic structures. It provides a comprehensive suite of tools for structural characterization, diffusion analysis, and tools for machine learning-driven potential development.
🚧 Active development
vitrum is under active development. As of 1.0, the public API follows semantic versioning — breaking changes will be reflected in a major version bump and noted in the changelog.
📖 Documentation
Please see the docs folder for detailed documentation or check the online documentation.
📦 Installation
To install vitrum, you can clone the repository and install it in editable mode:
git clone https://github.com/R-Chr/vitrum.git
cd vitrum
pip install -e .
To install dependencies for simulation workflows (atomate2, fireworks, jobflow):
pip install -e .[workflows]
🚀 Examples
See the examples folder for runnable Jupyter notebooks demonstrating scattering/RDF analysis, Qn speciation, and random structure generation, among others.
🎯 Scope and Functionality
vitrum offers:
1. Structural Characterization
- Scattering Functions: Calculate partial and total Radial Distribution Functions (RDF) and Structure Factors ($S(q)$) for both Neutron and X-ray scattering (
vitrum.scattering). - Ring Analysis: Analyze ring size distributions and statistics in network glasses (
vitrum.rings). - Topological Analysis: Compute persistent homology to identify medium-range order and topological features (
vitrum.persistent_homology). - Coordination & Angles: Analyze bond angle distributions and coordination environments (
vitrum.coordination).
2. Dynamics & Diffusion
- Diffusion Analysis: Calculate Mean Squared Displacement (MSD), diffusion coefficients, and Van Hove correlation functions (
vitrum.diffusion).
3. Machine Learning & Workflows
- BALACE Framework: A Batch Active Learning framework for Atomistic Simulations (
vitrum.batch_active) (requiresworkflowsdependencies).- Automated workflow for training Machine Learning Interatomic Potentials (MLIPs) based on ACE .
- Integration with VASP and LAMMPS for data generation and active learning loops.
- Job management via Fireworks and Jobflow.
👥 Author
Rasmus Christensen (rasmusc@bio.aau.dk)
⭐ Acknowledgements
vitrum relies on several powerful open-source packages:
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 vitrum-1.0.0.tar.gz.
File metadata
- Download URL: vitrum-1.0.0.tar.gz
- Upload date:
- Size: 46.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8277d179f9b93206b8046204006269a78b633a931786bd8e00091a67e17ac248
|
|
| MD5 |
e168710d60a9e3593333b909bb5adc46
|
|
| BLAKE2b-256 |
fd59b2c33b1e01bd7324dad8943bce72fef36b5793de0a4123be404b654247af
|
Provenance
The following attestation bundles were made for vitrum-1.0.0.tar.gz:
Publisher:
publish.yml on R-Chr/vitrum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vitrum-1.0.0.tar.gz -
Subject digest:
8277d179f9b93206b8046204006269a78b633a931786bd8e00091a67e17ac248 - Sigstore transparency entry: 2054281919
- Sigstore integration time:
-
Permalink:
R-Chr/vitrum@c3d15e113c82f210f1edbd3c321346b75c1dfb12 -
Branch / Tag:
refs/tags/v.1.0.0 - Owner: https://github.com/R-Chr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c3d15e113c82f210f1edbd3c321346b75c1dfb12 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vitrum-1.0.0-py3-none-any.whl.
File metadata
- Download URL: vitrum-1.0.0-py3-none-any.whl
- Upload date:
- Size: 53.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6424e93f00716f9d5ea843c7844483aa3ac0abb5f4893cbb803d8a4adda11f0f
|
|
| MD5 |
4a4041de0365dffa0058646a8e6852ed
|
|
| BLAKE2b-256 |
fab030da49dbfe740552c5186c2cd773915999bb69d710c2e072e7a9381f0e02
|
Provenance
The following attestation bundles were made for vitrum-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on R-Chr/vitrum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vitrum-1.0.0-py3-none-any.whl -
Subject digest:
6424e93f00716f9d5ea843c7844483aa3ac0abb5f4893cbb803d8a4adda11f0f - Sigstore transparency entry: 2054282116
- Sigstore integration time:
-
Permalink:
R-Chr/vitrum@c3d15e113c82f210f1edbd3c321346b75c1dfb12 -
Branch / Tag:
refs/tags/v.1.0.0 - Owner: https://github.com/R-Chr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c3d15e113c82f210f1edbd3c321346b75c1dfb12 -
Trigger Event:
release
-
Statement type: