include peak detection in scheludko

This commit is contained in:
François Boulogne 2025-05-21 14:43:20 +02:00
parent 56aac01151
commit ccd1f2c1f0
7 changed files with 100 additions and 82 deletions

View file

@ -29,10 +29,6 @@ def test_minmax(spectrum_path, expected):
indice = 1.324188 + 3102.060378 / (lambdas**2)
prominence = 0.02
total_extrema, peaks_min, peaks_max = finds_peak(lambdas, smoothed_intensities,
min_peak_prominence=prominence,
plot=False)
thickness_minmax = thickness_from_minmax(lambdas,
smoothed_intensities,
refractive_index=indice,