code: def metricCompute(self, sensorToBody, bodyToSpecificObject):
      
      overlaps = self.metricConnections.computeActivity({
        "bodyToSpecificObject": bodyToSpecificObject,
        "sensorToBody": sensorToBody,
      })
  
      self.activeMetricSegments = np.where(overlaps >= 2)[0]
      self.activeCells = np.unique(
        self.metricConnections.mapSegmentsToCells(
          self.activeMetricSegments))
docs: Compute the
        "sensor's location relative to a specific object"
      from the
        "body's location relative to a specific object"
      and the
        "sensor's location relative to body"
  
      @param sensorToBody (numpy array)
      Active cells of a single module that represents the sensor's location
      relative to the body
  
      @param bodyToSpecificObject (numpy array)
      Active cells of a single module that represents the body's location relative
      to a specific object