Skip to contents

Fast continuous wavelet transform

Functions for performing fast continuous wavelet transforms. These constitue the core functionality of this package.

fcwt()
Fast continuous wavelet transform
fcwt_batch()
Fast continuous wavelet transform - Batch processing

Sigma helpers

Helpers to setup the correct wavelet spread parameter sigma.

sigma_freq_res_rel()
Calculates Relative Frequency Resolution
sigma_from_freq_res()
Determine Sigma from a frequency resolution requirement
sigma_from_freq_res_rel()
Determine Sigma from a relative frequency resolution requirement
sigma_from_time_res()
Determine Sigma from a time resolution requirement
sigma_res()
Calculates Time/Frequency Resolution

Physical unit helper

u()
Augment physical unit
du()
Drop physical unit

Scalogram S3 methods

A data.frame conversion method, data extractors, and optional ggplot2 plotting methods (they only work if ggplot is installed).

as.data.frame(<fcwtr_scalogram>)
Convert the scalogram matrix to a data frame
as_tibble(<fcwtr_scalogram>)
Convert the scalogram matrix to a tibble
as.matrix(<fcwtr_scalogram>)
Extract the data matrix from a scalogram
`[`(<fcwtr_scalogram>)
Extract parts of a scalogram
rbind(<fcwtr_scalogram>)
Combine scalograms in "time" direction
print(<fcwtr_scalogram>)
Print the scalogram
plot(<fcwtr_scalogram>)
Scalogram plotting
autoplot(<fcwtr_scalogram>)
Create a ggplot object resembling a scalogram

System support

Helper functions that let you check if your platform provides OpenMP or AVX support.

avx_enabled()
Check for AVX instruction set support
openmp_enabled()
Check for OpenMP support

Sample data

Sample signal data mainly used to generate examples. The signals consist of simple superpositions of sinusoidal patterns.

ts_piano_sample
A simple piano audio sample
ts_sin_440
Pure sine wave
ts_sin_sin
A sinusoidal wave with varying frequency
ts_sin_superpos
Superimposed sine waves of different frequencies and different amplitudes