Skip to contents

Get periods locally maximal average power

Usage

get_local_max_average_power(obj, v)

Arguments

obj

analyze.wavelet object.

v

View object.

Value

data.frame of Period and Local Maxima.

Examples

r <- get_sample_recording()
rv <- get_raw_view(r, "Central", "", "Sitar")
pv <- get_processed_view(rv)
pv1 <- subset(pv, Time >= 10)
w <- analyze_wavelet(pv1, "Nose_x")
#> Starting wavelet transformation...
#> ... and simulations... 
#> 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |======================================================================| 100%
#> Class attributes are accessible through following names:
#> series loess.span dt dj Wave Phase Ampl Power Power.avg Power.pval Power.avg.pval Ridge Period Scale nc nr coi.1 coi.2 axis.1 axis.2 date.format date.tz 
plot_average_power(w, pv1)

get_local_max_average_power(w, pv1)
#>     Local_Maxmima     Period
#> 3       3.7925214 0.08574188
#> 17      3.3556153 0.13928809
#> 50      6.2464555 0.43713288
#> 63      4.1601764 0.68593502
#> 77      0.9204531 1.11430472
#> 88      0.4826470 1.63143760
#> 108     2.4407502 3.26287521