def test_correlate(self, signal):
        signal = signal[..., 0:100]
        if signal.channels > 1: # Multichannel is not supported
            with pytest.raises(ValueError):
                assert((signal.correlate()==signal.correlate(signal)).all())
        else:
            assert((signal.correlate()==signal.correlate(signal)).all())
dataset/ETHPy150Open python-acoustics/python-acoustics/tests/test__signal.py/TestSignal.test_correlate/original