pyphi.macro.units.coarse_grain#

pyphi.macro.units.coarse_grain(num_constituents, on_counts)[source]#

A coarse-graining truth table (update grain 1).

The macro state is 1 when the number of ON constituents is in on_counts.

Parameters:

num_constituents (int)

Return type:

tuple[int, …]