Thanks for the pointers. Thanks to you I got it working.
For those interested, what you actually put in a spreadsheet to get it working is =a*e^(b*x)
...replacing the terms where necessary.
It will give you the system gain of your camera in e-/ADU based on the driver gain setting (I did something similar for the offset V's gain thing so I could calculate intermediate values, then figured out that it saves you at best 1% of dynamic range).
To do this for your camera, take some measurements as per Craig Stark's
instructions
Once you have the system gain figured out for a number of gain settings, you can model it using the above formula. Or if you like, you can just use the data points they give you; 139 = unity, etc, - but by measuring I've found out that even these are wrong. My true Unity Gain setting is more like 135.
I don't find GoodleDocs spreadsheets are very accurate with the regression, so I used
this site to get the values for the formula to 11 decimal places. Copy and paste the data series into the site and it will give you the formula above and the values for A and B in the formula.
e, as mentioned is a logaritmic constant equal to 2.71828... and x is the camera driver gain setting.
Hope that helps some interested people and doesn't bore the disinterested people too much.
Cheers
Markus