[Numpy-discussion] numpy endian question

Christopher Hanley chanley@stsci....
Thu Apr 26 16:22:42 CDT 2007


This should work as a consistent test for bigendian:

-> isBigEndian = (obj.dtype.str[0] == '>')

Also, I have ported numarray's numdisplay to numpy if you would like to 
directly display an array in DS9.  We haven't done an official release 
yet (sometime soon) but I can forward you a copy if you are interested.


More information about the Numpy-discussion mailing list