Hi Geert,
The PM expression that you need is probably:
0.0104*$T + 2032/65535
since 0.0104 looks like a scaling factor, and 2032 is an additive pedestal expressed in pixel units.
It is 65535, since you are rescaling from [0,216-1] to [0,1]. For a given number of bits n, 2n-1 is the largest n-bit unsigned integer.