Introduction

The intracellular concentration of free divalent calcium ions, [Ca2+], is a ubiquitous second messenger that regulates a wide range of cellular functions (Burgoyne, 2007). The magnitude of physiological changes in [Ca2+] is uniquely high among all intracellular ions (Hille, 1992). In neurons, action potential (AP) firing triggers large influxes of Ca2+ through voltage-gated calcium channels located throughout the cell (Jaffe et al., 1992). Synaptic input causes local Ca2+ influx through neurotransmitter receptors in dendritic spines and shaft (Muller and Connor, 1991). The spatiotemporal pattern of intracellular [Ca2+] is tightly coupled to neural activity (Denk et al., 1996). Therefore, the timing of spikes and patterns of synaptic input can be monitored by observing intracellular [Ca2+] (Yasuda et al., 2004; Denk et al., 1996; Yuste and Denk, 1995; Yuste et al., 1999).

Historically, intracellular calcium has been monitored by impaling cells on calcium-sensitive microelectrodes (Rink et al., 1980), by microinjection of bioluminescent proteins (Johnson and Shimomura, 1972), and with synthetic non-fluorescent metallochromic dyes (Tsien and Rink, 1983). The modern era of calcium imaging began with the synthesis of fluorescent dyes based on BAPTA, the highly selective calcium chelator (Tsien, 1980). These include fura (Grynkiewicz et al., 1985), quin (Tsien, 1980), indo (Grynkiewicz et al., 1985), fluo (Minta et al., 1989), and rhod (Minta et al., 1989) dyes. Commercial labs have further diversified these probes (Haugland et al., 2005). Each modern dye has a subset of desirable properties: Ca2+-dependent fluorescence increase of >100-fold, high specificity for Ca2+ over other divalent cations, tuned affinity by chlorination or fluorination, fast kinetics, varied excitation and emission spectra, fluorescent intensity or wavelength ratiometric readout, and defined cell permeability (Tsien, 1999). These dyes can reliably quantify the changes in intracellular calcium associated with neural activity (Yasuda et al., 2004). However, these small molecule probes have limitations: they can be difficult to introduce into neurons in the intact brain (Kerr and Denk, 2008), they can accumulate in high-[Ca2+] intracellular compartments (Di Virgilio et al., 1988), and many are extruded from the cytoplasm in several hours (Di Virgilio et al., 1988). Furthermore, chronic repeated measurements from the same cells in vivo are impossible, and the dyes cannot be targeted to specific cell types, populations, or subcellular locations without added transgenes (Tour et al., 2007).

Genetically encoded calcium indicators (GECIs) based on recombinant fluorescent proteins (FPs) address many of the shortcomings of small molecule dyes. GECIs can be delivered in a minimally invasive manner to specific cell types or subcellular compartments (Miyawaki et al., 1997). They are compatible with long-term, repeated, in vivo measurements (Hasan et al., 2004). GECIs have successfully recorded in vivo neural activity in brain regions with large modulation of dense spiking (Kerr et al., 2000; Fiala et al., 2002; Hasan et al., 2004), though recording of sparse spike trains remains elusive (Mank and Griesbeck, 2008). Through iterative cycles of optimization, GECIs are now able to occasionally detect single APs, at least under ideal ex vivo imaging conditions (Mao et al., 2008). Once single-AP detection can be consistently achieved in vivo, GECIs will revolutionize analysis of neural circuit dynamics. However, at their current state of development, GECIs still have significant drawbacks. The best GECIs remain inferior to synthetic dyes in signal-to-noise (SNR), kinetics, linearity, photostability, and ion selectivity (Mank and Griesbeck, 2008; Tsien, 1999). Of additional concern in vivo, GECIs can bind and interfere with endogenous signaling molecules (Hasan et al., 2004; Palmer and Tsien, 2006), and protein stability and fluorescence properties often suffer at physiological temperatures (Nakai et al., 2001).

Since proper application of GECIs requires a significant investment in time and resources, selection of the most appropriate GECI at the start of a project is paramount. Previous reviews have outlined strategies for GECI construction (Miyawaki and Tsien, 2000; Mank and Griesbeck, 2008), optimization (Shimozono and Miyawaki, 2008), and expression (Kotlikoff, 2007). Detailed protocols for quantitative calcium measurement with GECIs are available (Palmer and Tsien, 2006; Kerr and Schafer, 2006; Truong et al., 2007). Comparisons of GECI performance have been made in mouse brain slice (Pologruto et al., 2004; Mao et al., 2008), Drosophila larval neuromuscular junction (Reiff et al., 2005; Mank et al., 2006), and intact mouse brain (Hasan et al., 2004). In this paper, we analyze factors that affect GECI performance, specifically for detection of neural activity, and predict how future optimization will improve this performance. This information can guide GECI selection.

GECI construction strategies

A GECI comprises a calcium-binding recognition element allosterically coupled to an optical reporter element. Most GECI recognition elements are based on naturally evolved calcium-binding proteins with large Ca2+-dependent conformational changes such as calmodulin (CaM) (Miyawaki et al., 1997; Nakai et al., 2001) or troponin-C (TnC) (Heim and Griesbeck, 2004). Wild-type recognition elements have been engineered to improve binding and response properties (Palmer et al., 2006; Garaschuk et al., 2007). Many GECIs use a conformational actuator to magnify the Ca2+-dependent conformational change. The classical example is the M13 peptide (M13pep) from myosin light chain kinase, which preferentially binds to the calcium-bound form of calmodulin (Miyawaki et al., 1997).

There are two classes of GECI reporter elements: single fluorescent proteins (FPs) or Fluorescence Resonance Energy Transfer (FRET) donor–acceptor FP pairs. Single-FP reporter elements typically comprise a circularly permuted or split FP whose fluorescence properties (emission wavelength or intensity) are modulated by recognition element-dependent changes in chromophore protonation state or strain (Baird et al., 1999; Nagai et al., 2001; Nakai et al., 2001). In 2-FP GECIs, conformational changes in the recognition element modulate FRET transfer efficiency between the FP pair, altering the emission intensity of both donor and acceptor (Miyawaki et al., 1997; Heim and Griesbeck, 2004). The molecular architecture of several representative GECIs is shown in Fig. 1.

Fig. 1
figure 1

