[SciPy-user] Conversion of scipy array to numarray array
stephen.walton at csun.edu
Sun Feb 12 22:39:08 CST 2006
Lo Marcus wrote:
> I am trying to convert a scipy array to numarray, without success.
> What I do is the following:
> data = scipy.asarray(pyfits.getdata('j6mi10021_crj.fits', 'sci'))
> nadata = numarray.asarray(data)
I'm not sure where the problem in your original post is, but you do
realize that pyfits returns a numarray array by default?
More information about the SciPy-user