I try it again with this simple testbench: and running pss with 5MHz fundamental (containing 21 cycles), conservative, 51 harmonics. stddev(v("/out" ?result "pss_td")) is 707.1m, as expected . sqrt((integ((mag(v("/out" ?result "pss_td"))**2)) / 2e-07)) is 707.1m, as expected . sqrt((integ((mag(dft(v("/out" ?result "pss_td") 0 2e-07 4096 "Rectangular" 1 "default" 1.0))**2)) / 5000000.0 / 2)) is 706.1m - 0.15% off ! WHY? (I divide the result by 10M because this is fs)
↧