Well, my Canon happens to be a color camera... .
But you are right, maybe I should read the frames as monochrome without debayering, since all colors share one sensor, one amplifier, one AD-converter. The script should already be able to handle that. Do you have any idea how I can convince PI to read the RAW .CR2 files without splitting pixels into different channels? The PI Format Explorer does not give me this option (even "Create RAW Bayer picture" splits channels, see screenshot).
Georg