atooms-models-2.0.0
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | atooms-models-2.0.0 |
| نام | atooms-models |
| نسخه کتابخانه | 2.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniele Coslovich |
| ایمیل نویسنده | dcoslovich@units.it |
| آدرس صفحه اصلی | https://framagit.org/atooms/models |
| آدرس اینترنتی | https://pypi.org/project/atooms-models/ |
| مجوز | GPLv3 |
Atooms models
=============
[](https://pypi.python.org/pypi/atooms-models/)
[](https://pypi.python.org/pypi/atooms-models/)
[](https://en.wikipedia.org/wiki/GNU_General_Public_License)
[](https://mybinder.org/v2/git/https%3A%2F%2Fframagit.org%2Fatooms%2Fmodels/HEAD?labpath=docs%2Findex.ipynb)
[](https://framagit.org/atooms/models/badges/master/pipeline.svg)
[](https://framagit.org/atooms/models/-/commits/master)
A database of interaction models for classical molecular dynamics and Monte Carlo simulations.
Quick start
-----------
Show all the available models
```python
from atooms import models
models.available()
```
Pretty print the full database
```python
from pprint import pprint
pprint(models.database)
```
Select the Lennard-Jones one-component system and inspect the parameters
```python
model = models.database["lennard_jones"]
print(model["potential"])
print(model["cutoff"])
```
Look for a fluid Lennard-Jones sample and get a local copy
```python
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](https://framagit.org/atooms/atooms/-/blob/master/CONTRIBUTING.md).
Authors
-------
Daniele Coslovich: https://www.units.it/daniele.coslovich/
نیازمندی
| مقدار | نام |
|---|---|
| ~=3.3 | atooms |
| ~=0.5 | f2py-jit |
| - | jsonschema |
نحوه نصب
نصب پکیج whl atooms-models-2.0.0:
pip install atooms-models-2.0.0.whl
نصب پکیج tar.gz atooms-models-2.0.0:
pip install atooms-models-2.0.0.tar.gz