Functions

src/wavelet.c File Reference

#include "wavelet.h"
#include <gsl/gsl_wavelet.h>
#include <gsl/gsl_statistics.h>
#include <gsl/gsl_sort.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <stdarg.h>
#include <string.h>
#include "helper.h"
#include "mathadd.h"
#include "eeg.h"

Go to the source code of this file.

Functions

double conventional_thresholding (const double *data, int n)
 Wavelet estimation of single trial ERP's using a conventional estimate.
EEGeeg_wavelet_denoise (EEG *eeg, WaveletParameters P, bool alloc)
 Extend data to length 2^j using sigextfct and denoise it.
double hard_thresholding (double d, double lambda)
 hard-thresholding.
double heuristic_sure (const double *data, int n)
 thresholding as proposed in the Matlab Wavelet-Toolbox.
double soft_thresholding (double d, double lambda)
 soft-thresholding.
double sureshrink (const double *data, int n)
 procedure described in Donoho et al., 1995.
double translation_invariant_thresholding (const double *data, int n)
 Wavelet estimation of single trial ERP's using Wang et al.'s (2007) technique.
int wavelet_denoise (double *data, int n, WaveletParameters P)
 Generic Wavelet-Denoising.
int wavelet_extend_and_denoise (double *data, int n, WaveletParameters P)
 Extend data to length 2^j using sigextfct and denoise it.
WaveletParameters wavelet_init ()
 set default parameters for a waveletParameters struct.