perturbopy.postproc.utils.spectra_plots

Utils for ultrafast spectroscopy: pump pulse generation and post-processing

Functions

animate_pump_pulse

Animate the pump pulse excitation for electrons and holes.

find_fwhm

Find the Full Width at Half Maximum (FWHM) for a single prominent peak y(x), using an Akima1DInterpolator to create a smooth spline, and root-finding (brentq) for a precise half-max crossing.

gaussian

Gaussian function.

plot_occ_ampl

Plot occupation amplitude.

plot_occs_on_bands

Plot the occupations created by a pump pulse on the bands.

plot_trans_abs_map

Plot the transient absorption map as a function of time (x-axis) and energy (y-axis).

update_scatter

Animate the pump pulse excitation for electrons and holes.