-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hello,
First, thank you so much for publishing this module, it's a great service to the community. I am getting errors in the very first step of creating the initial pywcsgrid2.Axes class.
f=fits.open("r_coadd_lensing2.fits")
h, d = f[0].header, f[0].data
pywcsgrid2.subplot(111, header=h)
returns the following error:
`/Users/jmcclear/anaconda/lib/python2.7/site-packages/pywcsgrid2/wcs_helper.pyc in _get_naxis(self)
262
263 def _get_naxis(self):
--> 264 return self._pywcs.wcs.naxis
265
266 naxis = property(_get_naxis)
AttributeError: 'Header' object has no attribute 'wcs'
`
I have tried this with several different fits files to no avail. I'm not sure what could be going on, because DS9 has no trouble opening the files' WCS systems. Here is an example of what the headers look like.
signal_header.txt
Thank you!