obspy.io.alsep.core._get_frame_diff_count

_get_frame_diff_count(curr_msec_of_year, prev_msec_of_year)[source]

Calculate the time difference in sampling period between two frames

Parameters:
  • curr_msec_of_year (int) – current frame timestamp in millisecond of year

  • prev_msec_of_year – previous frame timestamp in millisecond of year

Return type:

int

Returns:

the expected number of frames between two frames