A python library to generate spline basis functions. Check out examples in the notebooks.
From PyPi: pip install spline-basis
Currently supported basis functions:
-
$\mathrm{M}$ -Splines: Non-negative spline functions which integrate to 1 over the support of the basis function. -
$\mathrm{I}$ -Splines: Monotone spline functions defined as the integral of M-splines.
Notes:
- The M/I splines are based on
Ramsay (1988)
and thePraat manual
. This specific implementation is a jit-compiled version of the implementation in thedms_variants
python package but with a different API (dms_variants
Source Code).
TODO:
- Enable
cahe=True
fornb.jit
- replace asserts with exceptions.
maintainer: Biprateep Dey
contact: [email protected]