DiscretePDFNearestNeighborSearcher

class pyirf.interpolation.DiscretePDFNearestNeighborSearcher(grid_points, bin_edges, bin_contents, norm_ord=2)[source]

Bases: BaseNearestNeighborSearcher

Dummy NearestNeighbor approach usable instead of actual Interpolation/Extrapolation. Compatible with discretized PDF IRF component API.