MomentMorphNearestSimplexExtrapolator

class pyirf.interpolation.MomentMorphNearestSimplexExtrapolator(grid_points, bin_edges, bin_contents)[source]

Bases: DiscretePDFExtrapolator

Methods Summary

extrapolate(target_point)

Takes a grid of discretized PDFs for a bunch of different parameters and extrapolates it to given value of those parameters.

Methods Documentation

extrapolate(target_point)[source]

Takes a grid of discretized PDFs for a bunch of different parameters and extrapolates it to given value of those parameters.

Parameters:
target_point: numpy.ndarray

Value for which the extrapolation is performed (target point)

Returns:
values: numpy.ndarray, shape=(1, …, M)

Extrapolated discretized PDFs