pygsti.extras.drift.signal.logistic_transform#
- logistic_transform(x, mean)#
Transforms the input float x as:
x -> mean - nu + (2*nu) / (1 + exp(-2 * (x - mean) / nu))
where nu is min(1-mean,mean). This is a form of logistic transform, and maps x to a value in [0,1].