prsctrl.data.calc#

Functions

calc_absorption_data

Calculate the absorption data from reflection, transmission and reference data (normalization data).

calc_modulus_spectrum

Calculate the modulus spectrum.

find_outliers

Set outlier points to nan.

get_scale

Calculate how the data should be scaled, so that all measurements can be compared against each other.

remove_invalid_points_from_spectrum

Remove some points that are very likely not physical: - I (DC) is lower than 10 mV (default) - I (DC) is larger than 10 V (default)

remove_noisy_points_from_spectrum

Remove points that are dominated by noise.

remove_outliers

Set outlier points to nan.

remove_spectrum_outliers

Set outlier points to nan.

transform_add_modulus_spectrum

A version of calc_modulus_spectrum that can be used as a transform in get_spectrum_data.