waveform_analysis
waveform_analysis copied to clipboard
THD calculation
THD = sum([abs(f[i*x]) for x in range(2, 15)]) / abs(f[i]) THD shall be the root-mean-square value of all harmonics?
THD = sum([abs(f[i*x]) for x in range(2, 15)]) / abs(f[i]) THD shall be the root-mean-square value of all harmonics?