interpolate.tests.test_fitpack

Module Contents

Classes

TestSmokeTests() Smoke tests (with a few asserts) for fitpack routines – mostly
TestSplev()
TestSplder()
TestBisplrep()

Functions

data_file(basename)
norm2(x)
f1(x,d=0)
f2(x,y=0,dx=0,dy=0)
makepairs(x,y) Helper function to create an array of pairs of x and y.
put(*a) Produce some output if file run directly
test_dblint()
test_splev_der_k()
test_bisplev_integer_overflow()
data_file(basename)
norm2(x)
f1(x, d=0)
f2(x, y=0, dx=0, dy=0)
makepairs(x, y)

Helper function to create an array of pairs of x and y.

put(*a)

Produce some output if file run directly

class TestSmokeTests

Smoke tests (with a few asserts) for fitpack routines – mostly check that they are runnable

check_1(f=f1, per=0, s=0, a=0, b=None, N=20, at=0, xb=None, xe=None)
check_2(f=f1, per=0, s=0, a=0, b=None, N=20, xb=None, xe=None, ia=0, ib=None, dx=None)
check_3(f=f1, per=0, s=0, a=0, b=None, N=20, xb=None, xe=None, ia=0, ib=None, dx=None)
check_4(f=f1, per=0, s=0, a=0, b=None, N=20, xb=None, xe=None, ia=0, ib=None, dx=None)
check_5(f=f2, kx=3, ky=3, xb=0, xe=None, yb=0, ye=None, Nx=20, Ny=20, s=0)
test_smoke_splrep_splev()
test_smoke_splint_spalde()
test_smoke_sproot()
test_smoke_splprep_splrep_splev()
test_smoke_bisplrep_bisplev()
class TestSplev
test_1d_shape()
test_2d_shape()
test_extrapolation_modes()
class TestSplder
setup_method()
test_inverse()
test_splder_vs_splev()
test_splantider_vs_splint()
test_order0_diff()
test_kink()
test_multidim()
class TestBisplrep
test_overflow()
test_regression_1310()
test_dblint()
test_splev_der_k()
test_bisplev_integer_overflow()