pybaselines.utils
Helper functions for pybaselines.
Created on March 5, 2021 @author: Donald Erb
Exceptions
Warning issued when a parameter value is outside of the recommended range. |
|
Issued when assume_sorted is set to True and inputs are not in ascending order. |
Functions
Creates an n-order finite-difference matrix. |
|
Generates a Gaussian distribution based on height, center, and sigma. |
|
Generates a Gaussian distribution based on height, center, and sigma. |
|
Creates an area-normalized gaussian kernel for convolution. |
|
Optimizes the morphological half-window size. |
|
Adds left and right edges to the data. |
|
Adds left, right, top, and bottom edges to the data. |
|
Pads data before convolving to reduce edge effects. |
|
Smooths the input data using Penalized Spline smoothing. |
|
Calculates the relative difference, |
|
Smooths the input data using Whittaker smoothing. |