Combining ROACH2 data

PSRIX2 with the CX receiver makes use of two ROACH2 boards to digitally process two 2GHz bands. The data are written in an intermediate form. There is a code (thanks Gregory!) to convert and merge the ROACH2 outputs to PSRFITS format that can be subsequently folded with fold_psrfits or searched. Note that dspsr will not fold 8-bit 4-pol data properly, and hence need to use fold_psrfits. Also note that the code is available only on paf0 (source code: /home/pulsar/ramesh/psrfits.20200217)

  • Merging the two data files

paf0:> combine_S45dada_psrfits -p B0355+54 -f 6000 R33/2021-05-19-14:53:31_0000000000000000.R2D R36/2021-05-19-14:53:31_0000000000000000.R2D

The above write out fits files:

-rw-r--r-- 1 pulsar psr 26876344320 May 20 14:16 roach2_B0355+54_59353_6000_0001.fits
-rw-r--r-- 1 pulsar psr  9809876160 May 20 14:16 roach2_B0355+54_59353_6000_0002.fits  
  • Fold with fold_psrfits

paf0:> fold_psrfits -P 0355+54.par -t 10 roach2_B0355+54_59353_6000_000*.fits will generate a file roach2_B0355+54_59353_53611_0001.fits. Note that you have to provide an ephemeris to fold_psrfits. The output can be viewed and manipulated with PSRCHIVE.

 
pulsarinstruments/psrix_psrix2/psrix2/using_psrfits.txt · Last modified: 2021/05/20 14:49 by ramesh     Back to top