code: def temporal_segmentation(segments, min_time):
      
      final_segments = []
      for segment in segments:
          final_segments.append([])
          for point in segment:
              if point.dt > min_time:
                  final_segments.append([])
              final_segments[-1].append(point)
  
      return final_segments
docs: Segments based on time distant points
  
      Args:
          segments (:obj:`list` of :obj:`list` of :obj:`Point`): segment points
          min_time (int): minimum required time for segmentation