vibration_analyze: Add smooth_window to PSD fitting
[calibcant.git] / calibcant / config.py
index 87ec91717e7baf6484edf11fada4b66966cc71bb..11686f75eb00c4090fbe70d0860206daf4e74214 100644 (file)
@@ -157,6 +157,17 @@ class VibrationConfig (_config.Config):
             name='maximum-fit-frequency',
             help='Upper bound of Lorentzian fitting region.',
             default=25e3),
+        _config.ChoiceSetting(
+            name='smooth-window',
+            help='Smoothing window type (for guessing PSD parameters).',
+            default=_window_hann,
+            choices=[
+                ('Hann', _window_hann),
+                ]),
+        _config.FloatSetting(
+            name='smooth-length',
+            help='Size of the smoothing window (in points).',
+            default=10),
         ]