cr.nimble.dsp.scale_to_0_1

cr.nimble.dsp.scale_to_0_1(x)[source]

Scales a signal to the range of 0 and 1

Parameters

x (jax.numpy.ndarray) – A signal to be scaled

Returns

A tuple comprising of:
  • Scaled signal

  • The amount of shift

  • The scale factor

Return type

(jax.numpy.ndarray, float, float)