Skip to main content

No project description provided

Project description

Atooms models

pypi version license Binder pipeline coverage report

A database of interaction models for classical molecular dynamics and Monte Carlo simulations.

Quick start

Show all the available models

from atooms import models
models.available()

Pretty print the full database

from pprint import pprint
pprint(models.database)

Select the Lennard-Jones one-component system and inspect the parameters

model = models.database["lennard_jones"]
print(model["potential"])
print(model["cutoff"])

Look for a fluid Lennard-Jones sample and get a local copy

for sample in model["samples"]:
    if sample["state"] == 'fluid':
        local_file = models.copy(sample)	    
        break

The local_file can then be used to start a simulation or further analysis using atooms packages.

Installation

Clone the code repository and install from source

git clone https://framagit.org/atooms/models.git
cd sample
make install

Install atooms-models with pip

pip install atooms-models

Contributing

Contributions to the project are welcome. If you wish to contribute, check out these guidelines.

Authors

Daniele Coslovich: https://www.units.it/daniele.coslovich/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

atooms_models-1.4.0-py2.py3-none-any.whl (77.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file atooms_models-1.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: atooms_models-1.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 77.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for atooms_models-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b1d7e8f74cba443bf68152d4ff4cfc2679b53e5f24545633f2fb42cb6f3bfbe6
MD5 fab775418b9f418f16089e82502a555c
BLAKE2b-256 7110d0eca98eae15a55f5edb5835ae19a7ee61869188cc277c5b6f1cdaea7f40

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