ExternalParamMixIn

class dnois.utils.ExternalParamMixIn
pick(name: str, value=None) Any

Determine the value of an external parameter name. The return value is determined by the eponymous attribute of self if value is None, or value otherwise.

Parameters:
  • name (str) – Name of the external parameter.

  • value (Any) – Candidate of the external parameter. Default: the eponymous attribute of self.

Returns:

Value of the external parameter.

Return type:

Any