To understand network dynamics of microcircuits in the neocortex, it is essential to simultaneously record the activity of a large number of neurons . In-vivo two-photon calcium imaging is the only method that allows one to record the activity of a dense neuronal population with single-cell resolution .