def ensureDetection(self):
if self.APs==False:<EOL><INDENT>self.log.debug("<STR_LIT>")<EOL>self.detect()<EOL><DEDENT>
run this before analysis. Checks if event detection occured.
If not, runs AP detection on all sweeps.