[Numpy-discussion] numpy endian question

Travis Oliphant oliphant.travis@ieee....
Thu Apr 26 18:48:42 CDT 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.


More information about the Numpy-discussion mailing list