pyphi.validate.state_length#

pyphi.validate.state_length(state, size)[source]#

Check that the state is a sequence with one entry per substrate unit.

Parameters:
Return type:

bool