Skip to main content

a2c_ase

PyPI CI codecov License: MIT Python 3.10+ DOI

An ASE-friendly implementation of the amorphous-to-crystalline (a2c) workflow.

Installation

From PyPI

With uv (recommended):

uv pip install a2c-ase
Or with pip
pip install a2c-ase

From Source

With uv:

git clone https://github.com/abhijeetgangan/a2c_ase.git
cd a2c_ase
uv pip install .
Or with pip
git clone https://github.com/abhijeetgangan/a2c_ase.git
cd a2c_ase
pip install .

Usage

See example/Si64.py for basic usage.

To use a specific calculator you need to install the corresponding package.

In the example above, MACE is used as the calculator, so you need to install the corresponding package.

pip install mace-torch

Workflow Overview

  1. Initial Structure: Generate a random atomic configuration with specified composition and volume.
  2. Melt-Quench: Run MD simulation to create an amorphous structure.
  3. Subcell Extraction: Identify potential crystalline motifs within the amorphous structure.
  4. Structure Optimization: Relax subcells to find stable crystalline phases.
  5. Analysis: Characterize discovered structures using symmetry analysis.

Development

Install dev dependencies:

# with pip
pip install -e ".[dev,test]"

Set up pre-commit hooks:

pre-commit install

Run checks:

ruff check         # lint
ruff format        # format
ty check           # type check
pytest             # test

Citation

If you use this software in your research, please cite it: DOI:https://doi.org/10.5281/zenodo.17355689

References

  1. Aykol, M., Merchant, A., Batzner, S. et al. Predicting emergence of crystals from amorphous precursors with deep learning potentials. Nat Comput Sci 5, 105–111 (2025). DOI: 10.1038/s43588-024-00752-y
  2. Reference implementation: a2c-workflow

Metadata

Release files for a2c-ase 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for a2c-ase 0.0.5
File Size Uploaded Provenance Actions
a2c_ase-0.0.5.tar.gz 22.7 kB Without provenance Details for a2c_ase-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for a2c-ase 0.0.5
File Interpreter ABI Platform Actions
a2c_ase-0.0.5-py3-none-any.whl Python 3 none any Details for a2c_ase-0.0.5-py3-none-any.whl

Total release size: 43.1 kB

Release files / a2c_ase-0.0.5.tar.gz

Download URL a2c_ase-0.0.5.tar.gz
Size 22.7 kB
Tags Source
SHA-256 checksum
How to use checksums
880406bfa3064fec6000c3ebe712a79142737fe7358073c66002bf996fbc2eb1
BLAKE2b-256 checksum
How to use checksums
5e606509ffe31728faa42c84f3e78e705920d55002957bf5c3041d171c207e35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / a2c_ase-0.0.5-py3-none-any.whl

Download URL a2c_ase-0.0.5-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f50ae4a665efc169818985c344de7413271f734eff6b7471025952d0919cf7ed
BLAKE2b-256 checksum
How to use checksums
2f7dfc59a1e195eae3c692a60e9d6dc964440bf5ceda01f62a03e3f8f7eab785
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for a2c-ase 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page