def _find_allowed_shift(self, timestamps):
init_ts = timestamps[<NUM_LIT:0>]<EOL>residual_timestamps = [ts - init_ts for ts in timestamps]<EOL>n = len(residual_timestamps)<EOL>return self._find_first_bigger(residual_timestamps, self.max_shift_milliseconds, <NUM_LIT:0>, n)<EOL>
Find the maximum allowed shift steps based on max_shift_milliseconds.
param list timestamps: timestamps of a time series.