Various systems and methods are implemented for controlling stimulus of a cell. One such method is implemented for optical stimulation of a cell expressing a NpHR ion pump. The method includes the step of providing a sequence of stimuli to the cell. Each stimulus increases the probability of depolarization events occurring in the cell. Light is provided to the cell to activate the expressed NpHR ion pump, thereby decreasing the probability of depolarization events occurring in the cell.