signal.tests.test_waveforms

Module Contents

Functions

chirp_linear(t,f0,f1,t1)
chirp_quadratic(t,f0,f1,t1,vertex_zero=True)
chirp_geometric(t,f0,f1,t1)
chirp_hyperbolic(t,f0,f1,t1)
compute_frequency(t,theta) Compute theta’(t)/(2*pi), where theta’(t) is the derivative of theta(t).
chirp_linear(t, f0, f1, t1)
chirp_quadratic(t, f0, f1, t1, vertex_zero=True)
chirp_geometric(t, f0, f1, t1)
chirp_hyperbolic(t, f0, f1, t1)
compute_frequency(t, theta)

Compute theta’(t)/(2*pi), where theta’(t) is the derivative of theta(t).

class TestChirp
test_linear_at_zero()
test_linear_freq_01()
test_linear_freq_02()
test_quadratic_at_zero()
test_quadratic_at_zero2()
test_quadratic_freq_01()
test_quadratic_freq_02()
test_logarithmic_at_zero()
test_logarithmic_freq_01()
test_logarithmic_freq_02()
test_logarithmic_freq_03()
test_hyperbolic_at_zero()
test_hyperbolic_freq_01()
test_hyperbolic_zero_freq()
test_unknown_method()
test_integer_t1()
test_integer_f0()
test_integer_f1()
test_integer_all()
class TestSweepPoly
test_sweep_poly_quad1()
test_sweep_poly_const()
test_sweep_poly_linear()
test_sweep_poly_quad2()
test_sweep_poly_cubic()
test_sweep_poly_cubic2()

Use an array of coefficients instead of a poly1d.

test_sweep_poly_cubic3()

Use a list of coefficients instead of a poly1d.

class TestGaussPulse
test_integer_fc()
test_integer_bw()
test_integer_bwr()
test_integer_tpr()
class TestUnitImpulse
test_no_index()
test_index()
test_mid()
test_dtype()