In experimenting with whitened residual plots, I found that plot_utils.plot_resids_time() with whitened=True would only correctly remove DM noise described by a PLDMNoise component (par file parameters TNDMAMP/TNDMGAM/TNDMC) in certain cases (more or less only if the residuals were first averaged). This should fix that, so that the DM noise is always removed when whitened=True, as intended.
In experimenting with whitened residual plots, I found that
plot_utils.plot_resids_time()
withwhitened=True
would only correctly remove DM noise described by aPLDMNoise
component (par file parametersTNDMAMP
/TNDMGAM
/TNDMC
) in certain cases (more or less only if the residuals were first averaged). This should fix that, so that the DM noise is always removed whenwhitened=True
, as intended.