1. A short course in PyVO

Markus Demleitner (msdemlei@ari.uni-heidelberg.de)

This course will introduce you to the primary concepts of PyVO, an astropy-affiliated package for accessing Virtual Observatory services from Python. It’s too much for a day in an interactive situation, so if you’re reading this at the beginning of a course day: Say what you’re interested in – we’ll have to select material anyway.

It assumes familiarity with VO concepts (services, protocol types, the registry) as well as astropy, but you can probably gather missing parts as you go (or ask, if you’re reading this in an interactive course situation). You should now enough of ADQL to be able to understand and edit queries.

The course is structured into an general introduction that you should at least cursorily read. It introduces a few general patterns for pyVO usage, and it discusses the basics of the Table Access Protocol TAP, which arguably is the most versatile protocol in the VO. It does this along a few more or less contrived use cases designed to touch the central topics.

In a second part, we have a number of largely unconnected special topics, for instance, receiving SAMP messages, using EPN-TAP, or Datalink. Look at these as need arises.

The full source code for the programs discussed here is also available as an attachment if you read this in pdf. One way to retrieve them is to get pdftk (there’s packages for it for Debian-derived systems), run pdftk pyvo.pdf unpack_files. Other PDF tools may also support attachments. For instance, in KDE’s Okular its at File/Embedded Files, and in Adobe’s proprietary Acrobat Reader 9, attachments can be retrieved through the paperclip icon in the lower left corner.

Pleaseopen a browser and point it to

http://docs.g-vo.org/pyvo

It’s also a good idea to have a page open on PyVO’s documentation as well as astropy’s documentation.

Coming up (possibly): VO redux, operating simple data access services, multi-service queries, sending results around on the desktop, parameter discovery, TAP queries, async services, UCDs, ObsTAP, Registry, VO for the solar system, datalink, remote manipulation

This material, except for the included software, is available under the Creative Commons Attribution 4.0 International (CC-BY) License. The included software is licensed under the GNU General Public License separately.


Markus Demleitner, Hendrik Heinl