Schematic representation of several commonly used genetically encoded Ca2+ indicators (GECIs). GECIs are based either on change of florescence of a single fluorophore (a) or change in fluorescence resonance energy transfer (FRET) efficiency (b, c). (a) Schematic of G-CaMP sensing mechanism. Upon calcium binding, conformational change of CaM and formation of the CaM-M13pep complex increases the fluorescence of the circularly permuted GFP. (b) The cameleon family of FRET-based GECIs, in which CaM and the M13 peptide are bracketed by a FRET pair. Calcium binding to calmodulin increases emission from the FRET acceptor. (c) Troponin-based FRET GECIs, in which the skeletal muscle calcium sensor troponin-C (TnC) is bracketed by a FRET pair. Binding of calcium to TnC leads to a conformational change and an increase in FRET acceptor emission. (d) Schematic representations of the fluorescence change for G-CaMPs (left) and FRET indicators (right). In (b) and (c), CFP and YFP represent generic FRET donors and acceptors. These may be engineered or circularly permuted versions of eCFP and eYFP, or they may be alternate fluorescent proteins

Performance of current GECIs

The challenge of using GECIs for functional neuronal imaging can be illustrated by comparing the performance of a state-of-the-art GECI, G-CaMP2, to that of a simultaneously recorded intracellular synthetic dye, X-Rhod-5F (Fig. 2a). In response to high-frequency trains of APs (40AP at 83 Hz), G-CaMP2’s change in fluorescence over baseline (ΔF/F 0) slightly exceeds that of X-Rhod-5F. However, during briefer trains, the GECI response is relatively small. A single AP can be reliably detected with the synthetic indicator but not with the GECI (Fig. 2a) (Mao et al., 2008). The SNR of the measurement is defined by the ratio of the signal change (ΔF = F obs − F 0; where F obs is sensor fluorescence at peak [Ca2+], F 0 is sensor fluorescence at baseline [Ca2+]) to the shot noise of baseline fluorescence (~F 0 N −1/2) such that

$$ {\text{SNR}} = \frac{\Updelta F}{F_{0}} N^{1/2} $$
(1)

where N is the number of photons detected (Yasuda et al., 2004). The dye has a noise level approximately 10-fold lower than the GECI. Although X-Rhod-5F is much dimmer than GFP (rhod-2’s EC × QE ≈ 8,300 at saturating calcium vs. 33,000 for EGFP), it has a relatively low affinity, one binding site, does not bind endogenous proteins and is acutely introduced. Therefore, it can be used at much higher concentrations than G-CaMP2, reducing noise. There is also a large degree of cell-to-cell variability in GECI response magnitude and apparent kinetics (Figs. 2b and 3a) (Mao et al., 2008), which could cause considerable detection bias when imaging networks of interacting neurons. The basis of this variability remains under investigation.

Fig. 2
figure 2

Properties that shape GECI response. (a) Typical fluorescence response of a G-CaMP2-expressing cell loaded with 500 μM X-Rhod-5F. Trains of 1, 5, and 40 AP delivered at 83 Hz by a whole-cell patch pipette. G-CaMP2 response in green, X-Rhod-5F response in red. (b) Variation of G-CaMP2 response to trains of 1, 2, 3, 4, 5, 10, and 40 APs, between two cells (red) and (black) of similar brightness, whole-cell parameters, and apparent health. (c) Increasing model [GECI] between 0, 1, 5, 10, 20, 40, 80 μM lowers the peak Δ[Ca2+]i transient and lengthens its time course. Model temperature is 22°C; τ ≈ 330 ms for the 0 μM case. (d) Increasing [GECI] improves the model’s SNR at 10 AP despite lowering peak Δ[Ca2+]i. Colors as in c. (e) Sensitivity of F 0 to the range of [Ca2+]0 in healthy neurons (23–83 nM). Affinity estimates derived from in vitro titrations of G-CaMP2 in historical buffer (black) or mock internal solution with 0.5 mM free Mg2+ (red). Inset shows titration over larger [Ca2+] range. (f) Titrations of G-CaMP2 in historical buffer or in mock internal solution with 0–4 mM Mg2+

Fig. 3
figure 3

(a) Comparison of GECI model’s peak ΔF/F 0 (red line) for 1, 2, 3, 4, 5, 10, and 40AP trains to individual G-CaMP2 responses (thin lines) and the mean G-CaMP2 response (black circles). Increasing model k on and k off 5-fold (blue dotted line) increases response. (a, inset) Model fluorescence time course. (b) Predicted peak change in fluorescence over baseline to AP trains (1, 2, 3, 4, 5, 10, 40) for a range of K A values. (b, inset) 1AP (solid) and 40AP (dotted) trains normalized to optimal response. (c) Optimal affinity for 1AP response shifts between n = 2.5 (solid) and n = 1 (dotted). (d) Model response to 1AP increases with kinetic rates k on  = (0.8, 1.6, 2.4, 4, and 8) × 106. (e) The dependence of effective dynamic range on total dynamic range is reduced as fractional saturation of model GECI at [Ca2+]0 increases from 0 to 0.32. (e, inset) Increasing total dynamic range (F max/F min = 2, 3, 5, 10, 15, 20) shifts the optimal K A for single AP detection from 130 to 260 nM. (f) Responses to 1AP when time course of calcium transient decay is decreased to 70 ms. n = 2.5, k on  = 8 × 105 M−1 s−1, F max/F min = 5 (black), k on  = (8,16, 32, 40, and 80) × 105 M−1 s−1, F max/F min = 15 (colors)

Extrinsic properties that influence the performance of GECIs

Ca2+ dynamics

An in vivo AP lasts approximately 1 ms, with a rapid influx of Ca2+ occurring during the repolarization of the neuron back to baseline (Llinas et al., 1982). Calcium is actively extruded over a significantly longer period (Markram and Sakmann, 1994). The precise time course is dependent on subcellular location, accessible volume, extrusion machinery, temperature, and the buffering capacity of the cytosol (and calcium indicator, if present). A broad time course allows more complete calcium binding to GECIs, increasing ΔF. Photons can be collected over a longer period than the underlying voltage spike, increasing N. It also lowers the sampling rate necessary to accurately capture the transient time course (Kerr and Denk, 2008). This allows simultaneous recording of spatially segregated calcium signals with single point excitation, as in two-photon laser scanning microscopy (2PLSM).

