Skip to content

test5

test5 #57

GitHub Actions / Unit Test Results failed May 4, 2024 in 0s

4 fail, 1 007 skipped, 246 pass in 4m 8s

1 257 tests  +1 257      246 ✔️ +   246   4m 8s ⏱️ + 4m 8s
       1 suites +       1   1 007 💤 +1 007 
       1 files   +       1          4 +       4 

Results for commit 0fbd6c7. ± Comparison against earlier commit 65bacbe.

Annotations

Check warning on line 0 in test.rf.test_spec_est

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

test_spec_est_t1 (test.rf.test_spec_est) failed

results.xml
Raw output
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 / Unit Test Results

test_spec_est_t2 (test.rf.test_spec_est) failed

results.xml
Raw output
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 / Unit Test Results

test_spec_est_t3 (test.rf.test_spec_est) failed

results.xml
Raw output
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 / Unit Test Results

test_spec_est_t4 (test.rf.test_spec_est) failed

results.xml
Raw output
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