|
1 | 1 | # ContinuousWavelets Documentation # |
2 | | -Originally included in Wavelets.jl, this is a fork containing the types and |
3 | | -methods specifically for doing continuous wavelet transforms. Current methods |
4 | | -only include 1D wavelet transforms and their inverses. |
| 2 | +Originally included in Wavelets.jl, this is a fork containing the types and methods specifically for doing continuous wavelet transforms. Current methods only include 1D wavelet transforms and their inverses. |
5 | 3 |
|
6 | | -The basic structure is similar to that of Wavelets.jl; first you choose one of |
7 | | -the  of the `ContWaveClass` type, e.g. `Morlet(2π)`. |
8 | | -Then you set the general transform parameters by constructing a , which specifies such properties as whether to average, |
10 | | -the scaling rate, or the boundary conditions. Finally, you perform the actual |
11 | | -transform with`cwt`. |
| 4 | +The basic structure is similar to that of Wavelets.jl; first you choose one of the [Available Wavelet Families](@ref) of the `ContWaveClass` type, e.g. `Morlet(2π)`. |
| 5 | +Then you set the general transform parameters via [CWT Construction](@ref), which specifies such properties as whether to average, the scaling rate, or the boundary conditions. |
| 6 | +Finally, you perform the actual transform with`cwt`. |
12 | 7 |
|
13 | 8 | ```@example basicEx |
14 | 9 | using Plots; gr(); #hide |
15 | 10 | Plots.reset_defaults(); #hide |
16 | 11 | using ContinuousWavelets, Plots, Wavelets, FFTW |
17 | | -using Logging #hide |
18 | | -global_logger(Logging.SimpleLogger(stderr,Logging.Error)) #hide |
19 | 12 | n=2047; |
20 | 13 | f = testfunction(n, "Doppler"); |
21 | 14 | p1=plot(f,legend=false,title="Doppler",xlims=(0,2000)); |
22 | 15 | c = wavelet(Morlet(π), averagingType=NoAve(), β=2); |
23 | | -res = cwt(f, c) |
| 16 | +res = ContinuousWavelets.cwt(f, c) |
24 | 17 | p2=heatmap(abs.(res)', xlabel= "time index", |
25 | 18 | ylabel="frequency index",colorbar=false); |
26 | 19 | l=@layout [a{.3h};b{.7h}] |
|
0 commit comments