pyphi.campaign.merge#

Tie-preserving merges of shard outputs.

Every merge re-runs the same pyphi.resolve_ties machinery the single-machine code path uses, applied to per-shard winners (and, where serialization carries them, their tie sets) restored to global enumeration order. Exactness: the global extremum is attained inside some shard, and a candidate that would win the full sweep is necessarily its own shard’s winner — strides preserve enumeration order within each shard — so resolving over the ordered shard winners selects the identical representative a full sweep selects.

Functions

build_distinction(mechanism, mic, mie)

Assemble a distinction from a merged MIC and MIE.

merge_purview_rias(direction, rias, ...)

Merge per-purview RIAs into the MICE (mirrors find_mice's tail).

merge_sia_strides(entries[, system])

Merge SIA strides.

merge_stride_rias(entries)

Merge the strides of one (mechanism, direction, purview).