In a derived stream is there a way to map values. In Arduino case it would be something like:
val = map(val, 0, 1023, 0, 255);
I suppose I can just write the math function, just seeing if I missed something in the deviation functions.