Show minor edits - Show changes to markup
Below is an example of a script which uses ph-dir2candlist to create candlists for each pointing in a survey ‘tape’.
#!/bin/csh setenv PULSARHUNTER_HOME /raid1/software/pulsar/pulsarhunter/ setenv PATH ${PATH}:/raid1/software/pulsar/cvshome/pasurv/bin/linux/:/remote/dcore36_1/software/singlepulse/bin/:/raid1/software/pulsar/presto/bin/:${PULSARHUNTER_HOME}/scripts/ setenv PGPLOT_DIR /raid1/pasurv/pgplot setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$PGPLOT_DIR set tapename = $1 set rootpath = "/raid1/pasurv/links/pasurv/results/" mkdir /raid1/pasurv/links/pasurv/jreapercands/pasurv_re/$tapename cd /raid1/pasurv/links/pasurv/jreapercands/pasurv_re/$tapename foreach pointing (`ls -d $rootpath"/"$tapename/PA????_???`) foreach beam (`ls $pointing`) set extdir = `echo $pointing/$beam | sed -e 's:/raid1/pasurv/links:/packages/pulsar/links/:'` ph-dir2candlist $pointing/$beam/ -resdir $extdir/ -dmlist /raid1/pasurv/links/pasurv/jreapercands/padmlist end end
This makes JReaper candidate lists from directories of candidates.
This makes JReaper candidate lists from directories of candidates. Note that at this point the scoring is done, therefore this can take a little while. In general the time for a single beam (say 200 cands) is not great, but if you have a lot of beams it might be best to do it as you process on the cluster (as the time is insignificant compared to the process time). If you do this, be sure to check out he -resdir option, which you can use to specify where the cands will go (as the path to the cands is in the candlist file at present). If you need to change the path at a later date, ungzip and do a text search/replace.
e.g. ‘ph-view-phcf /xw’ will display a new xwindow to show the phcf data.
This displays a Xwindow (or equivilent) that shows the details for the given zapfile. To create a new zapfile, call this on a non-existing file.
This makes JReaper candidate lists from directories of candidates.
ph-dir2candlist [input dir] [options]
Options include:
This displays a Xwindow (or equivilent) that shows the details for the given zapfile. To create a new zapfile, call this on a non-existing file.
*Sigproc time series now writable as of version 1.1.0
For known issues see PulsarHunterIssues
For known issues see PulsarHunterIssues and PulsarHunterVersionHistory for the changelog
This will display a simple PGPLOT based rendering of the data in a PHCF file.
This will display a Xwindow (or equivilent) showing the plot for this phcf file. if you want to use the old pgplot plotter, use ph-pgplot-phcf.
ph-view-phcf [phcf file] [PGPLOT format]
pg-view-phcf [phcf file]
This will display a simple PGPLOT based rendering of the data in a PHCF file.
ph-pgplot-phcf [phcf file] [PGPLOT format]
This displays a Xwindow (or equivilent) that shows the details for the given zapfile. To create a new zapfile, call this on a non-existing file.
ph-view-zapfile [zapfile]
Zapfiles should have the extention .zap to prevent any confusion when loading them.
This will display a simple http://www.astro.caltech.edu/~tjp/pgplot/ based rendering of the data in a PHCF file.
This will display a simple PGPLOT based rendering of the data in a PHCF file.
It can also take a phcf file as input, for example when re-optimising a candidate, or when using output from ph-best (detailed below).
If you use ph-retune it can also take a phcf file as input, for example when re-optimising a candidate, or when using output from ph-best (detailed below).
Note that using ph-tune will remove any existing phcf file! Use ph-retune to re-analyse based on the previously optimized parameters.
ph-tune [datafile] [outputfile] {options}
ph-tune [datafile] [outputfile] {options}
ph-retune [datafile] [outputfile] {options}
PulsarHunter currently provides a set of time domain optimisation tools. These are aimed at processing timeseries produced by Sigproc, however internaly there is no relyance on this format, and I intend to adapt it to read any useful data format (see accepted data types). The functionality of PulsarHunter currently is intended to be a replication of pdm that works on multiple data types, with added acceleration and jerk searching. It is intended to replace both the stand alone version of pdm and the search oriented pdmsuspectfind (with the inclusion of the ph-best script).
As of version JReaper 3.0, JReaper has also been integrated with PulsarHunter. This means that pulsarhunter can natively write candidate lists for JReaper, removing the need to manualy import candidates into JReaper. JReaper of course, also reads the PulsarHunter candidate file format.
In future new processes may be added for dedispersion and even fourier analysis (although currently Sigproc seek seems to be perfectly adiquate).
Pulsarhunter is a package of useful tools for searching for and confirming pulsars. Here is a list of the available scripts with usage and some basic help.
Pulsarhunter is a package of useful tools for searching for and confirming pulsars. Here is a list of the available scripts with usage and some basic help. (Please update if you have any good hints/tips).
It takes input from one of the accepted data types and produces a phcf file and, if the pgplot libaries are available, a postscript plot.
It can also take a phcf file as input, for example when re-optimising a candidate, or when using output from ph-best (detailed below). If the phcf to be created file exists, it will use the optimized parameters (i.e. the result of the last process) as the default input parameters. Any user specified parameters will overwrite the new ones. To force creation of a fresh file, simply delete or rename the phcf file.
It will only work if filterbank and dedisperse are in your $PATH. It will create a default, 4-channel, subbanded timeseries called {file}.sub, and use this if it is available.
The output will be a series of PHCF files (one per candidate) and a single .lis file that gives a simple table between the PHCF files and the best parameters. For ease of using in scripts, there is no headers on the table, the format is the same as the standard output from ph-best.
For installation details and how to download, see: PulsarHunterInstallation
Pulsarhunter is a package of useful tools for searching for and confirming pulsars.
Pulsarhunter is a package of useful tools for searching for and confirming pulsars. Here is a list of the available scripts with usage and some basic help.
For more details on the inner workings of pulsarhunter, see PulsarHunterDetails
This will display a simple http://www.astro.caltech.edu/~tjp/pgplot/ based rendering of the data in a PHCF file.
ph-view-phcf [phcf file] [PGPLOT format]
e.g. ‘ph-view-phcf /xw’ will display a new xwindow to show the phcf data.
ph-tune [datafile] [outputfile] {options}
ph-tune [datafile] [outputfile] {options}
options include:
Options:
This is a derivitive of the ph-tune script that calls Sigproc filterbank and dedisperse to allow easy use of .dat/.hdr files from Parkes.
ph-pdm [.dat file] [root of output] [dm] {options}
Options are the same as ph-tune.
ph-best [prd file] [output file root] {options}
‘prd file’ is the output file from seek ‘output file root’ the root of the output files, these will be {root}_001.phcf, {root}_002.phcf,… as well as a summary file {root}.lis
Options:
ph-tune [datafile] [outputfile] {options}
‘datafile’ should be one of the accepted input files. ‘outputfile’ is the stem of the produces PHCF file and the associated postscript plot.
options include:
Pulsarhunter is a package of useful tools for searching for and confirming pulsars.
ph-tune is the basic time domain optimization script in pulsarhunter.
ph-best works in a similar way to Sigproc best. It takes a list of periods from seek (the sigproc FFT software) and returns the top candidates, with best dm/pdot/pddot, as well as signal to noise lists for these parameters.
Currently these data types are not writable. It is intended that they will be writable when any data manipulation part of the software is completed.