lgca.interactions.go_or_rest

lgca.interactions.go_or_rest(lgca)

Switch cells between moving and resting states based on local density. Uses tanh_switch function. Assumes lgca.nodes is (K, dims…). No birth or death in this version.