6 ms·
There is a second issue with the code. The calculation of the mean isn't numerically stable. Instead use: mean_power = mean_power + (power - mean_power) / co
by zgs 2y ago
There is a second issue with the code. The calculation of the mean isn't numerically stable. Instead use:
mean_power = mean_power + (power - mean_power) / count