[AstroPy] pywcsgrid : python module to draw and label a curvilinear coordinate grid.
Thu Jun 19 15:33:55 CDT 2008
This is to introduce a python module "pywcsgrid", with which you can
draw and label a curvilinear coordinate grid (using fits header
information). It gives you grid lines as numpy arrays (and also tick
locations and labels), therefore you may use any plotting package you
want (I personally use matplotlib).
This module is developed for my personal use (so the code quality is
low) and should be regarded as beta version. But I hope others find
I have put some more information in the following page with some example plots.
The module is actually a wrapper around PGSBOX library in WCSLIB.
While the original PGSBOX uses the pgplot library for plotting,
pywcsgrid links PGSBOX with a custom version of pgplot. For example,
when PGSBOX calls pgline for grid drawing, pgline in the custom pgplot
is called which stores line positions as numpy array.
The module depends on "pywcs".
Any comments or suggestions will be appreciated.
More information about the AstroPy