code: def tempoAdjust1(self, tempoFactor):
      
  
      if self.apicalIntersect.any():
        tempoFactor = tempoFactor * 0.5
  
      else:
        tempoFactor = tempoFactor * 2
  
      return tempoFactor
docs: Adjust tempo based on recent active apical input only
  
      :param tempoFactor: scaling signal to MC clock from last sequence item
      :return: adjusted scaling signal