3 | | The first software aspect of this project is to convert the survey data into a standard format that will be widely understandable. This will be the PSRFITS format, a variant of the FITS standard specialised for pulsar data structures but readable by anything that can read a FITS file. This stage has involved the creation of a number of programs, accessible in the usual pulsar filesystem: |
4 | | * pvoconvert -- Convert PKS format survey observations to PSRFITS format. |
5 | | * pvosummary -- Summarise the positions, observation date/time, frequency of PSRFITS files, with the ability to produce a csv file listing a range of useful metadata. |
6 | | * pvoconesearch -- A command-line tool to search for PSRFITS files that cover sky within a specified radius of a specified position. |
| 3 | == Summary == |
| 4 | |
| 5 | The first software aspect of this project is to convert the survey data into a standard format that will be widely understandable. This will be the PSRFITS format, a variant of the FITS standard specialised for pulsar data structures but readable by anything that can read a FITS file. This stage has involved the creation of a number of programs: |
| 6 | * {{{pvoconvert}}}: Convert PKS format survey observations to PSRFITS format. |
| 7 | * {{{pvosummary}}}: Summarise the positions, observation date/time, frequency of PSRFITS files, with the ability to produce a csv file listing a range of useful metadata. |
| 8 | * {{{pvoconesearch}}}: A command-line tool to search for PSRFITS files that cover sky within a specified radius of a specified position. |
| 9 | |
| 10 | The source code for these programs is available in this repository: source:/trunk/src [[BR]] |
| 11 | It has also been installed in the pulsar file system, in {{{/pulsar/psr/pvo/}}} and the binaries have been compiled under linux and installed in {{{/pulsar/linux/bin/}}}. |
| 12 | |
| 13 | == Usage == |
| 14 | |
| 15 | === PVOCONVERT === |
| 16 | |
| 17 | {{{pvoconvert}}} operates on existing "tape" files, converting them into a set of PSRFITS (.fits) format files with one sky position per fits file. You can either provide one or more tape files as the argument, or a directory with the {{{-D}}} flag (in which case it will operate on all appropriate files in that directory). It recognises 70-cm survey data and PM survey data. If you have high-latitude (PH) survey data, you need to give the {{{-H}}} flag to get the settings right. |
| 18 | |
| 19 | {{{ |
| 20 | Usage: pvoconvert [options] <survey file(s)> ... |
| 21 | Options: |
| 22 | -D <dir> Run pvoconvert on all files in the stated directory. |
| 23 | --directory <dir> |
| 24 | No <survey file> needs to be given in this case. |
| 25 | -H Use the PH (High Latitude) Survey settings, rather than |
| 26 | --highlat those for the PM/Multibeam Survey |
| 27 | -h Display this help page. |
| 28 | --help |
| 29 | -v Verbose mode for error/warning messages. |
| 30 | --verbose |
| 31 | }}} |
| 32 | |
| 33 | === PVOSUMMARY === |
| 34 | |
| 35 | {{{pvosummary}}} is designed to produce a summary list of metadata for either a given fits file, or all fits files in the current directory. It normally writes the information to the terminal, but can also produce a csv (comma-separated values) file. |
| 36 | |
| 37 | The fields returned are: FILENAME, RAJ, DECJ, BEAM FWHM, OBSFREQ, SCANLEN, DATE-OBS |
| 38 | |
| 39 | {{{ |
| 40 | Usage: |
| 41 | 1. pvosummary [options] |
| 42 | 2. pvosummary [options] <FILE> |
| 43 | Options: |
| 44 | -c <file> Write all parameters in csv format to the specified file. |
| 45 | --csv <file> |
| 46 | -p List all parameters |
| 47 | -q Quiet mode -- nothing printed to screen |
| 48 | (used in conjunction with -c) |
| 49 | -h Print this help message. |
| 50 | --help |
| 51 | -v Verbose mode for error/warning messages. |
| 52 | --verbose |
| 53 | }}} |
| 54 | |
| 55 | === PVOCONESEARCH === |
| 56 | |
| 57 | {{{pvoconesearch}}} is a simple cone-search tool that searches around a given (RA,DEC) location, within a given radius, and returns the same metadata as {{{pvosummary}}} for all FITS files whose beams overlap the search area. The returned files are listed in order of increasing separation from the requested (RA,DEC) position. RA & DEC can be in hh:mm:ss.s format or decimal degrees, while the search radius is in degrees. |
| 58 | |
| 59 | {{{ |
| 60 | Usage: |
| 61 | 1. pvoconesearch ra dec radius |
| 62 | 2. pvoconesearch -h |
| 63 | }}} |