Genetically engineered light sensitive cardiac cell stimulated conventionally with an electric field, dashed lines, and optically with light, solid lines. Temporal evolution of sodium activation gate gm, fast sodium inactivation gate gh, slow sodium inactivation gate gj, L-type calcium activation gate gd, L-type calcium inactivation gate gf, intracellular calcium dependent calcium inactivation gate gfCa transient outward activation gate gr, transient outward inactivation gate gs, slow delayed rectifier gate gxs, rapid delayed rectifier activation gate gxr1, rapid delayed rectifier inactivation gate gxr2, inward recrification factor , calcium-dependent inactivation gate gg, and channelrhodospin activation gate gChR2. The gating dynamics for the electrically stimulated cell have been delayed by 34 ms for the purposes of comparison against the optically stimulated cell.