rescaled_to_dfof¶
-
seas.colormaps.rescaled_to_dfof(rescaled_value: float, slope: float, array_min: float)[source]¶ Convert a value in 8-bit rescaled units (0-255) to a dfof value.
- Parameters
rescaled_value – The rescaled_value in rescaled units to convert
slope – The slope returned by video.rescale during the dfof to rescaled operation
array_min – The new minimum value returned by video.rescale during the dfof to rescaled operation
- Returns
The rescaled_value converted back to dfof by the scale and array_min parameters.
- Return type
dfof_value