Action potentials occur at a wide range of frequencies. When sparse, each calcium transient is independent. When closely spaced, the calcium transients sum (Helmchen et al., 1996). Since the SNR of a GECI is generally insufficient to resolve a single AP (Mao et al., 2008), summation of closely spaced APs is necessary for GECI-based detection of neuronal spiking. Threshold effects make the interpretation of the absence of response problematic. For imaging data to be meaningful, the relationship between AP frequency and fluorescence response must be calibrated by simultaneous electrophysiology (Jayaraman and Laurent, 2007).

For a single AP, the change in free intracellular calcium Δ[Ca2+]i(t) can be expressed as a function of the resting calcium level [Ca2+]0, the total amount of calcium current injected by the AP Δ[Ca2+]T, the calcium extrusion rate (γ) and the buffering capacity of the endogenous buffers (κS) and the GECI (κB). Buffering capacity is defined as Δ[Ca2+]T/Δ[Ca2+]i and has been empirically determined in many cell types (Neher, 1995). The differential equations governing AP-mediated calcium transients have been explicitly solved (Neher, 1995; Helmchen et al., 1996). Prior to an AP (t < 0), Δ[Ca2+]i = 0 and [Ca2+]i = [Ca2+]0. Immediately following an AP the calcium level spikes and subsequently decays such that:

$$ \Updelta [{\text{Ca}}^{2 + } ]_{\text{i}} = A \cdot e^{ - t/\tau } $$
(2)
$$ \tau = \frac{{1 + \kappa_{\text{S}} + \kappa_{\text{B}} }}{\gamma } $$
(3)
$$ A = \frac{{\Updelta [ {\text{Ca}}^{2 + } ]_{\text{T}} }}{{1 + \kappa_{\text{S}} + \kappa_{\text{B}} }} $$
(4)

In the case of a typical Layer V cortical pyramidal neuron measured near the base of the apical dendrite, κS ≈ 125 and baseline [Ca2+]0 ≈ 50 nM. In the absence of a perturbing indicator, peak Δ[Ca2+]i ≈ 250 nM and τ ≈ 70 ms per AP at 37°C (Helmchen et al., 1996). During brief trains, calcium fluxes from APs sum linearly (Helmchen et al., 1996). At room temperature, τ increases ~5-fold, due to slowed calcium extrusion, while peak Δ[Ca2+]i increases only slightly (Markram et al., 1995).

Intrinsic properties that influence the performance of GECIs

GECI expression levels

Fluorescence response of a GECI requires Ca2+ binding by the recognition element, thus GECIs inherently perturb calcium dynamics. Excessive [GECI] will significantly buffer AP-evoked calcium transients. Expression of high affinity cameleons in Caenorhabditis elegans buffers sufficient calcium (Suzuki et al., 2003) to affect behavior (Kindt et al., 2007) and rescues calcium-binding protein knockout phenotypes (Ferkey et al., 2007). To minimize GECI effects on the transient, κB should be significantly less than κS. However, raising [GECI] also improves SNR proportional to [GECI]1/2 by increasing the number of photons collected, see Eq. 1 (Yasuda et al., 2004). The optimal [GECI] for an experiment strikes a balance between SNR and buffering.

The buffering capacity of an exogenous buffer is defined by its affinity, concentration, and resting intracellular [Ca2+]0 (Neher, 1995) such that

$$ \kappa_{\text{B}} = \sum\limits_{{{\text{Ca}}^{{ 2 + }} {\text{sites}}}} {\frac{{[{\text{Ca}}^{2 + } {\text{ site}}] \cdot K_{\text{d,i}} }}{{\left( {K_{\text{d,i}} + [{\text{Ca}}^{2 + } ]_{0} } \right)^{2} }}} $$
(5)

where K d,i is the dissociation constant (K d) of each Ca2+-binding site. For a hypothetical GECI with four equivalent sites of K d = 1 μM at [Ca2+]0 = 50 nM, κB ≈ 1.32 × 107 M−1 · [GECI]. Increasing [GECI] will spread the free calcium over a longer-time period and lower the peak of the observed transient (Fig. 2c). The effect of [GECI] on SNR is illustrated by the hypothetical output of a model GECI to a 10 AP train at different [GECI] (Fig. 2d).

Assessment of the proper GECI expression level requires quantitative estimates of the relative expression of GECI to endogenous buffering capacity. This is most easily done by comparing fluorescence of purified GECI to intracellularly expressed GECI under identical imaging conditions (Tour et al., 2007). For FRET reporters, the emission of directly excited acceptor chromophore is used, as this is insensitive to calcium levels (Miyawaki and Tsien, 2000). For ratiometric single-FP sensors, the fluorescence isoemission wavelength, the point where emission intensity is insensitive to calcium, can be used. For intensity-modulated single-FP sensors, [Ca2+]i must be independently measured or approximated, and corrected for. Resting calcium in healthy cortical pyramidal neurons at room temperature is approximately 53 ± 30 nM (Schiller et al., 1995). Using two different in vitro estimates of G-CaMP2 affinity and these [Ca2+]0 values, F 0 ≈ F min. The variation in [GECI] estimate due to variation in [Ca2+]0 is limited to ~5% (Fig. 2e).

In cultured HeLa cells, concentrations of YC3.1 below 20 μM were too dim for single cell imaging (Miyawaki et al., 1999). More sensitive GECIs, G-CaMP2 and YC3.60, have been used with epifluorescence illumination at 1.6 μM in mouse heart cytosol (Kotlikoff, 2007) and 1 μM in plant guard cells (Yang et al., 2008), respectively. In our study, using 2PLSM of acute cortical slices, [G-CaMP2] in recorded cells was 9.3 μM (std. dev. = 3.7 μM). Cells with [G-CaMP2] below 5 μM required unacceptably high laser intensity. Cells with [G-CaMP2] above 20 μM had attenuated responses for low AP bursts.

Misfolded or non-fluorescent GECIs may contribute to additional calcium buffering. A stoichiometric standard insensitive to calcium, such as a linear fusion to a reference FP, could be used to confirm [GECI], provided the standard did not perturb the function of the reporter. Alternative strategies include simultaneous translation of a reference FP using IRES (Pelletier and Sonenberg, 1988) or 2A peptide (Furler et al., 2001), and quantitative immunostaining.

Interference with endogenous Ca2+ signaling

