FindClosestFrame: Find frame of a trial that is closest to a given time

Description Usage Arguments Value

Description

If two frames are temporally equidistant from the given time, choose the earlier frame.

Usage

1

Arguments

trial

a Trial object

time

a numeric value (in ms.)

Value

The number of the frame of the trial whose time is closest to the given time.


tjmahr/lookr documentation built on May 31, 2019, 3:41 p.m.