Skip to main content

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) (requires workflows dependencies).
    • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vitrum-1.0.0.tar.gz (46.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vitrum-1.0.0-py3-none-any.whl (53.2 kB view details)

Uploaded Python 3

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

Hashes for vitrum-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8277d179f9b93206b8046204006269a78b633a931786bd8e00091a67e17ac248
MD5 e168710d60a9e3593333b909bb5adc46
BLAKE2b-256 fd59b2c33b1e01bd7324dad8943bce72fef36b5793de0a4123be404b654247af

See more details on using hashes here.

Provenance

The following attestation bundles were made for vitrum-1.0.0.tar.gz:

Publisher: publish.yml on R-Chr/vitrum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for vitrum-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6424e93f00716f9d5ea843c7844483aa3ac0abb5f4893cbb803d8a4adda11f0f
MD5 4a4041de0365dffa0058646a8e6852ed
BLAKE2b-256 fab030da49dbfe740552c5186c2cd773915999bb69d710c2e072e7a9381f0e02

See more details on using hashes here.

Provenance

The following attestation bundles were made for vitrum-1.0.0-py3-none-any.whl:

Publisher: publish.yml on R-Chr/vitrum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page