from_list

classmethod ParameterGroup.from_list(parameter_list: list[float | list[Any]], label: str = None, root_group: ParameterGroup = None) ParameterGroup[source]

Create a ParameterGroup from a list.

Parameters
  • parameter_list (list[float | list[Any]]) – A parameter list containing parameters

  • label (str) – The label of the group.

  • root_group (ParameterGroup) – The root group

Returns

The created ParameterGroup.

Return type

ParameterGroup