code: def contacts(self,*args,**kwargs):
          
          n = Contacts.read_cellframe(self,prune_neighbors=True)
          if 'measured_regions' in kwargs: n.measured_regions = kwargs['measured_regions']
          else: n.measured_regions = self.get_measured_regions()
          if 'measured_phenotypes' in kwargs: n.measured_phenotypes = kwargs['measured_phenotypes']
          else: n.measured_phenotypes = self.phenotypes
          n.microns_per_pixel = self.microns_per_pixel
          return n
docs: Use assess the cell-to-cell contacts recorded in the celldataframe
  
          Returns:
              Contacts: returns a class that holds cell-to-cell contact information for whatever phenotypes were in the CellDataFrame before execution.