Finding optimal stimuli ensemble of a cortical network