Skip to contents

Plot a coherency of a wavelet object

Usage

plot_cross_spectrum(obj, view, ...)

plot_coherence(obj, view, ...)

Arguments

obj

analyze.coherency object.

view

View object.

...

passed to WaveletComp::wc.image().

Value

a list of class graphical parameters,

Examples

r <- get_sample_recording()
rv <- get_raw_view(r, "Central", "", "Sitar")
pv <- get_processed_view(rv)
pv1 <- subset(pv, Time >= 10)
co <- analyze_coherency(pv1, c("Nose_x", "Nose_y"))
#> 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |======================================================================| 100%
plot_cross_spectrum(co, pv1)

plot_coherence(co, pv1)
#> Warning: ... your maximum level of coherency is (slightly) larger than the theoretical maximum of 1, namely: 1.00000000000579; this may be due to your smoothing specification. Values larger than 1 are set back to 1.