pyfits problem

Tommy Grav tgrav at
Thu Nov 16 21:35:00 CET 2006

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/", line 48, in ?
   File "/Users/tgrav/Work/Astronomy/MyCode/Python/Redspit/", line 30, in main
     im  = pyfits.getdata(options.infname)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/pyfits/", line 4645, in getdata
     _data =
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/pyfits/", line 2058, in __getattr__ = np.array(raw_data, type=np.Float32)
AttributeError: 'module' object has no attribute 'Float32'

I am using numpy 1.0rc3 and ActivePython 2.4.3 Build 11.
Anyone know what is going on?


More information about the Python-list mailing list