zfit.param.convert_to_parameter(value, name=None, prefer_constant=True, params=None, lower=None, upper=None, step_size=None, dependents=None)[source]#

Convert a numerical to a constant/floating parameter or return if already a parameter. (deprecated arguments)

Deprecated: SOME ARGUMENTS ARE DEPRECATED: (dependents). They will be removed in a future version. Instructions for updating: Use params instead.

  • value

  • name (Optional[str]) –

  • prefer_constant (bool) – If True, create a ConstantParameter instead of a Parameter, if possible.

  • params

  • lower

  • upper

  • step_size

Return type: