Set default maxFreq to 25 kHz. Unset pylab.hold for the bump_plot residual.
[calibcant.git] / calibcant / vib_analyze.py
index ff37f1242bed7b381463a3e690d822780f9ede1c..74e1ed4e2e00425812eabf8947e1e67ef705269d 100755 (executable)
@@ -123,7 +123,7 @@ def vib_analyze(deflection_bits, freq,
     return min(fitted_variance, naive_variance)
 
 @splittableKwargsFunction()
-def fit_psd(freq_axis, psd_data, minFreq=500, maxFreq=7000) :
+def fit_psd(freq_axis, psd_data, minFreq=500, maxFreq=25000) :
     """
     freq_axis : array of frequencies in Hz
     psd_data  : array of PSD amplitudes for the frequencies in freq_axis