Skip to content

Commit

Permalink
refactor: renamed window_length in docstring to window_size
Browse files Browse the repository at this point in the history
  • Loading branch information
MothNik committed May 24, 2024
1 parent 109be51 commit 124cf50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chemotools/smooth/_whittaker_smooth.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def transform(
considerations are not appropriate and replicate measurements are not available/
feasible. In such scenarios, the weights can still be estimated by making use of
the function :func:`chemotools.smooth.estimate_noise_stddev` with a `power=-2`.
It relies on the parameter ``window_length`` to estimate the local/global noise
It relies on the parameter ``window_size`` to estimate the local/global noise
standard deviation of the spectrum, but please refer to the documentation of the
function for further details.
Expand Down Expand Up @@ -362,7 +362,7 @@ def fit_transform(
considerations are not appropriate and replicate measurements are not available/
feasible. In such scenarios, the weights can still be estimated by making use of
the function :func:`chemotools.smooth.estimate_noise_stddev` with a `power=-2`.
It relies on the parameter ``window_length`` to estimate the local/global noise
It relies on the parameter ``window_size`` to estimate the local/global noise
standard deviation of the spectrum, but please refer to the documentation of the
function for further details.
Expand Down

1 comment on commit 124cf50

@paucablop
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha you were fast! 🏎️🏎️

Please sign in to comment.