Basically, it looks as if there are two ways of doing this. One looks at the work done - that's how my exercise bike did it, and the other measures the heart rate and works it out from there. A simple bike computer with no HR monitor works on "work done" and I was wondering if any system subtracts the motors contribution. It appears that they don't.
I am aware of a computer that adjusts the assistance levels according to heart rate (Kalkhoff?) and that adds a further complication.
Maybe I just need to enjoy riding my bike and watch the scales each morning.......?