qttools.utils.stack_utils#
source module qttools.utils.stack_utils
Functions
-
scale_stack — Scales the given stack by the given factor.
source scale_stack(stacked: NDArray, factor: NDArray, axis: int = 0) → NDArray
Scales the given stack by the given factor.
Parameters
-
stacked : NDArray — The stack to scale.
-
factor : NDArray — The factor to scale the stack by.
-
axis : int, optional — The axis along which to scale the stack.
Returns
-
NDArray — The scaled stack of arrays
Raises
-
ValueError