You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, professor Dan
Shouldn't the _caculate_time_ranges() function modified as:
def _calculate_time_ranges(self, hits, id, mode, mintime):
"""Given the id and mode, return the actual time support."""
match_times = sorted(hits[row, 3]
for row in np.nonzero(hits[:, 0]==id)[0]
if mode + mintime - self.window <= hits[row, 1]
and hits[row, 1] <= mode + mintime + self.window)
and execute: min_time, max_time = self._calculate_time_ranges(hits, id, mode, mintime) in _approx_match_counts().
since (mode+mintime) physically indicates real time_skew.
The text was updated successfully, but these errors were encountered:
Hi, professor Dan
Shouldn't the _caculate_time_ranges() function modified as:
def _calculate_time_ranges(self, hits, id, mode, mintime):
"""Given the id and mode, return the actual time support."""
match_times = sorted(hits[row, 3]
for row in np.nonzero(hits[:, 0]==id)[0]
if mode + mintime - self.window <= hits[row, 1]
and hits[row, 1] <= mode + mintime + self.window)
and execute: min_time, max_time = self._calculate_time_ranges(hits, id, mode, mintime) in _approx_match_counts().
since (mode+mintime) physically indicates real time_skew.
The text was updated successfully, but these errors were encountered: