Wavelet - A library for online estimation of the Continuous Wavelet Transform  0.1-alpha

C++ Example

#include "wavelet_all.hpp"
int main()
{
float samplerate_hz(100.);
float frequency_min = 0.1;
float frequency_max = 50.;
float bands_per_octave = 8;
wavelet::Filterbank cwt(samplerate_hz,
frequency_min,
frequency_max,
bands_per_octave);
std::size_t numbands(cwt.size());
cwt.reset(); // Reset processing
while (true) {
double value = // Get data from a stream
cwt.update(value);
for (unsigned int band=0; band<numbands; band++) {
std::cout << cwt.result_complex[band] << " ";
}
std::cout << std::endl;
}
return 0;
}

Python Example

TODO

Todo:
python example
Prev: Compilation | Up: Home.