[AstroPy] Moving Ahead with Raw Image Conversion
You can get a numpy array of either integer or floats with the numpy.array() function. Here's a short example (sort-of based on your "make_image" function), using integersNow, the problem is that what I've done is to create a Python array of *integers*, then converted it to numpy form.