Skip to content

Commit

Permalink
LINT
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhi committed Oct 8, 2024
1 parent 88ae320 commit c4a9ba4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/raman_analysis/baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"baseline",
]


def baseline(spectra: np.ndarray, method: str = "arpls", **params: Any) -> np.ndarray:
"""
Calculate the baseline of [many] spectra using pybaselines.
Expand Down Expand Up @@ -36,4 +37,4 @@ def baseline(spectra: np.ndarray, method: str = "arpls", **params: Any) -> np.nd

for i, spec in enumerate(spectra):
baselines[i], w = baseline_func(spec, **params)
return baselines.squeeze()
return baselines.squeeze()

0 comments on commit c4a9ba4

Please sign in to comment.