In addition to buffering Ca2+, GECI components (e.g., CaM, M13pep) may be sequestered by host proteins, resulting in higher fluorescence background and possible interference with development and signaling. Early attempts to target yellow cameleons to the plasma membrane resulted in non-functional indicators (Heim and Griesbeck, 2004), while generation of transgenic mice expressing yellow cameleons (YC3.0 and YC3.12, respectively) under a constitutive (Tsai et al., 2003) and tetracycline-inducible promoter (Hasan et al., 2004) failed to show functional responses in vivo. Camgaroo2 and inverse pericam showed very modest responses when expressed under the inducible promoter system (Hasan et al., 2004). Fluorescence-recovery-after-photobleaching experiments indicated that half of the expressed inverse pericam was immobile (Hasan et al., 2004). These failures were attributed to interference, and inspired efforts to engineer probes orthogonal to endogenous calcium signaling molecules.

One approach to avoid endogenous interference was to substitute troponin-C, a skeletal calcium sensor not normally expressed in neurons, for calmodulin (Heim and Griesbeck, 2004). These GECI derivatives showed functional responses in vivo and form the basis of a major GECI class (e.g., TN-L15, TN-XL, TN-XXL) (Garaschuk et al., 2007; Mank and Griesbeck, 2008). Another strategy was the reengineering of the CaM-M13pep interface of yellow cameleons to favor intra- over inter-molecular interactions. These sensors (D1, D2cpv, D3cpv, and D4cpv) functioned when targeted to the plasma membrane and reliably reported calcium transients from single field stimulations in cultured hippocampal neurons (Palmer et al., 2006). In addition to increasing the proportion of functional GECI, the removal of interference may allow much higher levels of GECI expression in vivo, improving SNR.

GECI affinity

The sensitivity of a GECI is critically dependent on sensor affinity, kinetics and dynamic range, which influence responses to calcium transients in an interdependent way. Quantitative measurement of [Ca2+] is impossible without reliable estimates of all three parameters. The reported affinity of a single GECI can vary as much as 8-fold between in vitro and in situ titrations (Nakai et al., 2001; Pologruto et al., 2004). Discrepancies are likely due to differences in the biochemical milieu of the assay (Pologruto et al., 2004). Ionic strength can dramatically affect the maximum ratio change of FRET reporters (Hires et al., 2008) or the apparent affinity of the ligand-binding domain. Calmodulin’s calcium affinity is reduced ~3-fold when assayed in 150 mM vs. 100 mM [KCl] (Linse et al., 1991), and both affinity and apparent cooperativity are reduced with increasing [Mg2+] (Ogawa and Tanokura, 1984).

Pipette internal solutions typically have ionic strength of ~0.17, yet nearly all published in vitro measurements on GECIs, including yellow cameleons (Miyawaki et al., 1997, 1999), reengineered cameleons (Palmer et al., 2006), pericams (Nagai et al., 2001), camgaroos (Baird et al., 1999), troponin-C based indicators (Mank et al., 2006), and G-CaMPs (Nakai et al., 2001; Ohkura et al., 2005) have been made in buffers with only 0.085–0.135 ionic strength (50–100 mM KCl or NaCl). Internal free [Mg2+] ranges from 0 to 4 mM, yet [Mg2+] dependence has only been seriously investigated in troponin-based GECIs (Heim and Griesbeck, 2004; Mank et al., 2006).

We tested the effects of ionic strength, pH, and magnesium on GECIs, measuring the response of G-CaMP2 to calcium in a historical buffer (100 mM KCl, 30 mM MOPS, 10 mM K2EGTA/CaEGTA, pH = 7.50), and mock internal solutions (135 mM KCl, 0–4 mM MgCl2, 10 mM HEPES, 3 mM Na-ascorbate, 10 mM K2EGTA/CaEGTA, pH = 7.30). The historical buffer titration gave values (calcium concentration at half-maximal fluorescence change, K A = 240 ± 45 nM; apparent Hill coefficient, n = 3.96 ± 0.09; dynamic range, F max/F min = 3.93 ± 0.09) in agreement with previous measurements (M. Kotlikoff, personal communication). However, G-CaMP2 in mock internal solution exhibited much weaker affinity, reduced cooperativity, and higher dynamic range. Increasing [Mg2+] decreased apparent calcium affinity and dynamic range (K A = 443 ± 13, 584 ± 30, 704 ± 37, 835 ± 71 nM; n = 2.39 ± 0.013, 2.31 ± 0.024, 2.51 ± 0.024, 2.62 ± 0.038; F max/F min = 6.42 ± 0.22, 6.25 ± 0.05, 5.81 ± 0.07, 5.50 ± 0.08 for [Mg2+] = 0, 1, 2, 4 mM) (Fig. 2f).

Since similar binding mechanisms govern GECI signaling, the results from G-CaMP2 are likely general to other CaM-based GECIs. The accuracy of intracellular [Ca2+] measurement with GECIs could be improved by using affinity constants determined in the specific intracellular solution used in the patch pipette, or in a buffer that reflects cytosol if cell membrane-intact recording methods are used. Ideally, affinities should be confirmed with simultaneous in situ imaging of a synthetic dye (Pologruto et al., 2004). Since membrane-intact, in situ calibrations are inherently dynamic measurements, GECI kinetics must be considered for accurate in situ affinity estimates.

GECI kinetics

Neuronal calcium transients are brief. The fluorescence response of a GECI is thus highly dependent on its kinetic properties, which are difficult to measure in a physiologically relevant context. Recently, a model of the troponin-C based GECI, TN-L15, proposed a kinetic scheme, rate constants and transfer function between calcium transients and TN-L15 response (Tay et al., 2007). Rather than precisely determine a kinetic scheme for a particular GECI, we construct a simple model to illustrate the dependence of a generic GECI’s response on its kinetic rates and other intrinsic properties.

The GECI model is loosely based on G-CaMP2 recordings. All four Ca2+ binding events, the M13 to calmodulin binding event, chromophore activation, and all other conformational shifts leading to fluorescence, are represented in a single transition:

$$ {\text{S}} + {\text{Ca}}^{2 + } \underset{{k_{\text{off}} }}{\overset{{k_{\text{on}} }}{\longleftrightarrow}}{\text{S:Ca}}^{2 + } $$
(6)

where S represents the unbound, non-fluorescent state, Ca2+ is free calcium and S:Ca2+ is the bound, fluorescent state. At equilibrium, the fractional saturation state of the GECI is described by

$$ \Uptheta = \frac{{[{\text{Ca}}^{2 + } ]^{n} }}{{[{\text{Ca}}^{2 + } ]^{n} + K_{\text{A}}^{n} }} $$
(7)
$$ K_{\text{A}} = \frac{{k_{\text{off}} }}{{k_{\text{on}} }} $$
(8)

