Hi Zach,
Zachary Pincus schrieb:
> According to http://www.pygtk.org/pygtk2reference/class-
> gdkpixbuf.html , the pixels_array is a numeric python array (a
> predecessor to numpy). The upshot is that perhaps the nice
> broadcasting machinery will work fine:
>
> pb_pixels[...] = fits_pixels
Hi Johannes,
According to http://www.pygtk.org/pygtk2reference/class-
gdkpixbuf.html , the pixels_array is a numeric python array (a
predecessor to numpy). The upshot is that perhaps the nice
broadcasting machinery will work fine:
pb_pixels[...] = fits_pixels[..., numpy.newaxis]
This might
Hello group,
I've been redicted from usenet ("Convert numpy.ndarray into "normal"
array", <75dgm1f16hqn...@mid.dfncis.de>) here and hope this is the right
place.
Basically, what I have is a numpy-Array which I got from a FITS-file
(it's black/white). I want to display that using GTK. Therefore ev