prsctrl.data.calc.remove_invalid_points_from_spectrum#

remove_invalid_points_from_spectrum(spectrum_data: ndarray, columns: list[str], I_low_threshold=0.01, I_high_threshold=10.0)[source]#

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)