Update get_extremities args
This commit is contained in:
parent
ceaeccde3a
commit
216325ebf4
2 changed files with 2 additions and 2 deletions
2
ETA.py
2
ETA.py
|
@ -404,7 +404,7 @@ if calibration != None:
|
||||||
'first': 3 ,
|
'first': 3 ,
|
||||||
'last': 20,
|
'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 = {
|
up = {
|
||||||
'first': first,
|
'first': first,
|
||||||
'last' : last ,
|
'last' : last ,
|
||||||
|
|
|
@ -22,7 +22,7 @@ def remove_peaks( signal , peaks ):
|
||||||
|
|
||||||
return sig.medfilt( peakless_signal , 111 )
|
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
|
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
|
small large peak at the start of it, the peak at 3810 A should be inside
|
||||||
|
|
Loading…
Reference in a new issue