get_frame_time_midpoints#

petpal.input_function.idif_necktangle.get_frame_time_midpoints(frame_start_times: numpy.ndarray, frame_duration_times: numpy.ndarray) numpy.ndarray#

Calculates the midpoint times of each frame based on the start times and duration times.

Parameters:
  • frame_start_times (np.ndarray) – An array of frame start times.

  • frame_duration_times (np.ndarray) – An array of frame duration times.

Returns:

frame_midpoint_times (np.ndarray) – An array of frame midpoint times.

Raises:

None.