where k off and k on are the rates of fluorescence transition and K A is the [Ca2+] at half maximal fluorescence change. The fluorescence of the GECI is related to its fractional saturation by

$$ F = \Uptheta (F_{\max } - F_{\min } ) + F_{\min } $$
(9)

or in terms of fluorescence,

$$ \Uptheta = \left( {\frac{{F - F_{\min } }}{{F_{\max } - F_{\min } }}} \right) $$
(10)

For FRET and ratiometric single FP reporters, F is analogous to the ratio of the two emission wavelengths.

To quantify dynamics, we represented the change in fractional GECI saturation as the difference between second-order GECI-Ca2+ association and first-order dissociation:

$$ \frac{{{\text{d}}\Uptheta }}{{{\text{d}}t}} = k_{\text{on}} (1 - \Uptheta ) [ {\text{Ca}}^{2 + } ] - k_{\text{off}}^{\prime } \Uptheta $$
(11)

To approximate the cooperativity of GECI fluorescence change, we instantaneously varied the apparent off rate \( k_{\rm off}^{\prime}\) as a function of the fractional saturation:

$$ k_{\text{off}}^{\prime} = k_{\text{off}} \cdot \left( {\frac{\Uptheta }{1 - \Uptheta }} \right)^{{\frac{1 - n}{n}}} $$
(12)

for Θ < 1.

We simulated the calcium response of a hypothetical GECI to trains of 1, 2, 3, 4, 5, 10, and 40 APs, with single-AP Δ[Ca2+]i = 250 nM, τ = 330 ms, [GECI] = 10 μM, n = 2.5 and \( F_{\max } /F_{\min } = 5 \).

We based the kinetic parameters of the model on the best fit to 2-photon imaging of G-CaMP2 in room temperature in utero electroporated acute cortical slice: K A = 1250 nM, k on = 8 × 105 M−1 s−1, and k off = 1 s−1 (Fig. 3a). The deviation between our in vitro affinity estimates and this in situ estimate may be due to endogenous protein interference, incomplete exchange of pipette solution and cytosol, saturation of calcium buffers (Neher, 1998) or release of intracellular calcium stores.

GECI fluorescence properties

The total dynamic range of a GECI is defined as the ratio of the signal (fluorescence intensity or acceptor-to-donor emission ratio) of the Ca2+-saturated to the Ca2+-free state. The effective dynamic range is defined as the ratio of the signal in saturating calcium to that at baseline calcium. The SNR, as defined in Eq. 1, scales linearly with effective dynamic range. The dynamic range of currently available GECIs has been summarized elsewhere (Garaschuk et al., 2007). The SNR ratio scales as the square root of the number of emitted photons collected, which is closely related to FP intrinsic brightness (extinction coefficient * quantum yield).

Single FP reporters conserve spectral bandwidth, allowing the stacking of additional optical readouts below and above the GFP wavelength. However, measurements must be relative to a baseline as variation in expression or excitation power directly varies fluorescence intensity. Ratiometric measurement of a two-FP GECI makes calcium measurement theoretically independent of expression level or excitation power. It also improves resistance to motion artifacts. In practice, variation in autofluoresence and cell thickness confounds single timepoint ratiometric measurements, particularly under epifluorescence illumination.

Ratiometric imaging multiplies two independent shot noise components hence is inherently noisier than single-FP imaging at the same brightness. However, FRET-based GECIs, TN-XL (Mao et al., 2008), and D3cpv (unpublished observations) expressed in cultured slice are approximately 10× brighter than G-CaMP2 in the calcium-free state. This brightness may be partially due to higher expression levels, but the intrinsic brightness of the cyan and yellow FP components are much higher than the destabilized GFP of calcium-free G-CaMP2. Due to this increased intrinsic brightness, the SNR of TN-XL and D3cpv response will be greater than G-CaMP2 for a given percent signal change.

GECI optimization

Theoretical improvements

No single GECI is optimal for all imaging experiments. The appropriate combination of intrinsic GECI parameters must be matched to the extrinsic properties of the system. These extrinsic properties include the size, shape, and the frequency of calcium transients, and baseline [Ca2+]. Intrinsic GECI parameters include the sensor affinity, kinetics, dynamic range, brightness, expression level, and its independence from endogenous interference.

The relationship between these parameters can be illustrated by their effect on our model GECI. Varying calcium-binding affinity while holding other parameters constant reveals the tradeoffs between detection of short and long spike trains. A high GECI affinity results in a greater single-AP change in fractional saturation, facilitating detection of single (250 nM) calcium peaks. However, the sensor will saturate more easily, meaning that long spike trains may be poorly resolved. A low affinity provides a baseline F 0 (F at resting calcium) closer to F min (F at zero calcium), hence a greater effective dynamic range. On the other hand, responses to small transients will be reduced. Keeping [GECI] and k on constant, fluorescence response to spike trains of 1–40APs @ 83 Hz was modeled as a function of varying k off (k off = 0.3–30 s−1; K A = 30–3000 nM) (Fig. 3b). The K A that maximized F peak/F 0 was 180 nM for single APs (ΔF/F 0 = 0.14) and 390 nM for 40AP trains (ΔF/F 0 = 3.23). Affinity had a greater influence on response of the GECI to 1AP than to 40AP (Fig. 3b, inset). The model suggests that increasing in situ G-CaMP2 affinity would give a significant increase in SNR. A side effect of reducing k off is a resulting increase in sensor decay time, making resolution of closely spaced spikes more difficult.

The apparent GECI Ca2+-binding cooperativity, n, strongly affects the optimal affinity predicted by the model (Fig. 3c). A model with large Hill coefficient (n = 2.5), as in G-CaMP2, gives an optimal K A much closer to [Ca2+]0 than more linear models (n = 1, optimal K A = 820 nM), comparable to in vitro estimates of TN-XXL (Mank and Griesbeck, 2008) and D3cpv affinity (Palmer et al., 2006) (Fig. 3c). High n also provides a higher peak response to a single AP at optimal affinity (Fig. 3c). This advantage is more pronounced with faster kinetics or greater total dynamic range (data not shown). As with high Ca2+-binding affinity, high cooperativity also causes more rapid sensor saturation. It may be preferred for single-spike detection, while systems with tonic or highly modulated activity may best be measured with more linear GECIs.

