pyphi.sweeps#

Cartesian batch driver: run an IIT computation across substrates, states, and candidate subsets, and collect the results into one long-format DataFrame.

sweep takes one or more substrates and further axes (states, candidate subsets, and optionally earlier versions of IIT), runs the chosen computation on the cartesian product, and returns a SweepResult holding a long-format DataFrame and the aligned raw result objects. Each result carries its own configuration snapshot, so a row is independently reproducible.

Functions

sweep(substrates, *, states[, subsets, ...])

Run a computation across the cartesian product of axes into a long-format table.

Classes

SweepResult(df, results, skipped)

A sweep's long-format table plus the raw results behind it.