This folder provides MATLAB code and example data for analysing data collected using whole-cell current clamping of retinal ganglion cells in the explanted rodent retina to a combination of electrical and optical stimulation.