Using the wmtsa
R package, one can perform a continuous wavelet transform (CWT) on a vector of data. Here's an example:
library(wmtsa)
x=rnorm(8)
cwt=wavCWT(x=x,wavelet="gaussian2")
Where the gaussian2 wavelet refers to the mexican hat wavelet. Through the inverse CWT one should be able to retrieve the exact original data object.
However, I cannot find a function that's able to do so.
Does anyone have any suggestion for a function or how to implement the inverse CWT?