devctrl.data.spectrum.transforms.kk#

kk(sdata: ndarray[tuple[Any, ...], dtype[_ScalarT]], columns: list[str], key='dI_I', which='real2imag', **const_E_kw)[source]#

Kramers-Kronig transform the <key> column of the spectral data. Spectrum data must contain energy “E” column Before the transformation the data is linearly interpolated to have constant energy intervals. All other data columns (except for wl and E) will be set to 0.