bilby.core.utils.calculus.UnsortedInterp2d

class bilby.core.utils.calculus.UnsortedInterp2d(x, y, z, kind='linear', copy=True, bounds_error=False, fill_value=None)[source]

Bases: interp2d

__init__(x, y, z, kind='linear', copy=True, bounds_error=False, fill_value=None)[source]
__call__(x, y, dx=0, dy=0, assume_sorted=False)[source]

Modified version of the interp2d call method.

This avoids the outer product that is done when two numpy arrays are passed.

Parameters:
x: See superclass
y: See superclass
dx: See superclass
dy: See superclass
assume_sorted: bool, optional

This is just a place holder to prevent a warning. Overwriting this will not do anything

Returns:
array_like: See superclass

Methods

__init__(x, y, z[, kind, copy, ...])