Remove duplicate plot call from vibration_analyze.analyze.
authorW. Trevor King <wking@drexel.edu>
Mon, 26 Mar 2012 22:30:32 +0000 (18:30 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 26 Mar 2012 22:30:32 +0000 (18:30 -0400)
calibcant/vibration_analyze.py

index 0cfb27ca4ff8d4c72a4178750ecdba04e25d3ad6..1b8fec256e9ec6d2cc295fb341482e491e68e5df 100644 (file)
@@ -323,10 +323,6 @@ def analyze(deflection, config, deflection_channel_config,
 
     _LOG.debug('fitted deflection variance: %g V**2' % fitted_variance)
 
-    if _package_config['matplotlib']:
-        plot(deflection, freq_axis, power, A, B, C, D,
-                 config=config)
-
     return min(fitted_variance, naive_variance)
 
 def breit_wigner(f, A, B, C, D=0):