Skip to main content

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

  1. 2022-07-16 added meshplot.pwscfplot, plot SAD and converged charge density and difference between them.

TODO

  • HDF5 support
  • spin support

Metadata

Release files for qe-rho 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qe-rho 1.0.6
File Size Uploaded
qe-rho-1.0.6.tar.gz 23.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qe-rho 1.0.6
File Interpreter ABI Platform
qe_rho-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 47.9 kB

Release files / qe-rho-1.0.6.tar.gz

Download URL qe-rho-1.0.6.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e231c52bc65a6ed9ae5f6ec62add3ddbbfef7c10b46b5f80d5d28070938d4a40
BLAKE2b-256 checksum
How to use checksums
7e891b94b42d553dc9451a95d65ae7da66f0bcaefef05119f44ad6008b1fc943
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / qe_rho-1.0.6-py3-none-any.whl

Download URL qe_rho-1.0.6-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18041c2d2f3fbfce42de6afd976f955e24e1fafd34a84b749535425486aa4f1a
BLAKE2b-256 checksum
How to use checksums
3df2c6a4be3b94e42b4544184216323eaea8af590fb7517da6a4cdf523e79aa8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page