From 4357f7a6c8f50c21f1d0bfeb8a8ee18f83078a8a Mon Sep 17 00:00:00 2001 From: Matt Pitkin Date: Fri, 17 Nov 2017 21:54:31 +0000 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index fd5950d4..e3b08f41 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,17 @@ t = q.table() print t['F0'] ``` +You can query specific pulsars, e.g.: + +``` +import psrqpy + +q = psrqpy.QueryATNF(params=['JName', 'F0', 'F1', 'RAJ', 'DecJ'], psrs=['J0534+2200', 'J0537-6910']) + +# get values as an astropy table +t = q.table() +``` + If you really want to query the catalogue many times in quick succession it is advisable not to use this module, as it could result in too much load on the ATNF catalogue's server. Instead it is probably preferable to [download the catalogue](http://www.atnf.csiro.au/research/pulsar/psrcat/download.html) and query it with the software