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

Uploaded Python 3

File details

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

File metadata

  • Download URL: metatomic_ase-0.1.2.tar.gz
  • Upload date:
  • Size: 24.0 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.2.tar.gz
Algorithm Hash digest
SHA256 d2adde197c55a8e4665c1a7cd811c32c51552edadd41dd03b159657b2b6cc635
MD5 512bb47adbf58eba90facfc5558bdc6e
BLAKE2b-256 065a503a6d21f0c7e0296cda564e427d63b696b30cbe681d9e4ad4b26750a33d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metatomic_ase-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d66f7a69e7f7df5b1472ddf7f595bfb159e4624d72e1acc214b66c4c56bb8d34
MD5 9491044accd298b574b31afb075b5851
BLAKE2b-256 c73e092a6f337e88dfe8f8340c1be87308905f748a3e1655477e17f3fdca2e40

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