From cd00f6573cb732fe67b3d980da3dc853e39b5549 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 21 Sep 2021 14:25:39 +0200 Subject: [PATCH] pmu_dft: fix example config --- etc/examples/hooks/pmu_dft.conf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/etc/examples/hooks/pmu_dft.conf b/etc/examples/hooks/pmu_dft.conf index bba3bd6f1..b28fb0cb1 100644 --- a/etc/examples/hooks/pmu_dft.conf +++ b/etc/examples/hooks/pmu_dft.conf @@ -9,17 +9,21 @@ paths = ( { type = "pmu_dft", + signals = ( + "sine" + ) + sample_rate = 100, # sample rate of the input signal - dft_rate = 10.0, # how often is the DFT beeing calculated? + dft_rate = 10, # how often is the DFT beeing calculated? start_freqency = 47.7, # lowest freqyency bin end_freqency = 52.5, # highst freqyency bin frequency_resolution = 0.01, # freqyency bin resolution - window_size_factor = 1.0, + window_size_factor = 1, window_type = "hamming", # one of: flattop, hamming, hann padding_type = "zero" # one of: signal_repeat, zero - freq_estimate_type = "quadratic", # one of: quadratic + ffrequency_estimate_type = "quadratic", # one of: quadratic sync = true, pps_index = 0, # signal index of the PPS signal