pybaselines.spline

Functions for fitting baselines using splines.

Functions

corner_cutting

Iteratively removes corner points and creates a Bezier spline from the remaining points.

irsqr

Iterative Reweighted Spline Quantile Regression (IRSQR).

mixture_model

Considers the data as a mixture model composed of noise and peaks.

pspline_airpls

A penalized spline version of the airPLS algorithm.

pspline_arpls

A penalized spline version of the arPLS algorithm.

pspline_asls

A penalized spline version of the asymmetric least squares (AsLS) algorithm.

pspline_aspls

A penalized spline version of the asPLS algorithm.

pspline_brpls

A penalized spline version of the BrPLS algorithm.

pspline_derpsalsa

A penalized spline version of the derpsalsa algorithm.

pspline_drpls

A penalized spline version of the drPLS algorithm.

pspline_iarpls

A penalized spline version of the IarPLS algorithm.

pspline_iasls

A penalized spline version of the IAsLS algorithm.

pspline_lsrpls

A penalized spline version of the LSRPLS algorithm.

pspline_mpls

A penalized spline version of the morphological penalized least squares (MPLS) algorithm.

pspline_psalsa

A penalized spline version of the psalsa algorithm.