Skip to main content

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.

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.3.tar.gz (24.1 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.3-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file metatomic_ase-0.1.3.tar.gz.

File metadata

  • Download URL: metatomic_ase-0.1.3.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for metatomic_ase-0.1.3.tar.gz
Algorithm Hash digest
SHA256 97bdc21c980ece4e2edc046bdf111372b453e35002ce19574ec9a34c74c6e2fd
MD5 7e72f0aa9bbddd3ad40aa075c9fb04ca
BLAKE2b-256 a9cd912fee4f9ab0ced85c993cd92422654c294bd039246f1c460a57ff9ac961

See more details on using hashes here.

File details

Details for the file metatomic_ase-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: metatomic_ase-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for metatomic_ase-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 653f71c952e4924f0218b599340276e75bc8e26106a9ca314d7bdf3bd6c49ed7
MD5 49a3971da7902b472c15f67ebe0ec778
BLAKE2b-256 3d7a042c85c3dc144a1da8ee55e94edd7d453e1b5747215bf07acb07f7cc540b

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