Description Usage Arguments Details Value
We only really care about part of each trial, so we should extract that time interval from each trial and not worry about the rest of the trial. Our log-odds function however analyzes AOI data 3 bins at a time (or in 49.9638 ms chunks), so we should make sure that our interval can be broken into bins (i.e., broken into 49.9638 ms chunks).
1 | BinWiseTimeSlice(trials, start_time, end_time, bin_size = 3)
|
trials |
a list of trials |
start_time |
the starting time (ms) of the interval |
end_time |
the end time (ms) of the interval |
bin_size |
the number of time frames per bin (default is 3) |
This function extends the time interval for extraction to the nearest bin. The result is that the number of time frames in the extracted interval is evenly divisible by the bin size.
a list of trial
objects with the desired interval extracted
and extended so that the number of time frames is evenly divisisble by the
bin size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.