The model also predicts that faster calcium-association rates will result in greater fluorescence signals. Keeping other model parameters fixed, k off was varied continuously, and k on was discretely increased relative to the starting value (Fig. 3d). Increasing the calcium-association rate resulted in slightly higher computed optimal affinity, and significantly larger peak fluorescence response for single transients (Fig. 3d).

Improved fluorescence properties of GECI components will also increase SNR. According to Eq. 1, the SNR of a GECI is linearly dependent on effective dynamic range (F max/F 0). Since the F 0 is dependent on the total dynamic range (F max/F min) and the fractional saturation of the sensor at resting calcium (Eq. 9), increasing F max is more effective at improving effective dynamic range when the fractional saturation at [Ca2+]0 is close to 0 (Fig. 3e).

Brighter GECI fluorescence yields more photons harvested during imaging, improving SNR (Eq. 1). Photobleaching is of particular concern for two-photon illumination, commonplace for in vivo neuronal imaging. Increased GECI photostability allows greater laser intensity, producing more photons per second. It can also increase the duration that activity can be continuously monitored. Rapid and complete chromophore maturation at physiological temperature is a prerequisite for in vivo functional imaging. Incorporation of FPs with minimal sensitivity to H+ and Cl ions (Tsien, 1998) or to hypothetical FRET quenchers such as ATP (Willemse et al., 2007) may also improve in situ brightness.

Practical improvements

Troponin C-based GECIs such as TN-L15 were designed with the goal of maximizing kinetic rates by use of a fast-binding recognition element (Heim and Griesbeck, 2004). Engineering of two EF hands of TN-L15 produced TN-XL, which shows much faster on and off rates than all other FRET-based GECIs, though is not clearly faster than G-CaMP1.6 (Mank et al., 2006). TN-XL’s affinity is too weak for single AP detection. It has been enhanced by duplication of the higher affinity binding sites in the place of the lower affinity sites, at the cost of some dynamic range, to create TN-XXL (Mank and Griesbeck, 2008).

Many FRET reporters have been improved by substitution of circularly permuted FPs and linker mutagenesis, to optimize excitation and emission dipole orientation (Nagai et al., 2004; Palmer et al., 2006; Mank et al., 2006). To date, the largest observed in vitro FRET ratio change for a linearly fused, reversible FRET indicator is 8-fold in a prototype zinc sensor (Amy Palmer, personal communication), compared to 6.6-fold for YC2.60 and YC3.60, 5.3-fold for D3cpv, 5-fold for TN-XL, and 3.3-fold for TN-XXL (Mank and Griesbeck, 2008). Thus, a 2-fold increase in total dynamic range for FRET-based GECIs seems plausible. In the single FP instance, Case-16 shows a 16-fold ΔF/F 0 in vitro (Souslova et al., 2007), 3-fold better than G-CaMP2. If such improvements hold in situ, this will result in significantly better SNR.

Brighter cyan FPs have recently been developed, such as Cerulean (Rizzo et al., 2004) or mTFP (Ai et al., 2008). Substitution of Cerulean for ECFP in cyan-to-yellow FRET sensors has improved SNR (Heim et al., 2007), though this may decrease photostability (Shaner et al., 2005). Alternative FRET pairs using GFP and tdTomato or other coral-derived FPs may have greater brightness, tissue penetration, and photostability (Shaner et al., 2005). In both cases, substitution of these proteins may necessitate sensor re-optimization, as emission dipoles and linker effects can be starkly different even with subtly different FRET pairs (Hires et al., 2008). For single-FP GECIs, the extinction coefficient and quantum yield of the saturated state of G-CaMP2 (Tallini et al., 2006) could potentially be increased to the level of EGFP.

GECIs ideally should not respond to non-target stimuli such as other divalent cations, which may not correlate with neural activity. Cameleon emission spectra are not directly changed by [Mg2+] (Miyawaki et al., 1997), but the effect of Mg2+ on cameleon-Ca2+ titration curves has not been published. Mg2+ may compete with Ca2+ at certain binding sites without inducing a significant conformational change in cameleons. Calcium titration curves of the troponin C-based GECI TN-L15 showed strong Mg2+-sensitivity (Heim and Griesbeck, 2004). Rational engineering of two EF hands within troponin-C produced TN-XL (Mank et al., 2006), with greatly reduced Mg2+-sensitivity. Similarly, GECIs should not interact with endogenous calcium-binding proteins. Computational “bump-hole” redesign of the calmodulin-M13pep interface within the context of an ECFP-cpVenus FRET sensor produced the D2cpv, D3cpv, and D4cpv class of cameleons (Palmer et al., 2006). These redesigned GECIs performed much better than YC3.3 in membrane-targeted constructs imaged in dissociated hippocampal neurons (Palmer et al., 2006). However, the computational redesign was performed on a significantly different calmodulin-binding peptide than previous cameleons preventing direct comparison.

GECI testing standardization

The performance of various GECIs has been determined in a wide variety of systems. However, comparing their performance between different in vitro, in situ, and various species of in vivo preps is difficult, as each system has substantially different extrinsic parameters. Some diversity in test systems is warranted; performance in mice will depend on different parameters than performance in flies or worms. However, consolidation and standardization of test systems would benefit GECI developers and end-users.

An ideal testing standard should encompass as many aspects of the final measurement system as possible. This standard must be sensitive to both affinity and kinetics. Predicting GECI responses to dynamic calcium transients from equilibrium binding experiments alone is futile. Correspondingly, testing should be done at physiological temperature. The calcium transient must be reliably produced and accessible by independent measurement. It should approximate the time course of the signal that ultimately will be measured. If produced by a natural stimulus, the mean and variance of the number of APs it drives and the contribution of synaptic input must be known. To prevent GECI washout and retain effects of expression and interference, the intracellular milieu should be unperturbed. Practically, the method should retain sufficient throughput to assess newly obtained GECIs with minimal delay. It should also be cost-effective and accessible to a large number of imaging and physiology labs.

Most non-neuronal cell types lack sufficient calcium extrusion machinery to rapidly (≪1 s) clear intracellular calcium, making a test in those cells insensitive to sensor kinetics. In dissociated neuronal cultures, the network connectivity and extracellular milieu is dramatically disrupted, which may change the expression patterns of calcium channels and increase response heterogeneity. Cultured slices give anomalously large responses compared to acute slices (Mao et al., 2008). Although cultured neurons can provide a high throughput for screening large numbers of potential sensors, they are imperfect for careful comparison of a small number of high quality sensors.

