Commit 7ddc981c authored by Josh Willis's avatar Josh Willis

Merge branch 'intel-psd-scaling' into 'master'

Fixed missing factor of 2 in mkl PSD

See merge request !826
parents 552aa497 18fd13c1
Pipeline #68247 passed with stages
in 76 minutes and 9 seconds
......@@ -295,6 +295,7 @@ int POWER_SPECTRUM_FUNCTION(REAL_VECTOR_TYPE * spec, const REAL_VECTOR_TYPE * da
REAL_TYPE re = plan->tmp[2 * k - 1];
REAL_TYPE im = plan->tmp[2 * k];
spec->data[k] = re * re + im * im;
spec->data[k] *= 2.0; /* accounts for negative frequency part */
}
/* Nyquist frequency */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment