pypomp.PanelPomp.sample_params¶
- static PanelPomp.sample_params(param_bounds: dict, units: list[str], n: int, key: Array, shared_names: list[str] | None = None) PanelParameters¶
Sample parameters uniformly within bounds for a panel model.
- Parameters:
param_bounds (dict of str to tuple of float) – Mapping from parameter names to
(lower, upper)bounds.n (int) – Number of replicates to sample.
key (jax.Array) – JAX random key.
shared_names (list of str, optional) – List of shared parameter names. If
None(default), all parameters are considered unit-specific.
- Returns:
A new parameter set containing the sampled values.
- Return type: