ASE interface to use metatomic atomistic machine learning models
Project description
metatomic-ase
ASE integration for metatomic models.
This package allows you to use metatomic models as ASE
Calculator, integrating with any workflow based on ASE.
Installation
pip install metatomic-ase
Usage
import ase.io
from metatomic_ase import MetatomicCalculator
# load atoms
atoms = ase.io.read("...")
# create a calculator from a saved .pt model
atoms.calc = MetatomicCalculator("model.pt", device="cuda")
# from here, all the normal ASE functionality is available
print(atoms.get_forces())
print(atoms.get_potential_energies())
For full documentation, see the ASE engine page in metatomic documentation.
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
metatomic_ase-0.1.1.tar.gz
(23.6 kB
view details)
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 metatomic_ase-0.1.1.tar.gz.
File metadata
- Download URL: metatomic_ase-0.1.1.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cf3060214cad63aa33c1bd81f0c1d9cfcdfc62eb5f8b43140908e32eb58904f
|
|
| MD5 |
f31b683c08a04a750295cf07d59c66de
|
|
| BLAKE2b-256 |
ab862cd5d70146f5d64756d688ee8bf1cd8ddf25759ca8a8a9c6ef2279730fae
|
File details
Details for the file metatomic_ase-0.1.1-py3-none-any.whl.
File metadata
- Download URL: metatomic_ase-0.1.1-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57b2ceb73ef567e4f8dc004a0def561b38b1d46a76911a61378e03cbacfab431
|
|
| MD5 |
d02a0f73489431fe396903e87a6c581b
|
|
| BLAKE2b-256 |
0d405351e30b50af3112ba52d751a39961793e29fd361da26f58f0b6b49a5b62
|