Slater-type orbital slice visualizer with effective nuclear charge
Project description
slater-orbital
slater-orbital is a Python package with CLI and Tkinter GUI for visualizing
2D orbital slices. It keeps the plotting experience close to the
H-orbital program while replacing the right panel with multi-electron
Slater-type orbital (STO) models based on effective nuclear charge.
Project version: 0.3
Scientific basis
The program provides three effective-charge models, based on four key papers:
slater_rules: classical Slater shielding model.clementi1963: SCF STO exponents from Clementi-Raimondi (1963), extended by Clementi-Raimondi-Reinhardt (1967); internal conversion usesZeff = n * xi.guerra2017: tabulated relativistic Dirac-Fock effective charges.
Wavefunction form:
[ \psi(r,\theta,\phi)=R_{\mathrm{STO}}(r; n,\zeta),Y_l^m(\theta,\phi), \quad \zeta=\frac{Z_{\mathrm{eff}}}{n} ]
Model coverage in GUI
slater_rules:Z = 2..36clementi1963:Z = 2..86guerra2017:Z = 2..118
When clementi1963 is used for ions (charge != 0), the code applies an ion
correction using the Slater-model delta Zeff.
Features
- CLI rendering modes:
density,real,imag,radial_distribution - Slice controls:
--plane,--value,--range,--points - Effective-charge controls:
--element,--electrons,--model,--zeta - Radial comparison mode:
--compare-electrons 1,2,8,... - GUI side-by-side comparison:
- left panel fixed to analytic hydrogen
- right panel selectable element/charge/model
- auto-refresh on parameter changes
Installation
python -m pip install -e .
Development install:
python -m pip install -e '.[dev]'
Quick start
CLI:
# O atom (neutral), 2p(m=0) real-part slice
slater-orbital 2 1 0 --element 8 --electrons 8 --mode real --plane z --value 0
# Compare radial profile during filling
slater-orbital 2 0 0 --element 8 --mode radial_distribution --compare-electrons 1,2,4,6,8
# Use Guerra model
slater-orbital 2 1 0 --element 8 --electrons 8 --model guerra2017 --mode real
GUI:
slater-orbital-ui
Test
python -m pytest
Code layout
slater_orbital/analytic.py: STO and hydrogen analytic wavefunctionsslater_orbital/slater.py: Zeff model dispatcher and Clementi ion correctionslater_orbital/clementi_data.py: Clementi 1963/1967 exponent tablesslater_orbital/guerra_data.py: Guerra 2017 Zeff tablesslater_orbital/cli.py: command-line plotting entrypointslater_orbital/gui.py: side-by-side GUI applicationslater_orbital/plotting.py: Matplotlib rendering helpersslater_orbital/slicing.py: plane grid and spherical transform helpersslater_orbital/modes.py: complex field mode mappingslater_orbital/auto_settings.py: automatic extent/plane selectionslater_orbital/electron_config.py: aufbau occupation helpersslater_orbital/quantum_numbers.py: quantum number parsing and validationslater-orbital,slater-orbital-ui: launcher scripts
Detailed file-level notes: docs/FILES.md
GitHub and PyPI release checklist (v0.3)
# 1) clean env and install build tools
python -m pip install --upgrade build twine
# 2) run tests
python -m pytest
# 3) build distributions
python -m build
# 4) verify package metadata
python -m twine check dist/*
# 5) upload to PyPI (or TestPyPI first)
python -m twine upload dist/*
For GitHub release:
- Create tag
v0.3 - Push tag and release notes
- Attach source/wheel artifacts from
dist/if desired
References
- Slater, J. C. (1930). Atomic Shielding Constants. Phys. Rev. 36, 57-64.
- Clementi, E.; Raimondi, D. L. (1963). Atomic Screening Constants from SCF Functions. J. Chem. Phys. 38, 2686-2689.
- Clementi, E.; Raimondi, D. L.; Reinhardt, W. P. (1967). Atomic Screening Constants from SCF Functions. II. J. Chem. Phys. 47, 1300-1307.
- Guerra, M.; Gaudreau, P.; et al. (2017). Relativistic atomic screening constants from Dirac-Fock calculations. At. Data Nucl. Data Tables 117-118.
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
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
File details
Details for the file slater_orbital-0.3.tar.gz.
File metadata
- Download URL: slater_orbital-0.3.tar.gz
- Upload date:
- Size: 37.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ddc05eb150010cf81b377d2f63a272d4c968af59844c8f088f6079df9faf334
|
|
| MD5 |
2e93cd4c82b72458c07d8f598e870d52
|
|
| BLAKE2b-256 |
8b56ab3196651078dbece6307df4d5793ae69eccaaff1a9c07d3ea8225e20717
|
File details
Details for the file slater_orbital-0.3-py3-none-any.whl.
File metadata
- Download URL: slater_orbital-0.3-py3-none-any.whl
- Upload date:
- Size: 38.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46f33b29b4f359d763e2683b9677c573c582b6918ec8f06150eda517adc3c5de
|
|
| MD5 |
258cdc6a311d115b0cf6b9a0a6ba0a7f
|
|
| BLAKE2b-256 |
c96e5dee698f81d9e44ae4e7c003708a17cd3c484ccebfcc0d0545e80f83af67
|