smooth_and_regularise: Curve Smoothing and Regularisation

Description Usage Arguments Value

Description

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.

Usage

1
2
smooth_and_regularise(spectrum, observed_range = c(0, 250),
  regularised_range = c(9, 212), n_points = 208)

Arguments

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.

Value

A smoothed and regularised representation of the input.


jpmeagher/sdsBAT documentation built on May 5, 2019, 3:50 a.m.