Skip to main content

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


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.1rc1.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

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

metatomic_ase-0.1.1rc1-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file metatomic_ase-0.1.1rc1.tar.gz.

File metadata

  • Download URL: metatomic_ase-0.1.1rc1.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for metatomic_ase-0.1.1rc1.tar.gz
Algorithm Hash digest
SHA256 e545360310ba04e2febeccb9c1166046e6b7a7d75a09c32add48bdfbb434612e
MD5 f5f8ca9b42ab759fbc93f7652952fb14
BLAKE2b-256 69429ad97478ee6f248be2312611751274cfb653a836227bb6cb82f34c03f8e3

See more details on using hashes here.

File details

Details for the file metatomic_ase-0.1.1rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for metatomic_ase-0.1.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4c85707931b498d85139caf4e1e7d1851ddb3269f85acb5250d062db9faa831
MD5 4f36a7e9a5bab65407ca4729e381d2e9
BLAKE2b-256 4a3fa8afb3fa49b6ee35b2e8c1585373a76eeef6f935d3ef20e75ea707ed2790

See more details on using hashes here.

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