Dynamical patterns underlying response properties of cortical circuits