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.py", line 30, in main im = pyfits.getdata(options.infname) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/pyfits/NP_pyfits.py", line 4645, in getdata _data = hdu.data File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/pyfits/NP_pyfits.py", line 2058, in __getattr__ self.data = 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? Cheers Tommy -- http://mail.python.org/mailman/listinfo/python-list