A python-solver for Tanabe-Sugano and Energy-Correlation diagrams
Project description
🔬 TanabeSugano
A Python-based Eigensolver for Tanabe-Sugano & Energy-Correlation Diagrams
Interactive visualization of d-orbital splitting in transition metal complexes
📊 Build & Quality
📦 Package Info
📚 Resources
🚀 Quick Start • ✨ Features • 📖 Documentation • 🎨 Examples • 🤝 Contributing
📋 Table of Contents
- Overview
- Quick Start
- Features
- Usage
- Examples
- Interactive Diagrams
- Scientific Background
- Contributing
- Citation
- License
🌟 Overview
TanabeSugano is a comprehensive Python package for calculating and visualizing Tanabe-Sugano and Energy-Correlation diagrams for d2-d8 transition metal ions. Based on the pioneering work of Yukito Tanabe and Satoru Sugano, this tool provides both computational accuracy and interactive visualization capabilities.
Why TanabeSugano?
- 🎯 Accurate Calculations - Based on rigorous quantum mechanical principles
- 📊 Beautiful Visualizations - Generate publication-quality diagrams
- 🔄 Interactive Exploration - Explore diagrams with Plotly integration
- 🚀 Easy to Use - Simple CLI and Python API
- 📱 Cloud-Ready - Run in Google Colab or locally
🚀 Quick Start
Installation
Choose your preferred installation method:
# 📦 Install from PyPI (recommended)
pip install TanabeSugano
# 🔧 Install with interactive plotting support
pip install TanabeSugano[plotly]
# 🌐 Install from GitHub (latest development version)
pip install git+https://github.com/Anselmoo/TanabeSugano.git
Basic Usage
Generate a Tanabe-Sugano diagram in seconds:
# Generate diagram for d6 configuration
tanabesugano -d 6
# Customize parameters
tanabesugano -d 6 -Dq 8000 -B 860 1.0 -C 3850 1.0
✨ Features
📊 Visualization
|
⚙️ Calculations
|
🎯 Supported Systems
|
📤 Export Options
|
📖 Usage
Command Line Interface
🔧 View all CLI options
tanabesugano --help
usage: __main__.py [-h] [-d D] [-Dq DQ] [-cut CUT] [-B B B] [-C C C] [-n N]
[-ndisp] [-ntxt] [-slater]
optional arguments:
-h, --help show this help message and exit
-d D Number of unpaired electrons (default d5)
-Dq DQ 10Dq crystal field splitting (default 10Dq = 8065 cm-)
-cut CUT 10Dq crystal field splitting (default 10Dq = 8065 cm-)
-B B B Racah Parameter B and the corresponding reduction (default B = 860 cm- * 1.)
-C C C Racah Parameter C and the corresponding reduction (default C = 4.477*860 cm- * 1.)
-n N Number of roots (default nroots = 500)
-ndisp Plot TS-diagram (default = on)
-ntxt Save TS-diagram and dd energies (default = on)
-slater Using Slater-Condon F2,F4 parameter instead Racah-Parameter B,C (default = off)
-v, --version Print version number and exit
-html Save TS-diagram and dd energies (default = on)
Python API
from tanabesugano import TanabeSugano
# Create a d6 configuration
ts = TanabeSugano(d=6, Dq=8065, B=860, C=3850)
# Generate and display diagram
ts.plot()
# Export to HTML for interactive use
ts.export_html('d6_diagram.html')
🎨 Examples
Static Matplotlib Plot
High-quality diagram for d6 configuration with B = 860 cm⁻¹ and C = 3850 cm⁻¹:
Figure: Tanabe-Sugano diagram showing energy levels as a function of crystal field strength
Interactive Plotly Visualization
Interactive diagram for d6 with Slater-Condon parameters F² = 1065 cm⁻¹ and F⁴ = 5120 cm⁻¹:
Figure: Interactive diagram with hover tooltips and zoom capabilities
🌐 Interactive Diagrams
✨ NEW: Explore all Tanabe-Sugano diagrams online!
All diagrams (d² through d⁸) are now available on our interactive GitHub Pages site with full Plotly integration:
🔗 View Interactive Diagrams →
No installation required - just click and explore!
📚 Scientific Background
This implementation is based on the seminal work of Yukito Tanabe and Satoru Sugano:
📄 Original Publications
📖 Paper I: Absorption Spectra of Complex Ions
Authors: Yukito Tanabe, Satoru Sugano
Journal: Journal of the Physical Society of Japan, Vol. 9, pp. 753-766 (1954)
DOI: 10.1143/JPSJ.9.753
Link: https://journals.jps.jp/doi/10.1143/JPSJ.9.753
📖 Paper II: Absorption Spectra of Complex Ions
Authors: Yukito Tanabe, Satoru Sugano
Journal: Journal of the Physical Society of Japan, Vol. 9, pp. 766-779 (1954)
DOI: 10.1143/JPSJ.9.766
Link: https://journals.jps.jp/doi/10.1143/JPSJ.9.766
📖 Paper III: Calculation of Crystalline Field Strength
Authors: Yukito Tanabe, Satoru Sugano
Journal: Journal of the Physical Society of Japan, Vol. 11, pp. 864-877 (1956)
DOI: 10.1143/JPSJ.11.864
Link: https://journals.jps.jp/doi/10.1143/JPSJ.11.864
🤝 Contributing
We welcome contributions! Whether you're fixing bugs, adding features, or improving documentation, your help is appreciated.
- 📖 Read our Contributing Guide
- 🐛 Report issues on GitHub Issues
- 💡 Suggest features or improvements
- 🔧 Submit pull requests
📝 Citation
If you use TanabeSugano in your research, please cite:
@software{tanabesugano,
author = {Anselm Hahn},
title = {TanabeSugano: Python-based Eigensolver for Tanabe-Sugano Diagrams},
year = {2024},
publisher = {Zenodo},
doi = {10.5281/zenodo.206847682},
url = {https://github.com/Anselmoo/TanabeSugano}
}
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for the scientific community
⭐ Star us on GitHub — it helps!
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 tanabesugano-1.6.1.tar.gz.
File metadata
- Download URL: tanabesugano-1.6.1.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09f586db38ead720011e6b3880c088a3b210fb3ec308ab125eae067a6541d2e8
|
|
| MD5 |
6256daf3fdff8a84f51caf351a0ab2e0
|
|
| BLAKE2b-256 |
3284a3c02734e4be6f90664115dc0e8ec04ad45969907171ddbf2cc429a8d081
|
Provenance
The following attestation bundles were made for tanabesugano-1.6.1.tar.gz:
Publisher:
python-publish.yml on Anselmoo/TanabeSugano
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tanabesugano-1.6.1.tar.gz -
Subject digest:
09f586db38ead720011e6b3880c088a3b210fb3ec308ab125eae067a6541d2e8 - Sigstore transparency entry: 700027277
- Sigstore integration time:
-
Permalink:
Anselmoo/TanabeSugano@5831eda483e3b123394ce7eedbbb5ff790d497f7 -
Branch / Tag:
refs/tags/v1.6.1 - Owner: https://github.com/Anselmoo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5831eda483e3b123394ce7eedbbb5ff790d497f7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tanabesugano-1.6.1-py3-none-any.whl.
File metadata
- Download URL: tanabesugano-1.6.1-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3de1c56977e7c22cb963d95670e03c4710e424f1ec4e18763eb074875a6f2344
|
|
| MD5 |
87f8f6a1073f9153c42f13cc4b8f996a
|
|
| BLAKE2b-256 |
e24fef5014cd95c52e84608eac86cfdcdee1f28b97c2d93d00123b59a9093df9
|
Provenance
The following attestation bundles were made for tanabesugano-1.6.1-py3-none-any.whl:
Publisher:
python-publish.yml on Anselmoo/TanabeSugano
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tanabesugano-1.6.1-py3-none-any.whl -
Subject digest:
3de1c56977e7c22cb963d95670e03c4710e424f1ec4e18763eb074875a6f2344 - Sigstore transparency entry: 700027291
- Sigstore integration time:
-
Permalink:
Anselmoo/TanabeSugano@5831eda483e3b123394ce7eedbbb5ff790d497f7 -
Branch / Tag:
refs/tags/v1.6.1 - Owner: https://github.com/Anselmoo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5831eda483e3b123394ce7eedbbb5ff790d497f7 -
Trigger Event:
push
-
Statement type: