cheminfo-js / spectra-data

Library to deal with spectra (IR, UV, ...), 1D NMR as well as 2D NMR
https://cheminfo-js.github.io/spectra-data
MIT License
4 stars 0 forks source link

Keep the current active element #43

Closed lpatiny closed 7 years ago

lpatiny commented 7 years ago

Currently the code will systematically make an active element to 0 when this filter is called

https://github.com/cheminfo-js/spectra-data/blob/master/src/filters/digitalFilter.js#L31