Recent experiments have established a standard that captures many aspects of in vivo functional imaging of mice. This standard is 2-photon imaging of GECI responses to back-propagating APs in acute brain slice. The APs are driven by intermittent 2 ms depolarizing pulses (Pologruto et al., 2004; Mao et al., 2008), or by continuous current injection (Heim et al., 2007) from a patch pipette. Intermittent stimulation offers greater control over spike timing and frequency. Continuous depolarization may cause significant calcium flux during the inter-spike interval, which could overestimate the GECI response to naturally occurring spike trains. With both techniques, spontaneous activity is silenced with glutamate receptor blockers, so the potential confound of synaptic input is avoided. The calcium transients associated with back-propagating APs have been well characterized, and slice imaging is amenable to Δ[Ca2+]i confirmation with a synthetic dye. Slices can be recorded at room temperature or physiological temperature. Since the GECI is expressed from a prenatal period, developmental and interference effects will be captured. Recording can be done with high-resistance electrodes or via perforated patch to reduce or prevent dialysis of intracellular components.

This technique has a moderate throughput. In conjunction with in utero electroporation, acute slice imaging allows thorough characterization of around two GECIs per person, per week. The delay between plasmid construction and response characterization is 3 weeks. Excluding the fixed costs of an imaging and physiology rig, testing of novel GECIs via in utero electroporation is inexpensive compared to virus or transgenic animal production.

There are a few parameters that this method does not fully capture. In utero electroporation does not drive very high expression levels. In neurons that highly expressed G-CaMP2, sensor invaded the nucleus and performance was poor (data not shown). GECIs with reduced interference, such as TN-XXL or D3cpv, might show higher relative performance when driven by powerful promoters introduced by virus. In vivo imaging has more challenging SNR requirements due to greater imaging depth and motion artifacts. However, mice from the same litter of in utero electroporated animals can be simultaneously tested in brain slice and in vivo preps. This can easily confirm the predictive power of this testing method.

Combined optical stimulation and recording

Genetically encoded optical tools for the control of membrane potential have improved dramatically over the past several years. However, the action spectrum of the neuronal activating channelrhodopsin-2 (ChR2) (Zhang et al., 2006) and neuronal silencing halorhodopsin (NpHR) (Han and Boyden, 2007; Zhang et al., 2007) overlap with the excitation or emission spectra of currently available GECIs. Far red-shifted variants of ChR2 may permit continuous monitoring of calcium responses during stimulation (Zhang et al., 2008). However, these variants are still in developmental stages and have not been well characterized in in vivo systems. Gated illumination protocols should allow combined neuronal stimulation with GECI monitoring using standard ChR2 and any major class of GECI.

ChR2 requires a brief pulse (1–10 ms) of spatially broad, bright illumination to induce AP firing. At light intensities used for calcium imaging, two-photon laser scanning illumination of ChR2 does not cause membrane depolarization (Zhang and Oertner, 2007). Calcium transients persist for hundreds of milliseconds and are typically acquired at 4–8 Hz in vivo. Two-photon laser scanning can be used to excite the GECI, widefield blue light used to stimulate ChR2, and the GECI emission channels can be gated during the ChR2 stimulation pulses. Precise gating during a 1AP stimulation will cause a loss of GECI signal from only a small fraction of the field of view for a single timepoint.

Since neuronal silencing via NpHR requires continuous illumination, gating during optical silencing will have a greater impact on GECI signal collection. However, NpHR’s action spectrum extends to wavelengths longer than 600 nm (Han and Boyden, 2007). Simultaneous two-photon imaging of a GECI during long wavelength excitation of NpHR should be possible with appropriate selection of interference filters. This could also be combined with ChR2 gating for bi-directional optical neuronal control and recording.

In vivo imaging

What level of improvement in SNR of currently available GECIs is needed to reliably detect single APs in vivo? Currently, the response to single APs of G-CaMP2 or TN-XL is buried in the noise floor of acute slice (Figs. 2a, b, and 3a) (Mao et al., 2008; Heim et al., 2007). In cultured slice at room temperature, a burst of four APs at 83 Hz was required for >90% reliable detection of G-CaMP2 signal, while 10 AP were required at 35°C (Mao et al., 2008). Both burst conditions had an average peak ΔF/F 0 of approximately 60%, with the smallest detectable response of approximately 30% ΔF/F 0 (Mao et al., 2008). Brighter GECIs, such as D3cpv and TnC-based sensors should have significantly lower thresholds, due to reduced noise. In acute cortical slice from transgenic CerTN-L15 mice, continuous current injections that caused a two AP burst gave ΔR/R 0 of 13%. These were detectable, though reliability statistics were not published (Heim et al., 2007).

The noise level in vivo is generally worse than in brain slice. It is dependent on specifics of the imaging setup, on GECI brightness, expression level, and cell depth, so determining the exact amount of improvement needed for reliable single AP detection is impossible. As a rough guide, glutamate-induced dendritic transients of CerTN-L15 in vivo had a ΔR/R 0 of 49% and peak-to-peak noise of approximately 15% in single trials (Heim et al., 2007). The effects of various GECI improvements on reaching in vivo detection thresholds are predictable. Kinetic rates of most biological processes increase between room temperature and 37°C. Peak G-CaMP2 responses recorded at 35°C in acute slice are reported to be reduced by about 50% in amplitude and have ~3-fold faster decay time than at 22°C (Mao et al., 2008). The faster decay is likely due to a combination of an increase in speed of the underlying transient, due to faster calcium extrusion, and an increase in G-CaMP2 kinetics. The reduction in peak response suggests that the temperature dependence of Ca2+-binding to G-CaMP2 is less than that of the calcium extrusion rate. Using calcium transients from dendritic measurements made at physiological temperatures (τ = 70 ms) (Markram et al., 1995) reduces the 1AP response of an optimal affinity GECI from 0.14 to 0.04 ΔF/F 0, assuming no corresponding increase in GECI kinetics (Fig. 3f). A plausible future improvement of F max/F min to 15-fold increases the response to 0.12 ΔF/F 0. As GECI kinetic rates increase, either through the temperature dependence or engineering, the 1AP response reaches levels that should allow reliable in vivo detection (Fig. 3f), with the exact threshold determined by brightness and expression level. Although there is no single “magic bullet” to make GECIs reach performance levels equivalent to synthetic indicators, concerted optimization of the numerous factors explored here provides a plausible route to consistent single AP detection.

