def goto_time(timeval):
    '''Go to a specific time (in nanoseconds) in the current
    trajectory.

    '''
    i = bisect.bisect(viewer.frame_times, timeval * 1000)
    goto_frame(i)
Go to a specific time (in nanoseconds) in the current
    trajectory.