Skip to main content

Package for spin-dependent d-band center app

Project description

Spin Dependent d-band Center

A simple Python/Tkinter GUI to compute spin-resolved and effective d-band centers directly from a VASP DOSCAR (ISPIN=2, LORBIT=11).

Features

  • Load a DOSCAR (ISPIN=2, LORBIT=11).
  • Select atom range (1-based, inclusive).
  • Compute:
    • Spin-up d-band center ($\varepsilon_{d\uparrow}$)
    • Spin-down d-band center ($\varepsilon_{d\downarrow}$)
    • Effective d-band center ($\varepsilon_{\mathrm{eff}}$)
    • Hammer–Nørskov d-band center, $\varepsilon_{\mathrm{HN}}$
    • Fractional occupations $f_\uparrow$, $f_\downarrow$

Equations

Let energies be aligned such that (E_F = 0), i.e., we use (E - E_F) internally.

  • Spin-resolved d-band centers (integrated over the full energy grid):

$$ \varepsilon_{d\sigma} = \frac{\int_{-\infty}^{+\infty} E D_{d\sigma}(E - E_F) dE} {\int_{-\infty}^{+\infty} D_{d\sigma}(E - E_F) dE} $$

  • Fractional occupations (integrated up to the Fermi level):

$$ f_\sigma = \frac{1}{N_{\text{atoms}}\times 5} \int_{-\infty}^{E_F} D_{d\sigma}(E) dE \quad (E_F = 0) $$

  • Effective d-band center (Bhattacharjee, S., Waghmare, U. & Lee, SC. An improved d-band model of the catalytic activity of magnetic transition metal surfaces. Sci Rep 6, 35916 (2016). https://doi.org/10.1038/srep35916):

$$ \varepsilon_{\mathrm{eff}} = \frac{f_\uparrow\varepsilon_{d\uparrow} + f_\downarrow \varepsilon_{d\downarrow}} {f_\uparrow + f_\downarrow}-(\varepsilon_{d\downarrow} - \varepsilon_{d\uparrow}) \frac{f_\uparrow - f_\downarrow}{f_\uparrow + f_\downarrow} $$

  • Hammer–Nørskov d-band center (spin-summed, full energy range):

$$ \varepsilon_{\mathrm{HN}} = \frac{\int E \big(D_{d\uparrow}(E)+D_{d\downarrow}(E)\big) dE} {\int \big(D_{d\uparrow}(E)+D_{d\downarrow}(E)\big) dE} $$

Optionally, the reduced fractional occupation is

$$ \mu = \frac{f_\uparrow - f_\downarrow}{f_\uparrow + f_\downarrow}. $$

Installation

  • Python 3.8+ (standard library only).
  • Tkinter must be available (usually bundled with Python). On Debian/Ubuntu:
    • sudo apt-get install python3-tk

For ubuntu

  • Just type in your terminal:

    sudo apt update

    pip install --upgrade Spin-dependent-d-band-center

  • Then in bash type:

    d-band-satadeep

--> This will launch the application (see the pic below)

Usage

python3 d-band.py
  • Click “Browse…” and select your DOSCAR (generated with ISPIN=2, LORBIT=11).
  • Enter the atom range (e.g., 17 to 24).
  • Click “Compute”.
  • Once executed the window will look like the following:
image

Notes

  • The app shifts energies so that (E_F=0). Integrals for (f_\sigma) run from the grid minimum to 0; centers use the full grid range.
  • The code aggregates the five d-orbitals (dxy, dyz, dz2, dxz, dx2) for each spin channel.
  • Results shown in eV.

Credits

Created by Satadeep Bhattacharjee, IKST, Bangalore

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spin_dependent_d_band_center-1.0.5.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spin_dependent_d_band_center-1.0.5-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file spin_dependent_d_band_center-1.0.5.tar.gz.

File metadata

File hashes

Hashes for spin_dependent_d_band_center-1.0.5.tar.gz
Algorithm Hash digest
SHA256 b700f5687a703c8bffd73dd4f4c6e4eb1ff8a2ae6f4d32f1c252de97be158d6e
MD5 90b9bd032b548bad064ade8284da0bda
BLAKE2b-256 7e1cd098445ed5a5be34d64d8ffa0dd253b2138e1dd2afdc7181170e9150ccb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for spin_dependent_d_band_center-1.0.5.tar.gz:

Publisher: publish.yml on sata-deep/Spin-dependent-d-band-center-App

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spin_dependent_d_band_center-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for spin_dependent_d_band_center-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6952ea3316bfa5d150434c7bc596f0fb4f7b00a072c8af1b493eb643c8ef5e49
MD5 c9f0c465a7926bb71bc4681fd74e8c3f
BLAKE2b-256 f909e1064eab8c03ff68f694fdd943ca246e1742d2c53f1734f098d785696d8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for spin_dependent_d_band_center-1.0.5-py3-none-any.whl:

Publisher: publish.yml on sata-deep/Spin-dependent-d-band-center-App

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page