def detect(self):
self.log.info("<STR_LIT>")<EOL>t1=cm.timeit()<EOL>for sweep in range(self.abf.sweeps):<EOL><INDENT>self.detectSweep(sweep)<EOL><DEDENT>self.log.info("<STR_LIT>",<EOL>self.abf.sweeps,len(self.APs),cm.timeit(t1))<EOL>
runs AP detection on every sweep.