prsctrl.data.calc.calc_modulus_spectrum#

calc_modulus_spectrum(data: PrsData, which_real='dI-X_I', extra_cols=['wl', 'E'], **get_spectrum_kw)[source]#

Calculate the modulus spectrum. The modulus spectrum is the modulus of the real spectrum and an imaginary spectrum, which is obtained from the real spectrum via Kramers-Kronig transformation. See T. J. C. HOSEA in phys. stat. sol. (b) 182, K43 (1994)

The function returns spectrum data with two additional columns: <which_real>-imag, the imaginary spectrum from KK, and L, the modulus spectrum.

Parameters:

which_real – Which column to use as real spectrum. Use either dI_I, dI-X_I (default) or dI-Y_I

Returns:

spectrum data, columns