Dedisperses filterbank format data. Supports flipped-band data, as well as non-quadratic dispersion correction. The following file types are supported:
- DAS
.specfilterbank format - SIGPROC
.filfilterbank format (including the headerless version, provided a.fhdconfiguration file is present in the same directory)
The output may be written as one of DAS .dds, SIGPROC
.tim, or a non-frequency-collapsed SIGPROC .fil.
In the case of the latter, irrespective of the original format of
the data, the output samples are single-precision floats. The start
MJD of the output reflects dispersion delay correction with respect
to infinite frequency.
Sub-band dedispersion is also supported, but only one sub-band at a time.
Usage:
yapp_dedisperse [options] data-file
-hor--help: Display this usage information.-sor--skip time: Length of data to be skipped, in seconds (default is 0 s).-por--proc time: Length of data to be processed, in seconds (default is all data).-nor--nsamp samples: Number of time samples read in one block (default is 4096 samples).-dor--dm dm: DM at which to dedisperse (default is 0.0).-lor--law law: Dispersion law (default is 2.0).-bor--nsubband nsubband: Number of sub-bands (factor of number of channels, must be < number of channels)-uor--subband subband: Sub-band to dedisperse (within [0, nsubband))-oor--out-format format: Output format - 'dds', 'tim', or 'fil' (default is 'tim').-gor--graphics: Turn on plotting.-mor--colour-map name: Colour map for plotting. Supports some of the standard MATLAB colour maps, plus a few more. Valid colour map names are given below (default is 'jet').- 'autumn'
- 'blue'
- 'bone'
- 'cool'
- 'copper'
- 'gray'
- 'gray-inv'
- 'hot'
- 'hot-inv'
- 'jet'
- 'pink'
- 'spring'
- 'summer'
- 'winter'
- 'RdBu'
- 'BuRd'
-ior--invert: Invert background and foreground colours in plots (default is white on black).-eor--non-interactive: Run in non-interactive mode.-vor--version: Display the version.
Example:
Dedisperse the data in data.fil with a DM of 13.2952,
with graphics turned on, and in non-interactive mode. The output is
written to data.dm13.2952.tim.
yapp_dedisperse -d 13.2952 -g -e data.fil
Treat the 1024-channel filterbank data in data.fil as being made up
of 16 sub-bands, and dedisperse the first 64-channel sub-band (lowest
in frequency) with a DM of 13.2952, with graphics turned off. It is
assumed that the band is not flipped. The output is written to
data.dm13.2952.band0.tim.
yapp_dedisperse -d 13.2952 -b 16 -u 0 data.fil