8000 MAINT: minimum_phase test failing · Issue #13074 · scipy/scipy · GitHub
[go: up one dir, main page]

Skip to content
MAINT: minimum_phase test failing #13074
@larsoner

Description

@larsoner

See numpy/numpy#17761 and https://travis-ci.org/github/scipy/scipy/jobs/743059506#L19563-L19579. Until NumPy is fixed I think we should ignore failures of the form:

______________________ TestMinimumPhase.test_homomorphic _______________________
[gw0] linux -- Python 3.7.1 /home/travis/virtualenv/python3.7.1/bin/python
/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/scipy/signal/tests/test_fir_filter_design.py:609: in test_homomorphic
    h_new = minimum_phase(np.convolve(h, h[::-1]))
        h          = [1, -1]
        self       = <scipy.signal.tests.test_fir_filter_design.TestMinimumPhase object at 0x7f8c07c6eef0>
/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/scipy/signal/fir_filter_design.py:1247: in minimum_phase
    np.log(h_temp, out=h_temp)
E   RuntimeWarning: invalid value encountered in log
        h          = array([-1,  2, -1])
        h_temp     = array([-24.91900332,  -8.80090757,  -7.41465093,  -6.60378348,
        -6.02850719,  -5.58233304,  -5.21782799,  -4.90... -4.64281529,  -4.9096898 ,  -5.21782799,  -5.58233304,
        -6.02850719,  -6.60378348,  -7.41465093,  -8.80090757])

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0