xoa.dyn.format_uv_docstring#
- xoa.dyn.format_uv_docstring(func)[source]#
Decorator that inserts the description of the velocity parameters in a docstring
The
{parameters}placeholder of the docstring is replaced by the description of the u, v, dx, dy and z parameters, and of normalize for the functions that have it.- Parameters:
func (callable) – Function whose name starts with
get_- Returns:
callable – The same function, with its docstring formatted