pypomp.Pomp.merge

static Pomp.merge(*pomp_objs: Pomp) Pomp[source]

Merge multiple Pomp objects into a single instance.

Combines their parameter replicates and results histories. All objects must share identical structural components (data, state names, model functions, and parameter names). Useful for consolidating results from parallel estimation runs.

Parameters:

*pomp_objs (Pomp) – Two or more Pomp objects to merge. Must be structurally identical (same ys, statenames, rinit, rproc, dmeas, rmeas, and par_trans).

Returns:

A new Pomp instance whose theta and results_history are the concatenation of all inputs.

Return type:

Pomp