![]() |
|
||
![]() |
> gunzip psrcat.tar.gz
> tar -xvf psrcat.tar
this will create a directory called psrcat and place the source code inside. To compile and link the software:
> cd psrcat
> source makeit
Test that everything is working correctly by typing
> psrcat -db_file psrcat.db -c "name p0 dm" 0437-4715
which should output
-------------------------------------------------------------------------------------------------
# NAME P0 DM
(s) (cm^-3 pc)
-------------------------------------------------------------------------------------------------
1 J0437-4715 jlh+93 0.005757451831072007 8 vbb+01 2.6469 1 sbm+97
-------------------------------------------------------------------------------------------------
It is useful to define an environment variable called PSRCAT_FILE that points to the public catalogue.
> setenv PSRCAT_FILE mydir/psrcat/psrcat.db
A readme file is provided with the distribution that contains further useful information.
If you make use of information from the ATNF Pulsar Catalogue in a publication, we would appreciate acknowledgement by reference to the publication "The ATNF Pulsar Catalogue", R. N. Manchester, G. B. Hobbs, A. Teoh & M. Hobbs, Astronomical Journal, 129, 1993-2006 (2005) and by quoting the web address http://www.atnf.csiro.au/research/pulsar/psrcat for updated versions.