docs: def make_chunks(self,length=0,overlap=0,play=0,sl=0,excl_play=0,pad_data=0):
      """
      Divides the science segment into chunks of length seconds overlapped by
      overlap seconds. If the play option is set, only chunks that contain S2
      playground data are generated. If the user has a more complicated way
      of generating chunks, this method should be overriden in a sub-class.
      Any data at the end of the ScienceSegment that is too short to contain a
      chunk is ignored. The length of this unused data is stored and can be
      retrieved with the unused() method.
      @param length: length of chunk in seconds.
      @param overlap: overlap between chunks in seconds.
      @param play: 1 : only generate chunks that overlap with S2 playground data.
                   2 : as play = 1 plus compute trig start and end times to
                       coincide with the start/end of the playground
      @param sl: slide by sl seconds before determining playground data.
      @param excl_play: exclude the first excl_play second from the start and end
      of the chunk when computing if the chunk overlaps with playground.
      @param pad_data: exclude the first and last pad_data seconds of the segment
      when generating chunks
      """
      time_left = self.dur() - (2 * pad_data)
      start = self.start() + pad_data
      increment = length - overlap
      while time_left >= length:
        end = start + length
        if (not play) or (play and (((end-sl-excl_play-729273613) % 6370) <
          (600+length-2*excl_play))):
          if (play == 2):
          # calculate the start of the playground preceeding the chunk end
            play_start = 729273613 + 6370 * \
             math.floor((end-sl-excl_play-729273613) / 6370)
            play_end = play_start + 600
            trig_start = 0
            trig_end = 0
            if ( (play_end - 6370) > start ):
              print "Two playground segments in this chunk:",
              print "  Code to handle this case has not been implemented"
              sys.exit(1)
            else:
              if play_start > start:
                trig_start = int(play_start)
              if play_end < end:
                trig_end = int(play_end)
            self.__chunks.append(AnalysisChunk(start,end,trig_start,trig_end))
          else:
            self.__chunks.append(AnalysisChunk(start,end))
        start += increment
        time_left -= increment
      self.__unused = time_left - overlap