Update get_extremities args

This commit is contained in:
linarphy 2023-05-24 15:13:29 +02:00
parent ceaeccde3a
commit 216325ebf4
No known key found for this signature in database
GPG key ID: 3D4AAAC3AD16E79C
2 changed files with 2 additions and 2 deletions

2
ETA.py
View file

@ -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 ,

View file

@ -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