A package to generate charge-density.dat for Quantum ESPRESSO
Project description
qeRho
The module is to generate a charge density file charge-density.dat for quantum espresso to read.
to install
pip install qe_rho
to use
# import superposition of atomic density
from qe_rho import SAD
# initialize SAD density
rho = SAD('tests/pwscf.in')
# save charge-density.dat to folder pwscf.save
rho.saverhog('pwscf.save')
# output real-space charge density in a 3D numpy array
rhor = rho.rho_g2r()
update log
- 2022-07-16 added
meshplot.pwscfplot, plot SAD and converged charge density and difference between them.
TODO
- HDF5 support
- spin support
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qe-rho-1.0.6.tar.gz
(23.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
qe_rho-1.0.6-py3-none-any.whl
(24.7 kB
view details)
File details
Details for the file qe-rho-1.0.6.tar.gz.
File metadata
- Download URL: qe-rho-1.0.6.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.25.8 tqdm/4.64.0 importlib-metadata/3.1.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e231c52bc65a6ed9ae5f6ec62add3ddbbfef7c10b46b5f80d5d28070938d4a40
|
|
| MD5 |
2b8ae8b9bafe2135e083412a2e855861
|
|
| BLAKE2b-256 |
7e891b94b42d553dc9451a95d65ae7da66f0bcaefef05119f44ad6008b1fc943
|
File details
Details for the file qe_rho-1.0.6-py3-none-any.whl.
File metadata
- Download URL: qe_rho-1.0.6-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.25.8 tqdm/4.64.0 importlib-metadata/3.1.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18041c2d2f3fbfce42de6afd976f955e24e1fafd34a84b749535425486aa4f1a
|
|
| MD5 |
4d3ca1f209250b4f658660b71e70a5b3
|
|
| BLAKE2b-256 |
3df2c6a4be3b94e42b4544184216323eaea8af590fb7517da6a4cdf523e79aa8
|