devctrl.data.spectrum.transforms#

Apply mathematical operations to spectral data.

Next to the transforms defined here, this module exposes all transforms from devctrl.data.transforms, but configured to automatically ignore the “E” and “wl” columns.

See Transforms for more information.

Functions

auto_smoothen_spectra

Apply smoothing to all columns except skipcols.

get_savgol_window_length

Determine the window length of the Savitzky-Golay filter.

interpolate_to_energies

Interpolate spectrum data and sample all data columns at certain energies.

interpolate_to_wavelengths

Interpolate spectrum data and sample all data columns at certain wavelengths.

kk

Kramers-Kronig transform the <key> column of the spectral data.

kk_imag2real

kk_real2imag

make_const_energy_interval_spectrum

Return data that has regularly spaced energy intervals and is increasing in energy.