Now that the current state of both branches is reasonably clean, and before (a) introducing xarray as the base array type and (b) before divergence increases, I would like to bring these changes (and conflicts) to the table and possibly merge.
bfd62c9 includes a workaround for the issue I experienced with parallel evaluation, reproducible using Matteo's example:
import pyphi
k = 4
n = 7
weights = pyphi.network_generator.weights.nearest_neighbor(n,.5,.5)
state = (0,)*n
network = pyphi.network_generator.build_network([pyphi.network_generator.ising.probability]*n,weights,temperature=1/k)
subsystems = [pyphi.Subsystem(network,state,nodes=nodes) for nodes in pyphi.utils.powerset(range(n),nonempty=True)]
sias = [pyphi.new_big_phi.sia(subsystem) for subsystem in subsystems]
Now that the current state of both branches is reasonably clean, and before (a) introducing xarray as the base array type and (b) before divergence increases, I would like to bring these changes (and conflicts) to the table and possibly merge.
bfd62c9 includes a workaround for the issue I experienced with parallel evaluation, reproducible using Matteo's example: