code: def segment(self, eps, min_time):
          
          new_segments = []
          for segment in self.segments:
              segmented = segment.segment(eps, min_time)
              for seg in segmented:
                  new_segments.append(Segment(seg))
          self.segments = new_segments
          return self
docs: In-place segmentation of segments
  
          Spatio-temporal segmentation of each segment
          The number of segments may increse after this step
  
          Returns:
              This track