DrMarc / slab

python classes for working with sounds and conducting psychoacoustic experiments
MIT License
22 stars 7 forks source link

bug fix on Filter.equalizing_filterbank; add functionality to generat… #58

Closed sandriver03 closed 2 years ago

sandriver03 commented 2 years ago

…e filter with difference amplification/attunuation level so it can be used in different settings, e.g. filtfilt vs. causal filtering

in the Filter.apply method, 'gustav' padding method is used

DrMarc commented 2 years ago

Chao, could you check the following tests, which fail with your modification: FAILED tests/test_filter.py::test_equalization - AssertionError: assert (5538... FAILED tests/test_hrtf.py::test_cone_sources - AssertionError: assert 24.6268...