API documentation¶
pdf¶
Core logic for the pdf definition.
-
class
pdf.ProbabilityDensityFunction(x, y, k=3)[source]¶ Class describing a probability density function.
Parameters: - x (array-like) – The array of x values to be passed to the pdf, assumed to be sorted.
- y (array-like) – The array of y values to be passed to the pdf.
- k (int) – The order of the splines to be created.