[Numpy-discussion] unsigned short support in NumPy
Perry Greenfield
perry at stsci.edu
Mon Apr 29 13:31:14 EDT 2002
> Sebastian Haase writes:
>
> Hi all,
> I'm _very_ new to NumPy.
> I was interested in using it for our project, where we acquire
> data from a
> CCD camera.
>
> The Problem: Each pixel in the image is a 16 bit gray value.
> What I read in the documentation - there is only 8
> bit (unsigned
> integer) support in numpy (or should I say numericarray)
>
> Are there plans to add a "unsigned short" (16 bit) support .
> How much effort would that be.
>
There is a reimplemenation of Numeric that we are doing that does
support unsigned ints (Unsigned Int8, Unsigned Int16 for now).
The project is not mature, but a lot of basic cabability exists
now. You'll have to look it over to judge if it is usable
for you now. The new version is called numarray
( http://stsdas.stsci.edu/numarray )
(btw, we acquire data from CCD cameras as well ;-)
Perry
More information about the NumPy-Discussion
mailing list