Re: Read 16 bit integer complex data

2005-04-08 Thread John Machin
On 7 Apr 2005 11:04:30 -0700, "Greg" <[EMAIL PROTECTED]> wrote: >That worked, thanks a lot. That's great, and given your Matlab background, you'll no doubt find lots of other uses for numeric / numarray. I'd just like to make a few other points: (1) struct.unpack shouldn't be that slow, provide

Re: Read 16 bit integer complex data

2005-04-07 Thread Greg
That worked, thanks a lot. Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Read 16 bit integer complex data

2005-04-07 Thread Jeff Epler
You may want to use the 'numeric' or 'numarray' extensions for this. The page on numarray is here: http://www.stsci.edu/resources/software_hardware/numarray numarray doesn't support "complex 16-bit integer" as a type, but you can get a complex, floating-point valued array from your integer val