Symmetronic / discrete-wavelets

A Discrete Wavelet Transform (DWT) library for the web.
https://symmetronic.github.io/discrete-wavelets/
MIT License
19 stars 0 forks source link

Getting undefined error with anything other then HAAR/db1 #3

Closed dubmarm closed 3 years ago

dubmarm commented 3 years ago

Using any wavelet other than HAAR/db1 results in 'dec' undefined.

dwt.transform([...pts], 'db2');

TypeError: Cannot read property 'dec' of undefined at Function.dwt.transform (/workspace/node_modules/discrete-wavelets/dist/discrete-wavelets.umd.js:246:38)

dubmarm commented 3 years ago

Closing issue. PEBCAK error (problem exists between chair and keyboard). Needed to call wt.dwt.