pyfits problem

Tommy Grav tgrav at mac.com
Sat Nov 18 17:12:06 CET 2006


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 was a mismatch between my version of numpy
and pyfits. Anyways it works just fine now :)

Tommy
tgrav at mac.com
http://homepage.mac.com/tgrav/

"Any intelligent fool can make things bigger,
more complex, and more violent. It takes a
touch of genious -- and a lot of courage --
to move in the opposite direction"
                          -- Albert Einstein


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20061118/f93423e8/attachment.html>


More information about the Python-list mailing list