code: def create_table(self, names=None):
          
  
          scan_shape = (1,)
          for src in self._srcs:
              scan_shape = max(scan_shape, src['dloglike_scan'].shape)
  
          tab = create_source_table(scan_shape)
          for s in self._srcs:
              if names is not None and s.name not in names:
                  continue
              s.add_to_table(tab)
  
          return tab
docs: Create an astropy Table object with the contents of the ROI model.