Skip to content

Documentation Tests #37

Documentation Tests

Documentation Tests #37

GitHub Actions / Test Results failed Apr 16, 2024 in 0s

4 fail, 1 184 skipped, 280 pass in 9m 57s

1 468 tests     280 ✅  9m 57s ⏱️
    1 suites  1 184 💤
    1 files        4 ❌

Results for commit ddb3ec3.

Annotations

Check warning on line 0 in test.rf.test_spec_est

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_spec_est_t1 (test.rf.test_spec_est) failed

results.xml [took 0s]
Raw output
AttributeError: module 'scipy.signal' has no attribute 'kaiser'
def test_spec_est_t1():
        fs = 64
        length = 600  # seconds
        N = fs * length
        t = linspace(0, length, num=N, endpoint=False)
    
        # Generate a sinusoid at frequency f
        f = 10  # Hz
        a = cos(2 * pi * f * t) * 2 ** 15
    
>       amp, freqs = spec_est(a, fs, ref=2 ** 15, plot=False)

test/rf/test_spec_est.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

x = array([ 32768.        ,  18204.92539559, -12539.77071174, ...,
       -32138.37206828, -12539.7707117 ,  18204.92539557])
fs = 64, ref = 32768, plot = False

    def spec_est(x, fs, ref=2 ** 15, plot=False):
    
        N = len(x)
    
        # Apply window
>       window = signal.kaiser(N, beta=38)
E       AttributeError: module 'scipy.signal' has no attribute 'kaiser'

test/rf/spec.py:26: AttributeError

Check warning on line 0 in test.rf.test_spec_est

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_spec_est_t2 (test.rf.test_spec_est) failed

results.xml [took 0s]
Raw output
AttributeError: module 'scipy.signal' has no attribute 'kaiser'
def test_spec_est_t2():
        fs = 64
        length = 600  # seconds
        N = fs * length
        t = linspace(0, length, num=N, endpoint=False)
    
        # Generate a sinusoid at frequency f
        f = 10  # Hz
        a = exp(1j * 2 * pi * f * t) * 2 ** 15
    
>       amp, freqs = spec_est(a, fs, ref=2 ** 15, plot=False)

test/rf/test_spec_est.py:32: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

x = array([ 32768.            +0.j        ,  18204.92539559+27245.59625593j,
       -12539.77071174+30273.68452133j, ...,
       -32138.37206828 -6392.71967168j, -12539.7707117 -30273.68452134j,
        18204.92539557-27245.59625594j])
fs = 64, ref = 32768, plot = False

    def spec_est(x, fs, ref=2 ** 15, plot=False):
    
        N = len(x)
    
        # Apply window
>       window = signal.kaiser(N, beta=38)
E       AttributeError: module 'scipy.signal' has no attribute 'kaiser'

test/rf/spec.py:26: AttributeError

Check warning on line 0 in test.rf.test_spec_est

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_spec_est_t3 (test.rf.test_spec_est) failed

results.xml [took 0s]
Raw output
AttributeError: module 'scipy.signal' has no attribute 'kaiser'
def test_spec_est_t3():
        fs = 64
        length = 600  # seconds
        N = fs * length
        t = linspace(0, length, num=N, endpoint=False)
    
        # Generate a sinusoid at frequency f
        f = 0  # Hz
        a = cos(2 * pi * f * t) * 2 ** 15
        # a = exp(1j * 2 * pi * f * t) * 2 ** 15
    
>       amp, freqs = spec_est(a, fs, ref=2 ** 15, plot=False)

test/rf/test_spec_est.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

x = array([32768., 32768., 32768., ..., 32768., 32768., 32768.]), fs = 64
ref = 32768, plot = False

    def spec_est(x, fs, ref=2 ** 15, plot=False):
    
        N = len(x)
    
        # Apply window
>       window = signal.kaiser(N, beta=38)
E       AttributeError: module 'scipy.signal' has no attribute 'kaiser'

test/rf/spec.py:26: AttributeError

Check warning on line 0 in test.rf.test_spec_est

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_spec_est_t4 (test.rf.test_spec_est) failed

results.xml [took 0s]
Raw output
AttributeError: module 'scipy.signal' has no attribute 'kaiser'
def test_spec_est_t4():
        fs = 64
        length = 600  # seconds
        N = fs * length
        t = linspace(0, length, num=N, endpoint=False)
    
        # Generate a sinusoid at frequency f
        f = 0  # Hz
        # a = cos(2 * pi * f * t) * 2 ** 15
        a = exp(1j * 2 * pi * f * t) * 2 ** 15
    
>       amp, freqs = spec_est(a, fs, ref=2 ** 15, plot=False)

test/rf/test_spec_est.py:64: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

x = array([32768.+0.j, 32768.+0.j, 32768.+0.j, ..., 32768.+0.j, 32768.+0.j,
       32768.+0.j])
fs = 64, ref = 32768, plot = False

    def spec_est(x, fs, ref=2 ** 15, plot=False):
    
        N = len(x)
    
        # Apply window
>       window = signal.kaiser(N, beta=38)
E       AttributeError: module 'scipy.signal' has no attribute 'kaiser'

test/rf/spec.py:26: AttributeError