1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-23 00:00:01 +01:00
VILLASnode/etc/examples/hooks/pmu_dft.conf

35 lines
800 B
Text

@include "hook-nodes.conf"
paths = (
{
in = "signal_node"
out = "file_node"
hooks = (
{
type = "pmu_dft",
signals = (
"sine"
)
sample_rate = 100, # sample rate of the input signal
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,
window_type = "hamming", # one of: flattop, hamming, hann
padding_type = "zero" # one of: signal_repeat, zero
ffrequency_estimate_type = "quadratic", # one of: quadratic
sync = true,
pps_index = 0, # signal index of the PPS signal
angle_unit = "rad" # one of: rad, degree
}
)
}
)