Skip to content

Rescale one-sided spectrum in `ifft_generator`

The IFFT generator takes the one-sided spectrum as argument, but does not rescale it with a factor 2 to compute the total power. This makes results inconsistent with white_generator, which takes the total power as argument.

We should add a factor 2 in ifft_generator.