check_callable¶
-
menpofit.checks.
check_callable
(callables, n_scales)[source]¶ Checks the callable type per level.
- Parameters
callables (callable or list of callables) – The callable to be used per scale.
n_scales (int) – The number of scales.
- Returns
callable_list (list) – A list of callables.
- Raises
ValueError – callables must be a callable or a list/tuple of callables with the same length as the number of scales