MCPcopy Create free account
hub / github.com/PyWavelets/pywt / test_db3_roundtrip

Function test_db3_roundtrip

pywt/tests/test_wp.py:201–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

199
200
201def test_db3_roundtrip():
202 original = np.arange(512)
203 wp = pywt.WaveletPacket(data=original, wavelet='db3', mode='smooth',
204 maxlevel=3)
205 r = wp.reconstruct()
206 assert_allclose(original, r, atol=1e-12, rtol=1e-12)
207
208
209def test_wavelet_packet_axis():

Callers

nothing calls this directly

Calls 1

reconstructMethod · 0.95

Tested by

no test coverage detected