replace Tobs/2 with 2 in the residuals
It appears like the normalization of the PSD for gaussian resdiuals is not Tobs/2, but just 2. Still need to track down why, but it works for seglen 4, 8, 128.
It appears like the normalization of the PSD for gaussian resdiuals is not Tobs/2, but just 2. Still need to track down why, but it works for seglen 4, 8, 128.