Curve fitting values are constrained in the range of ylu.
Only constrain trough value for a stable background value. But not for peak
value.
check_ylu(yfit, ylu)
| yfit | Numeric vector, curve fitting result |
|---|---|
| ylu | limits of y value, |
yfit, the numeric vector in the range of ylu.
#> [1] 2 2 3 4 5 6 7 8 9 10