mooflow.params.recalc_parameter

mooflow.params.recalc_parameter(parameter, bound_l, bound_u)

Rescale the parameter list from [0,…, 1] into the range given by the lower and upper boundary lists.

Parameters
parameterint or list

the scaled parameter [0,…, 1]

bound_lIterable

the lower boundary

bound_uIterable

the upper boundary

Returns
parameterlist

the rescaled parameter (multiplicator)