dpdata_abinit
Abinit plugin for dpdata
Install
pip install .
Usage:
-
Prepare the abinit histfile which contains a set of structures and the corresponding energies, forces, and stresses. Here we call this file Abinit_hist_file.abihist
-
Write a python script like this.
#!/usr/bin/env python3
import dpdata
# load data from the file Abinit_hist_file.abihist
d = dpdata.LabeledSystem("Abinit_hist_file.abihist", format='abihist')
# write to raw file
d.to_deepmd_raw('00.data')
# You can also write to npy file. The data set is splitted into multiple npy files, each containing set_size of samples.
d.to_deepmd_npy('00.data', set_size=2638)
- Run the script
Metadata
Release files for dpdata-abinit 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dpdata_abinit-0.0.4.tar.gz | 12.3 kB | Without provenance | Details for dpdata_abinit-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dpdata_abinit-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for dpdata_abinit-0.0.4-py3-none-any.whl |
Total release size: 26.3 kB
Release files / dpdata_abinit-0.0.4.tar.gz
| Download URL | dpdata_abinit-0.0.4.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
791d5483c08f2d3942f8e3efdd0927f070b49dba7268169af6098f379131c6e2
|
|
BLAKE2b-256 checksum How to use checksums |
acaf8cfe344dfce4fb187c6e02026d9324c6c52e5ead7df78389cdbf7376d5bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / dpdata_abinit-0.0.4-py3-none-any.whl
| Download URL | dpdata_abinit-0.0.4-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37f68a6570cec801e9211ef7dc31ffd595891ebcc281f7452e96928de870472d
|
|
BLAKE2b-256 checksum How to use checksums |
60645ccfad62441542b9453405c33e7ecfe409f31ef3403346704230a9d97606
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for dpdata-abinit 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.