[Numpy-discussion] numpy endian question
Travis Oliphant
oliphant.travis at ieee.org
Thu Apr 26 19:48:42 EDT 2007
> I really want to know if the array is in big-endian order (I don't care
> whether it's native). This is for sending arrays to the ds9 image viewer
> via xpa (and communicating with ds9 is not easy). To do this reliably I
> need to indicate the byte order of the data.
>
Thanks for the clarification and the original question. By the way,
are you aware of the numpy.numarray module
numpy.numarray.isBigEndian works as expected.
-Travis
More information about the NumPy-Discussion
mailing list