On Nov 18, 2006, at 12:27 AM, Cygnus X-1 wrote:
Have you opened the file? Which version of pyFITS?
Consider:
fimg=pyfits.open(datafile)
self.header=fimg[0].header
self.image=fimg[0].data
Tom
I found that installing the latest version of pyfits solved the problem.
Seems like there
On Thu, 16 Nov 2006 15:35:00 -0500, Tommy Grav wrote
(in article <[EMAIL PROTECTED]>):
> I am trying to load in a fits-image and get this error
>
> wiyn05dec/n1 -> display -i obj062.fits
> Traceback (most recent call last):
>File "/Users/tgrav/Work/Astronomy/MyCode/Python/Redspit/
> display.
I am trying to load in a fits-image and get this error
wiyn05dec/n1 -> display -i obj062.fits
Traceback (most recent call last):
File "/Users/tgrav/Work/Astronomy/MyCode/Python/Redspit/
display.py", line 48, in ?
main()
File "/Users/tgrav/Work/Astronomy/MyCode/Python/Redspit/
display.