initialize_priors¶
- autoeis.utils.initialize_priors(p0: Mapping[str, float], variables: Iterable[str]) dict[str, Distribution] ¶
Initializes priors for a given circuit.
- Parameters:
p0 (Mapping[str, float]) – Initial guess for the circuit parameters as a dictionary of parameter names and values.
variables (Iterable[str]) – List of variable names.
- Returns:
Priors for the circuit parameters as a dictionary of parameter names and distributions.
- Return type:
dict[str, Distribution]
Notes
This function assigns a uniform distribution for the exponent of CPE elements and a log-normal distribution for the rest of the parameters.