r <- get_sample_recording()
fv_list <- get_filtered_views(r, data_points = "Nose", n = 41, p = 3)
jv <- get_joined_view(fv_list)
d <- get_duration_annotation_data(r)
splicing_tabla_solo_df <- splice_time(d,
expr = "Tier == 'INTERACTION' & Comments == 'Mutual look and smile'")
# Only do the first splice for sample data
mean_ave_cross_power_df <- ave_cross_power_over_splices(jv,
splicing_tabla_solo_df[1,], num_splices = 10,
columns = c('Nose_x_Central_Sitar', 'Nose_y_Central_Sitar'), show_plot = TRUE)
Run the code above in your browser using DataLab