code: def componentDoc(self, starttime=True):
          
          samplerate = self.samplerate()
          doc_list = []
          for row, track in enumerate(self._segments):
              start_time = 0
              for col, component in enumerate(track):
                  info = component.stateDict()
                  info['stim_type'] = component.name
                  if starttime:
                      info['start_s'] = start_time
                  info['index'] = (row, col)
                  start_time += info['duration']
                  doc_list.append(info)
                  
          return {'samplerate_da':samplerate, 'components' : doc_list}
docs: The documentation for the components, as a dict
  
          :returns dict -- values are the generation samplerate, and a list of 
                           the individual component docs