From 216325ebf4bbe3879c70087597e6918e7aa5a645 Mon Sep 17 00:00:00 2001 From: linarphy Date: Wed, 24 May 2023 15:13:29 +0200 Subject: [PATCH] Update get_extremities args --- ETA.py | 2 +- wavelength_calibration.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ETA.py b/ETA.py index 9d4ed13..234b21c 100644 --- a/ETA.py +++ b/ETA.py @@ -404,7 +404,7 @@ if calibration != None: 'first': 3 , 'last': 20, } - first , last = wave_calib.get_extremities( peakless_up , peaks_up , mean_up ) + first , last = wave_calib.get_extremities( peakless_up , peaks_up ) up = { 'first': first, 'last' : last , diff --git a/wavelength_calibration.py b/wavelength_calibration.py index 0965ce7..9402c07 100644 --- a/wavelength_calibration.py +++ b/wavelength_calibration.py @@ -22,7 +22,7 @@ def remove_peaks( signal , peaks ): return sig.medfilt( peakless_signal , 111 ) -def get_extremities( signal , peaks , temp ): +def get_extremities( signal , peaks ): """ It's possible to have an idea of the part the spectrum begins with the small large peak at the start of it, the peak at 3810 A should be inside