Re: [Numpy-discussion] endianness ufuncs

2007-04-13 Thread Timothy Hochberg
On 4/13/07, Hugo <[EMAIL PROTECTED]> wrote: Hi, As as astronomer I work with big endian arrays (pyfits 1.1rc1 with numpy 1.0) on little endian machines. When I try to make a ufunc (e.g. to convert from degrees to radians), it doesn't recognize the big endianness: In [3]: big = numpy.array([83.

[Numpy-discussion] endianness ufuncs

2007-04-13 Thread Hugo
Hi, As as astronomer I work with big endian arrays (pyfits 1.1rc1 with numpy 1.0) on little endian machines. When I try to make a ufunc (e.g. to convert from degrees to radians), it doesn't recognize the big endianness: In [3]: big = numpy.array([83.4, 83.5, 83.9], dtype='>f8') In [4]: uradians