Query PointProcess Nearest Indices at Multiple Times
Source:R/batch-queries.R
get_pointprocess_nearest_indices.RdFind the nearest point index for each of multiple query times.
Examples
sound <- Sound$create_tone(frequency = 150, duration = 0.5, sampling_rate =
16000)
pp <- sound$to_point_process_periodic_cc(75, 600)
query_times <- seq(0.1, 0.4, by = 0.05)
indices <- get_pointprocess_nearest_indices(pp, query_times)