PAOFLOW.SocFitter#
Classes#
Compare fully relativistic (FR) DFT bands against PAOFLOW bands (SR) |
Functions#
|
|
|
|
|
|
|
|
|
|
|
|
|
The soc ={} dict contains an approximate value for the soc strenght for desired shell, |
|
|
Module Contents#
- class PAOFLOW.SocFitter.soc_fitter(pao_sr, bands_soc_path, orb={}, ibrav=0, fermi_level=0, nkpts=100, guess=0.2, N_extra_bands=0)[source]#
- Compare fully relativistic (FR) DFT bands against PAOFLOW bands (SR)
to fit and extract ad-hoc Spin-Orbit Coupling (SOC) strength parameters for target orbitals.
>>> from PAOFLOW.SocFitter import soc_fitter >>> fitter = soc_fitter( ... pao_sr=paoflow_obj, ... bands_soc_path='./Al-fr.gnu', ... orb={"Al": ["3P"]}, ... ibrav=1, ... fermi_level=5.6253 ... )
- pao_srPAOFLOW
A initialized scalar-relativistic PAOFLOW instance containing core electronic structure and data-controller dictionaries.
- bands_soc_pathstr
Path to the text dat file containing the fully-relativistic (FR) reference DFT bands (e.g., Quantum ESPRESSO .gnu or .dat output). Run write_QE_path=True with paoflow before doing the FR DFT
- orbdict, optional
Dictionary mapping element symbols to lists of targeted orbital shell labels for SOC fitting (e.g.,
{"Al": ["3P"], "Pt": ["5D"]}). Default is{}.- ibravint, optional
Bravais lattice index for PAOFLOW band structure generation. Default is
0.- fermi_levelfloat, optional
Fermi energy (in eV) used to shift reference bands relative to $E_F$. Default is
0.- nkptsint, optional
Number of $k$-points to evaluate along the band path. Default is
100.- guessfloat, optional
Initial estimate or scaling multiplier for the fitting parameters. Default is
0.2.- N_extra_bandsint, optional
Number of extra bands beyond the total electron count (
nelec) to include in the fitting energy window. Default is0.
- pao_srPAOFLOW
Reference scalar-relativistic PAOFLOW object.
- pao_fit_srPAOFLOW
Working PAOFLOW object used during optimization cycles.
- nkptsint
Number of k-points along the high-symmetry path.
- soc_shell_dictdict
Binary shell-weight masks per element indicating which orbitals undergo SOC fitting.
- which_pdf_dictdict
Mapping of element to orbital angular momentum indices (0=P, 1=D, 2=F) subject to SOC.
- ibravint
Bravais lattice flag.
- begin_bnd_fitint
Index of the lowest energy band included in the fitting window.
- end_bnd_fitint
Index of the highest band included in the fitting window (
nelec + N_extra_bands).- Effloat
Fermi energy applied to the system.
- guessfloat
Initial parameter guess provided during setup.
- FR_bandsnumpy.ndarray
Array of shape
(nkpts, nbands)holding aligned reference DFT SOC band energies.- soc_strengh_dictdict
Fitted SOC parameters xi (in eV) per element and orbital type after optimization.