This repository contains the implementation of the WQN (wavelet quantile normalization) method presented in:
The code allow to reproduce the benchmarks reported in the article:
00_prepare_datasets.pycontains the code to pre-process the datasets and format them for the benchmarking script;10_run_artifact_removal.pycontains the main code which applies various artifact removal algorithms and computes the metrics (see Table I in the article);11_run_artifact_removal_vary_snr.pycomputes the benchmarks for varying SNR (Figure 3 in the article)20_computation_cost.pywas used to compute the performances of the algorithms (Table II in the article).methods.pycontains the implementations of the various algorithms, including WQN.
The datasets are publicly available as referenced in the article:
Dependencies are managed with poetry (see pyproject.toml).
If you have troubles running the code, you have doubts or need any help, don't hesitate to reach out at matteo.dora@ieee.org!
The code was written by Matteo Dora (matteo.dora@ieee.org) from the applied mathematics and computational biology group at École Normale Supérieure in Paris, France.
Please note that the WQN technique is protected by the patent “Computer-implemented method for assisting a general anesthesia of a subject” (File No. EP21306053). While you are free to experiment with it for purely experimental use (e.g. to test its effectiveness and verify the results reported in the published article), any other purpose (for example, part of industrial activity) may constitute patent infringement.
In general, we are glad to allow its usage for research purposes, if you plan to use the algorithm for your research please contact David Holcman (david.holcman@ens.psl.eu) to get an exemption.