Absorption Spectra

class aimstools.dielectric_function.absorption.AbsorptionSpectrum(outputfile)[source]

Analysis and plotting of absorption spectrum via the linear macroscopic dielectric function.

get_absorption_files()[source]
plot(axes=None, components=['xx', 'yy', 'zz', 'total'], colors=[], labels=[], energy_unit='nm', window='visible', **kwargs)[source]

Plots absorption spectrum.

Parameters:
  • components (list) – Directions of absorption coefficient.
  • colors (list) – List of colors per component.
  • labels (list) – List of labels per component.
  • energy_unit (str) – Currently supported are ‘nm’, ‘eV’. Default is ‘nm’.
  • window (str) – Currently supported is ‘visible’. Sets energy limits according to visible range.
  • **kwargs (dict) – Passed to matplotlib line plot function.
Returns:

axes – matplotlib axes object.

read_absorption_files()[source]