perturbopy.postproc.calc_modes.imsigma_spin.ImsigmaSpin
- class perturbopy.postproc.calc_modes.imsigma_spin.ImsigmaSpin(pert_dict)
Bases:
CalcModeClass representation of a Perturbo imsigma_spin calculation.
- kpt
Database for the k-points used in the imsigma_spin calculation, containing N points.
- Type:
- bands
Database for the band energies computed by the imsigma_spin calculation. The keys are the band index, and the values are an array (of length N) containing the energies at each k-point with units bands.units
- Type:
- temper
Dictionary of temperatures used in each configuration. The keys give the configuration number, and the values are floats giving the temperature (with units temper.units)
- Type:
- chem_pot
Dictionary of chemical potentials used in each configuration. The keys give the configuration number, and the values are floats giving the chemical potential (with units chem_pot.units)
- Type:
- imsigma
Dictionary of spin flip imaginary self-energies computed for each configuration. The top level keys are the configuration number, and the second level keys are the band index. The values are arrays of length N giving the imaginary self-energies along all the k-points at that band index for the configuration. Units are in imsigma.units.
- Type:
- imsigma_mode
Dictionary of spin flip imaginary self-energies resolved by phonon mode computed. The top level keys are the configuration number, and the second level keys are the band index. The third level keys are the phonon mode. Finally,the values are arrays of length N giving the imaginary self-energies along all the k-points due to the given phonon mode at that band index for the configuration. Units are in imsigma_mode.units.
- Type:
Methods
Class method to create a CalcMode object from the YAML file generated by a Perturbo calculation.
- classmethod from_yaml(yaml_path='pert_output.yml')
Class method to create a CalcMode object from the YAML file generated by a Perturbo calculation.
- Parameters:
yaml_path (str, optional) – Path to the YAML file generated by a Perturbo calculation
- Returns:
calc_mode – The CalcMode object generated from the YAML file
- Return type: