By-passing demosaicing when no Bayer filter

Using ‘passthrough’ means that the pixel values represent one colour value only. All I had to do was apply the correct colour filter pattern to get the colour, then demosaic it. It’s the same process that Darktable (or any RAW conversion software) uses.

In other words, you passed the sensor data through to me.