how to subtract the noise diode signal

0 votes
I'd like to know how to subtract the noise diode signal with psrchive
asked Apr 30 by fleaf5 (170 points)

1 Answer

+1 vote

There is currently no algorithm in psrchive that can subtract the noise diode signal from an observation and restore the off-pulse baseline.  If the motivation is to subtract a noise diode that is fired at the period of the pulsar and placed in the off-pulse region of phase, you could consider simply cutting those phase bins out of the data.  This might create various issues - e.g. when the need arises to shift profiles by some phase that is related to some time delay - but these might be worked around by adjusting the effective folding period.

For example, suppose that the pulsed noise diode signal appears only in the first half of the folded profile, and the pulsar signal appears only in the second half of the folded profile.  To delete the first half of the profile and relabel the folding period, run the following psrsh script as described at http://psrchive.sourceforge.net/manuals/psrsh

#!/usr/bin/env psrsh

# keep the second half of the profile
profile extract {$nbin/2-1}:{$nbin-1}

# update the effective period of the truncated pulsar signal
edit int:period={$int:period/2.0}

answered May 11 by straten (810 points)
...