from_dict

classmethod NoiseParameters.from_dict(d)

Creates a new NoiseParameters object from a dict of values.

Parameters:

d (dict[str, Any]) – A dict with keys corresponding to any of this class’s attributes. Default values are set for keys not included in the dict.

Returns:

A new NoiseParameters object with the values specified by dict.

Return type:

NoiseParameters