tidy3d.plugins.autograd.functions.rescale#
- class rescale[source]#
Bases:
Rescale an array from an arbitrary input range to an arbitrary output range.
- Parameters:
array (NDArray) β The input array to be rescaled.
out_min (float) β The minimum value of the output range.
out_max (float) β The maximum value of the output range.
in_min (float = 0.0) β The minimum value of the input range.
in_max (float = 1.0) β The maximum value of the input range.
- Returns:
The rescaled array.
- Return type:
NDArray
Inherited Common Usage