<div dir="ltr"><div>Hi everyone,</div><div><br></div><div>If you don't use aux:rm or aux:dm to store RM and DM variations, then this update might not be relevant to you.</div><div><br></div><div>Before today, PSRCHIVE could incorrectly apply the corrections for aux:dm (aux:rm) twice if the data were integrated in time or frequency before an explicit call to dedisperse (correct Faraday rotation).  This would result in a single phase shift (P.A. rotation) across all frequency channels.  As a constant phase shift (P.A. rotation) is applied to all channels, this would not lead to any smearing of the pulse (depolarization) in each sub-integration; however, it would lead to smearing (depolarization) if the data were later integrated in time with other sub-integrations that have different values of aux:dm (aux:rm).</div><div><br></div><div>If the data are dedispersed (corrected for Faraday rotation) before integration in time or frequency, then there should be no problem.</div><div><br></div><div>To address this issue, </div><div><ol><li>additional record keeping and state verification have been added in various parts of the PSRCHIVE library</li><li>the code that implements the separate corrections for dm (rm) and aux:dm (aux:rm) has been simplified / clarified; and</li><li>the "Expected Behaviour" documentation has been corrected / and clarified at <a href="https://psrchive.sourceforge.net/manuals/guide/design/cold_plasma.shtml">https://psrchive.sourceforge.net/manuals/guide/design/cold_plasma.shtml</a></li></ol></div><div>The additional state verification might trip over some edge cases that have not been considered or tested.  Please let me know if you run into any issues.</div><div><br></div><div>Cheers,</div><div>Willem</div><div><br></div></div>