inst/cwt.md

Wavelet Scale Correspondance

library(centWaveP)
for (i in seq(1, 50, 5)) {
  wav = centWaveP:::return.wavelet('mexh') %>% { centWaveP:::scale.wavelet(i, .)$y }
  plot(wav)
  cat(sum(wav > 0), i, "\n")
  }

plot of chunk unnamed-chunk-2

## 2 1

plot of chunk unnamed-chunk-2

## 20 6

plot of chunk unnamed-chunk-2

## 26 11

plot of chunk unnamed-chunk-2

## 32 16

plot of chunk unnamed-chunk-2

## 42 21

plot of chunk unnamed-chunk-2

## 52 26

plot of chunk unnamed-chunk-2

## 62 31

plot of chunk unnamed-chunk-2

## 72 36

plot of chunk unnamed-chunk-2

## 82 41

plot of chunk unnamed-chunk-2

## 92 46
for (i in seq(1, 50, 5)) {
  wav = centWaveP:::return.wavelet('nmexh') %>% { centWaveP:::scale.wavelet(i, .)$y }
  plot(wav)
  cat(sum(wav < 0), i, "\n")
  }

plot of chunk unnamed-chunk-3

## 2 1

plot of chunk unnamed-chunk-3

## 20 6

plot of chunk unnamed-chunk-3

## 26 11

plot of chunk unnamed-chunk-3

## 32 16

plot of chunk unnamed-chunk-3

## 42 21

plot of chunk unnamed-chunk-3

## 52 26

plot of chunk unnamed-chunk-3

## 62 31

plot of chunk unnamed-chunk-3

## 72 36

plot of chunk unnamed-chunk-3

## 82 41

plot of chunk unnamed-chunk-3

## 92 46
eic = { dnorm(seq(-6, 6, by =0.1)) } %>% { ./max(.) }
plot(eic)

plot of chunk unnamed-chunk-4

for (i in seq(1, 50, 5)) {
  wav = cwt(eic, i, 'mexh')
  print(plot(wav, main = i))
  cat(sum(wav > 0), i, "\n")
}

plot of chunk unnamed-chunk-4

## NULL
## 21 1

plot of chunk unnamed-chunk-4

## NULL
## 23 6

plot of chunk unnamed-chunk-4

## NULL
## 29 11

plot of chunk unnamed-chunk-4

## NULL
## 38 16

plot of chunk unnamed-chunk-4

## NULL
## 47 21

plot of chunk unnamed-chunk-4

## NULL
## 56 26

plot of chunk unnamed-chunk-4

## NULL
## 65 31

plot of chunk unnamed-chunk-4

## NULL
## 75 36

plot of chunk unnamed-chunk-4

## NULL
## 84 41

plot of chunk unnamed-chunk-4

## NULL
## 94 46
eic = { dnorm(seq(-6, 6, by =0.1)) + dnorm(seq(-6, 6, by =0.1), mean = 3) } %>% { ./max(.) }
plot(eic)

plot of chunk unnamed-chunk-5

for (i in seq(1, 50, 5)) {
  wav = cwt(eic, i, 'nmexh')
  print(plot(wav, main = i))
  cat(sum(wav < 0), i, "\n")
}

plot of chunk unnamed-chunk-5

## NULL
## 35 1

plot of chunk unnamed-chunk-5

## NULL
## 38 6

plot of chunk unnamed-chunk-5

## NULL
## 53 11

plot of chunk unnamed-chunk-5

## NULL
## 59 16

plot of chunk unnamed-chunk-5

## NULL
## 61 21

plot of chunk unnamed-chunk-5

## NULL
## 67 26

plot of chunk unnamed-chunk-5

## NULL
## 74 31

plot of chunk unnamed-chunk-5

## NULL
## 82 36

plot of chunk unnamed-chunk-5

## NULL
## 90 41

plot of chunk unnamed-chunk-5

## NULL
## 95 46


nathaniel-mahieu/centWaveP documentation built on May 23, 2019, 12:19 p.m.