Hi everyone,
I'm developing a Python program based on INDI for EAA (Electronically Assisted Astronomy). The interface with INDI is based on this tutorial : indilib.org/develop/tutorials/151-time-l...ith-indi-python.html
My problem is that I don't know how to convert the BLOB bytes I get to numpy.array to allow further processing. Can anybody help me?

<code>
# get image data
img = bp.getblobdata()
# write image data to BytesIO buffer
import io
blobfile = io.BytesIO(img)
# open a file and save buffer to disk
with open("frame.fit", "wb") as f:
f.write(blobfile.getvalue())
</code>

Read More...