Description Usage Arguments Value
Fits smoothing splines to noisy observations of a curve and then regularises the curve by interpolating curve values over n_points equidistant points on along the x-axis.
1 2 | smooth_and_regularise(spectrum, observed_range = c(0, 250),
regularised_range = c(9, 212), n_points = 208)
|
observed_range |
The range over which the noisy input curve is observed at equidistant points. |
regularised_range |
The range over which the smoothed representation of the curve is to be regularised to. |
n_points |
Number of equidistant points along the x axis to evaluate the smoothed curve at. |
A smoothed and regularised representation of the input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.