pypomp.panel.panel.PanelPomp.sample_params

static PanelPomp.sample_params(param_bounds: dict, units: list[str], n: int, key: Array, shared_names: list[str] | None = None) list[dict[str, DataFrame | None]]

Sample parameters for PanelPomp models.

Parameters:
  • param_bounds (dict) – Dictionary mapping parameter names to (lower, upper) bounds.

  • units (list[str]) – List of unit names.

  • n (int) – Number of parameter sets to sample.

  • key (jax.Array) – JAX random key for reproducibility.

  • shared_names (list[str], optional) – List of shared parameter names. If None, all parameters are considered unit-specific.

Returns:

List of n dictionaries containing sampled parameters. Each dictionary contains “shared” and “unit_specific” keys mapping to DataFrames or None.

Return type:

list[dict[str, pd.DataFrame | None]]