class documentation

class TestInterp: (source)

View In Hierarchy

Undocumented

Method sc scale function used by the below tests
Method test_basic Undocumented
Method test_complex_interp Undocumented
Method test_exceptions Undocumented
Method test_if_len_x_is_small Undocumented
Method test_non_finite_any_nan test that nans are propagated
Method test_non_finite_behavior_exact_x Undocumented
Method test_non_finite_half_inf_f Test interp where the f axis has a bound at inf
Method test_non_finite_half_inf_x Test interp where the x axis has a bound at inf
Method test_non_finite_half_inf_xf Test that interp where both axes have a bound at inf gives nan
Method test_non_finite_inf Test that interp between opposite infs gives nan
Method test_period Undocumented
Method test_right_left_behavior Undocumented
Method test_scalar_interpolation_point Undocumented
Method test_zero_dimensional_interpolation_point Undocumented
@pytest.fixture(params=[(lambda x: np.float_(x)), (lambda x: _make_complex(x, 0)), (lambda x: _make_complex(0, x)), (lambda x: _make_complex(x, np.multiply(x, -2)))], ids=['real', 'complex-real', 'complex-imag', 'complex-both'])
def sc(self, request): (source)

scale function used by the below tests

def test_basic(self): (source)

Undocumented

def test_complex_interp(self): (source)

Undocumented

def test_exceptions(self): (source)

Undocumented

def test_if_len_x_is_small(self): (source)

Undocumented

def test_non_finite_any_nan(self, sc): (source)

test that nans are propagated

def test_non_finite_behavior_exact_x(self): (source)

Undocumented

def test_non_finite_half_inf_f(self, sc): (source)

Test interp where the f axis has a bound at inf

def test_non_finite_half_inf_x(self, sc): (source)

Test interp where the x axis has a bound at inf

def test_non_finite_half_inf_xf(self, sc): (source)

Test that interp where both axes have a bound at inf gives nan

def test_non_finite_inf(self, sc): (source)

Test that interp between opposite infs gives nan

def test_period(self): (source)

Undocumented

def test_right_left_behavior(self): (source)

Undocumented

def test_scalar_interpolation_point(self): (source)

Undocumented

def test_zero_dimensional_interpolation_point(self): (source)

Undocumented