pdf
Linear interpolation approximation for PDF.
- class pysatl_core.transformations.approximations.linear_interpolations.pdf.PDFLinearInterpolationApproximation(*, n_grid=513, lower_limit=None, upper_limit=None)[source]
Bases:
objectApproximate PDF with piecewise-linear interpolation on a finite grid.
- Parameters:
n_grid (
int, default513) – Number of interpolation nodes.lower_limit (
floatorNone, optional) – Left interpolation bound. IfNone, it is inferred from finite support when available, otherwise a large negative constant is used.upper_limit (
floatorNone, optional) – Right interpolation bound. IfNone, it is inferred from finite support when available, otherwise a large positive constant is used.
- approximate(distribution, **options)[source]
Approximate PDF for a distribution.
- Return type:
- Parameters:
distribution (DerivedDistribution)
options (Any)