Folds filterbank and dedispersed time series data at the given period, and displays the folded profile in a PGPLOT window. 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) - SIGPROC
.timtime series format - PRESTO
.dattime series format
This program creates an ASCII output file (with extension
.ypr) of the folded profile for time series input,
and no output file for filterbank input.
Usage:
yapp_fold [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).-tor--period period: Folding period in milliseconds.-wor--waterfall numpulses: Show a waterfall plot (pulse number versus phase) instead of a folded profile.-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'
-for--file: Plot to file, instead of to screen.-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.
The flag -t (or --period) is a required
argument.
Example:
Folds the data in data.tim with a period of 89.3 ms, in
non-interactive mode, with the folded profile plot written to
data.fold.ps, and the folded profile data written to the
ASCII file data.ypr.
yapp_fold -t 89.3 -e -f data.tim