code: def ensureDetection(self):
          
          if self.APs==False:
              self.log.debug("analysis attempted before event detection...")
              self.detect()
docs: run this before analysis. Checks if event detection occured.
          If not, runs AP detection on all sweeps.