Conclusion

GECIs have come a long way in the decade since their creation; nearly every relevant biophysical parameter has been improved relative to the first generation. Increases in baseline brightness and relative signal change have contributed to enhanced SNR ratio. Rational engineering of GECI components has produced variants with decreased interaction with endogenous proteins, facilitating long-term imaging experiments at higher expression levels with fewer non-target effects. Concomitant with sensor improvements, systematic optimization of data collection, filtering, and analysis techniques has improved spike detection (Yaksi and Friedrich, 2006). Several classes of GECIs have performed well for neural imaging, encompassing single-FP and FRET sensors, and sensors based on calmodulin and troponin-C calcium-binding domains. Published GECIs are adequate for detecting high frequency bursts of neuronal activity, making them appropriate for activity localization in mouse myotubes (Nakai et al., 2001), mouse cerebellum (Diez-Garcia et al., 2005), or in invertebrate systems (Kerr et al., 2000; Higashijima et al., 2003; Wang et al., 2003; Chronis et al., 2007; Clark et al., 2007). However, reliable in vivo single-AP detection is not yet feasible with the current generation of techniques. For the moment, projects seeking to image sparsely encoded information will best be served by bulk loading of small molecule dyes, despite the limitations of an acute time course, difficult loading, poor cellular specificity, and neuropil signal contamination (Kerr and Denk, 2008).

Future protein engineering efforts will primarily focus on improving GECI SNR. Incremental increases to existing GECIs appear sufficient to reach single-AP detection, but novel scaffolds may be found with even greater performance. Structural analysis of GECIs via X-ray crystallography or NMR may help elucidate their Ca2+-dependent reporting mechanism, particularly if structural information can be obtained in both the Ca2+-free and Ca2+-bound states. This could aid in the optimization of existing sensors and the engineering of new ones. It must also be ensured that GECIs are amenable to long-term expression and imaging in animals. This may involve iterative negative design against endogenous interactions and use of inducible, reversible promoters (Hasan et al., 2004).

GECIs must be prototyped in a way that will accurately predict their performance in functional imaging studies. Broad use of a standard assay in a well-defined biological system will ensure that the best GECIs are prioritized for further testing and eventual construction of transgenic lines. Systematic optimization of individual sensor components, allosteric response mechanisms, and overall performance in a realistic assay, will lead to dramatic improvements in many GECI formats in the near term. The goal of imaging sparse firing in vivo with GECIs requires much work, but the prospect of long-term, high resolution, non-invasive in vivo functional imaging in defined cell populations guarantees that it will be worth the effort.

Methods

In vitro characterization—G-CaMP2 was expressed in Escherichia coli BL21 (DE3) using a pRSETB plasmid, and purified via a 6His-NiNTA system. Following buffer exchange to 100 mM NaCl, 20 mM Tris, pH 7.5, protein was diluted ~200-fold to 1 μM [G-CaMP2] in a historical buffer of 100 mM KCl, 30 mM MOPS, pH 7.5, or mock internal solution of 135 mM KCl, 0–4 mM MgCl2, 10 mM HEPES, 3 mM Na-ascorbate, pH 7.3. These solutions were supplemented with a 10 mM blend of K2H2EGTA and CaEGTA from the concentrated Calcium Calibration Kit (Invitrogen) in various ratios to control free calcium concentration. The pH probe was calibrated and solution acidity adjusted with small volumes of KOH and HCl while submerged in a water bath maintained at 28°C. Four sets of titration points for each condition were measured three times on a Safire2 fluorescence plate reader (Tecan) with excitation at 470 nm and emission at 510 nm, bandwidth 15 nm, then averaged.

To estimate intracellular [G-CaMP2], purified G-CaMP2 in pipette internal solution supplemented with 1 mM K2EGTA was drawn into thin glass capillaries (ID = 0.02 mm, Vitrocom #RT5002) at 0.1, 1, and 10 μM concentrations. Their fluorescence intensity was measured under 2-photon excitation parameters identical (910 nm) to slice imaging. These intensities were compared to those of the recorded G-CaMP2 cells. Expression was estimated by assuming fluorescence per molecule of G-CaMP2 was identical between purified and intracellular G-CaMP2.

Slice preparation and recording

In utero electroporation and acute slice preparation was done as previously described (Mao et al., 2008). After 1 h pre-incubation, slices were transferred to an immersion-type recording chamber and perfused with ACSF comprising (in mM) 127 NaCl, 2.5 KCl, 1.25 NaH2PO4, 25 d-glucose, 25 NaHCO3, 4 CaCl2, and 4 MgCl2 saturated with 95% O2/5% CO2 and with 25 μM (R)-CPP (Tocris) and 25 μM NBQX (Sigma) to block glutamate receptors. Recordings were performed at room temperature (22°C). Neurons were visualized under infrared differential interference optics and patched with borosilicate pipettes (resistance 4–6 MΩ). The intracellular solution contained (in mM) 128 K-gluconate, 10 HEPES, 10 Na2-phosphocreatine, 4 Na2-ATP, 0.4 Na-GTP, 4 MgCl2, 0.4 Na2-GTP, and 3 Na-ascorbate (pH 7.27; 287 mOsm). Cells were recorded at a depth of 50–95 μm in the brain slice.

Imaging was performed as previously described (Mao et al., 2008). Neurons were imaged in line-scan mode (500 Hz) across a location 20–40 μm from the base of the apical dendrite using 2-photon excitation from a Ti:sapphire laser (Mira, Coherent, Santa Clara, CA, USA) tuned to 910 nm. Fluorescence was collected in two channels in both epi- and trans-fluorescence mode using four photomultiplier tubes (Hamamatsu, Hamamatsu City, Japan), then separated into green and red channels with 565 nm dichroics and BG22 (green) and HQ620/90 (red) emission filters. PMT dark noise was subtracted from all traces. Crosstalk between emission channels was negligible. Peak fluorescence was determined by averaging 30 ms of the raw fluorescence time series about the peak of the trace linearly filtered at 30 Hz. Data were acquired and analyzed with custom Matlab software (Mathworks).

GECI modeling

Simulations of calcium transients and GECI response were performed in Matlab. Euler’s method was used for time discretization with a time step of 20 μs. Matlab notebooks used for modeling calcium transients and GECI responses are available on the Brain Cell Biology website.