mirror of
https://github.com/vale981/bandfit
synced 2025-03-04 17:11:38 -05:00
pass kwargs through to scipy peak finding
This commit is contained in:
parent
d89f11ae35
commit
260aa1d302
1 changed files with 4 additions and 1 deletions
|
@ -104,7 +104,10 @@ def detect_bands_fixed_k(
|
|||
e_axis = np.arange(col.size)
|
||||
|
||||
guesses, props = sc.signal.find_peaks(
|
||||
col, distance=max(2, last_separation * separation_continuity), height=min_height
|
||||
col,
|
||||
distance=max(2, last_separation * separation_continuity),
|
||||
height=min_height,
|
||||
**kwargs
|
||||
)
|
||||
means = guesses[:, None] + guesses[None, :]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue