Introduction

Cellular redox balance is central to the regulation of energy production and intermediary metabolism, as well as for cell survival, growth and proliferation. Alterations in this balance have been coupled to a broad range of pathological conditions, including neurodegenerative, infectious and inflammatory diseases, and cancer1,2,3. Two major determinants of cellular redox balance are the nicotinamide adenine dinucleotide (NAD+/NADH) and nicotinamide adenine dinucleotide phosphate (NADP+/NADPH) redox couples. The primary role of NAD+ is to act as an electron acceptor in catabolic pathways, while NADPH acts as a central electron donor in anabolic pathways4. Both NADH and NADPH, hereinafter referred to as NAD(P)H, are fluorescent, while their oxidized forms, NAD(P)+, are not.

NAD(P)H autofluorescence, typically studied by laser scanning microscopy (LSM) and two-photon excitation (TPE)5, offers a versatile readout for label-free metabolic imaging of cells and tissues6,7,8. Several relations between metabolic cellular phenotypes and the recorded fluorescence properties of NAD(P)H can be exploited. By optical redox ratioing (ORR), comparing cellular fluorescence intensity of NAD(P)H with that of oxidized flavin adenine dinucleotide (FAD+), it is possible to estimate the balance between oxidative phosphorylation and glycolysis for adenosine triphosphate (ATP) production in cells9,10. However, inhomogeneous intra-cellular concentrations of NAD(P)H and FAD+, together with local variations in fluorescence quantum yield due to enzyme binding11, makes plain intensity quantification of cellular metabolic states difficult. Fluorescence lifetime microscopy (FLIM) can account for these effects and determine the ratio of free to protein-bound NAD(P)H by the fraction of short (τfree) and long (τbound) fluorescence lifetimes in the sample. This free-vs-bound ratio has been found to be a sensitive indicator of cellular energy metabolism12,13, capable to identify metabolic phenotypes representing early pathological conditions in cells7,14,15,16,17, mitochondria and other subcellular compartments18. Moreover, local variations in τbound, attributed to binding of NAD(P)H to different enzymes and conformational heterogeneities of those enzymes, have been reported to reflect different cellular metabolic states19. Still, despite numerous successful examples of the use of NAD(P)H fluorescence and TPE FLIM to non-invasively monitor cellular metabolism, identify metabolic cellular phenotypes, and the many potential clinical applications of such assessments 8,20, the biochemical basis for variations in ORR, free-vs-bound NAD(P)H, and τbound is not yet fully understood11. The assessments are influenced by artifacts and give only a relatively limited view of the metabolic states of the cells. NADH and NADPH show almost identical fluorescence properties in aqueous solution21,22, and have been found difficult to separately detect inside cells23. The two co-enzymes take part in several, distinctly different metabolic pathways4, and changes in the redox balance within cells may thus lead to different changes in the reduced, fluorescent fractions of each of these compounds, and in their protein-bound fractions. This complicates the interpretation of changes in the NAD(P)H fluorescence readouts in cells11, and changes in NADH and NADPH fluorescence may even cancel each other out.

One way to overcome current limitations in label-free cellular metabolic imaging is to use additional, orthogonal information in the NAD(P)H fluorescence. Such information can be obtained from the fluorescence blinking of NAD(P)H, upon transitions to and from photo-induced dark states. Studies by fluorescence correlation spectroscopy (FCS) and other single-molecule techniques have shown that blinking properties of organic fluorophores, generated by transitions to and from dark triplet and photo-oxidized states, are highly sensitive to the immediate environment around the fluorophores24,25. Notably, these transitions are specifically sensitive to redox conditions and oxygenation, parameters of particular relevance in cellular metabolic studies. The photophysics underlying such blinking properties in NAD(P)H have been extensively studied, in particular by transient absorption and electron spin resonance (ESR) spectroscopy26,27,28,29. However, although these methods have proven useful for the photophysical characterization of NAD(P)H itself, they do not lend themselves to studies in live cells. FCS is compatible with live cell studies, but requires single-molecule detection conditions. The fluorescence brightness of individual NAD(P)H molecules is too weak for FCS studies, in any sample medium.

Here, we show that the major photophysical transitions of NAD(P)H can be determined by monitoring its fluorescence intensity in response to systematic modulation of a laser excitation source, by so-called transient state (TRAST) spectroscopy/imaging30,31. We first characterized dark-state transitions of NADH in aqueous solution, and demonstrate that, by this simple and widely applicable method, we can obtain the same data as from transient state absorption and ESR spectroscopy. We then show that these transitions can be imaged on a local, subcellular scale in live cells, providing information on redox environments and metabolic states not clearly reflected in traditional fluorescence parameters. The proposed procedure circumvents all major limitations of FCS and related single-molecule techniques to assess NAD(P)H dark state transitions in live cells and can be applied in parallel with standard TPE FLIM assessments.

Results

From TRAST measurements on NADH in aqueous solution using one-photon excitation (OPE) in the UV, a photophysical model for NADH was established, tested under different experimental conditions, and compared to literature26,27,28,29. Based on this model, we investigated the photophysical properties of NADH in aqueous solution upon TPE, with an IR laser systematically scanned with different speeds across the sample. Thereby, we could determine a slightly modified photophysical model for NADH under TPE conditions. Using a similar laser-scanning approach, we finally demonstrated TRAST imaging of NAD(P)H in live cells, and that orthogonal information about metabolic states of cells can be obtained, assessed in parallel with the full toolbox of TPE FLIM.

Solution measurements with one-photon excitation

TRAST measurements were performed on NADH in aqueous solution, using a confocal setup with a stationary 355 nm laser beam for OPE. The excitation laser was intensity-modulated, so that samples were subject to square-wave excitation pulse trains of varying duration, w (see Methods and Materials). We analysed the photophysics of NADH under different environmental and excitation conditions by so-called TRAST curves30,32,33, showing the normalized time-averaged fluorescence of NADH, 〈Fexc(w)〉norm, as a function of pulse duration, w. By varying the measurement conditions to specifically affect one or several of the major photo-induced states of NADH, and guided by previous photophysical studies of NADH by transient absorption and ESR spectroscopy26,27,28,29, we could define a photophysical model for NADH relevant for our measurement conditions. This model was verified by global fitting of all the TRAST curves, whereby also the rate parameters for the photophysical transitions of NADH were determined. (Hereinafter, stated confidence intervals for determined rate parameter values and slopes are 95% confidence intervals).

Effects of excitation intensity and oxygen concentration

Figure 1A shows TRAST curves recorded from an air-saturated solution of NADH, under different excitation intensities. The curves are approximately flat in the time range of 500 ns to 10 μs, indicating little or no triplet state population present within the typical time scale for triplet state relaxation, as observed for organic fluorophores24 and autofluorescent compounds32,33. For pulse durations, w, from 10 μs up to 1 ms, a prominent dark state build-up can be noted. The time-scale and multi-exponential behaviour of this decay, resulting in an almost linearly declining TRAST curve, is compatible with stepwise photo-oxidation of NADH to its non-fluorescent form NAD+.

Figure 1
figure 1

Experimental TRAST curves recorded from 1 μM NADH (50 mM TRIS, pH 7.4, if not stated otherwise) under OPE. (A) Irradiance (Iexc) dependence (10 to 81 kW/cm2). (B) Influence of oxygen on the TRAST curves (only two irradiances shown for clarity). Titrations of (C) sodium ascorbate, (D) TRIS buffer at pH 7.4, (E) sodium hydroxide in aqueous solution without TRIS buffer and (F) H2O2 (measured at 50 kW/cm2). All curves (A-F, solid lines) were fitted simultaneously (see Global parameter fitting to TRAST curves generated under OPE) and are shown with absolute residuals, multiplied by a factor of 100 for clarity.

To support these interpretations, we repeated the measurements in atmospheres of pure oxygen and pure argon (Fig. 1B). Oxygen-saturated measurements revealed an increased decay in the TRAST curves on a time scale of around 100 μs. Given the minimal triplet state population already under air-saturated conditions (Fig. 1A), the triplet state can be neglected entirely in a pure atmosphere of oxygen, a potent triplet state quencher. The increased decay is instead attributed to an increased build-up of photo-oxidized NADH, promoted by the presence of more oxygen. Complete de-oxygenation by argon also resulted in a minor increase of the TRAST curve decay, but on a faster time-scale. This effect is compatible with the presence of a minor triplet state population, barely observable under air-saturated conditions.

Photophysical model for NADH

The observations in the TRAST curves, as shown in Fig. 1A,B, are well in line with previous photophysical studies of NADH. With optical detection of magnetic resonance (ODMR) and photoluminescence studies, no34, or very minor35 evidence of triplet state formation in NADH could be observed upon excitation at 313 nm or longer wavelengths. In contrast, transient state absorption26,27,29 and ESR28,36 studies show that radical cations of NADH are readily formed upon light excitation. Based on the effects of excitation intensity and oxygen concentration observed with TRAST (Fig. 1A,B), and taking these previous studies of NADH photophysics26,27,28,29,34,35,36 into account, we constructed a photophysical model for NADH (Fig. 2). The purpose of the model is to include all dark state transitions captured in our TRAST measurements (but to leave out details of dark states, such as tautomerizations, two electron ejection, multiple protonation and dimerization states, which cannot be distinguished from each other by our TRAST measurements).

Figure 2
figure 2

Photophysical model for NADH, adapted for TRAST analysis. Excitation takes place from the singlet ground state (0NADH) to the first excited singlet state (1NADH), or to a higher excited singlet state (nNADH). Excitation can result in dark state formation, via intersystem crossing to a triplet state (TNADH), or via electron-ejection into a radical cation (·NADH+). ·NADH+ rapidly deprotonates into a neutral radical, ·NAD40, followed by a second one-electron oxidation to form the stable oxidized form NAD+. As a competing route, ·NADH+ can also return to 0NADH, by recombining with a free electron, or taking up an electron from an electron donor. The short-lived ·NAD radical was not explicitly included in the model, since although it can also dimerize, leading to a manifold of other reactions57, the one dominating process under our experimental conditions is the further oxidation to NAD+. Rate parameters: ground state excitation rate (k01), combined fluorescence and non-radiative decay rate (k10), intersystem crossing rate (kisc), triplet relaxation rate (kT), electron ejection rate from 1NADH (kee), electron ejection rate from nNADH (keen), radical deprotonation rate (kdeprot), radical reduction rate (kred). The blue part of the model refers to transitions which under our experimental conditions only took place with TPE, as discussed in the main text. The yellow part of the model represents diffusion mediated recovery of 0NADH in the excitation volume of the experiment (see SI section 4).

In the model of Fig. 2, the first step of NADH photo-oxidation is the ejection of a single electron, forming the radical cation ·NADH+. Some controversy remains in literature whether this electron ejection has a one-photon27 or a step-wise two-photon26,29 excitation dependence, and under what conditions the two different electron ejection models would apply. To investigate which model is suitable for our TRAST measurements, we studied how the decay amplitudes, ATRAST, of the TRAST curves were related to the applied excitation irradiance, Iexc. ATRAST represents the total dark state build-up in NADH for long w. In absence of excitation saturation (\({k}_{01}\ll {k}_{10}\)) and neglecting any triplet state formation, the effective photo-oxidation rate from 0NADH to NAD+ is \({k}_{ox}^{\text{'}}\propto {A}_{TRAST}/(1-{A}_{TRAST})\). A log-log plot of ATRAST/(1 − ATRAST) versus Iexc produces a straight line with a slope of 1.06 ± 0.1 (data not shown), suggesting a predominantly linear Iexc-dependence under our experimental conditions. A similar analysis of initial fluorescence intensity (i.e. the fluorescence intensity recorded for short w, with negligible dark state build-up) versus Iexc gives a slope of 0.97 ±0.05 (data not shown), confirming that \({k}_{01}\ll {k}_{10}\) over the range of Iexc used.

Finally, we performed TRAST measurements (43 kW/cm2) with additions of up to 10 mM potassium iodide (KI), known to affect both intersystem crossing and triplet state quenching in many fluorophores37. However, no changes in ATRAST could be found under our experimental conditions. This suggests that triplet state formation in NADH is minor and that electron ejection from the triplet state can be neglected as a pathway for ·NADH+ formation.

Redox, pH and buffer dependence

To confirm the model of Fig. 2, and to investigate the sensitivity of TRAST measurements to biological factors such as pH, redox balance and buffer strength, we performed TRAST experiments with sodium ascorbate (anti-oxidant, 0–10 mM), hydrogen peroxide (oxidant, 0–10 mM), sodium hydroxide (pH, 0–40 mM) or TRIS buffer (0–1 M) added into the NADH solution.

After formation of the radical cation ·NADH+, fast deprotonation (by a concerted electron-H atom transfer from ·NADH+) is known to follow, at first-order rates in the range of 106 s−129. ·NADH+ is strongly acidic and the deprotonation from ·NADH+ to NAD+ is essentially irreversible under biologically relevant conditions38,39. However, the fact that reported values for the NADH electron ejection yields are higher than the corresponding photo-oxidation yields27, suggests that ·NADH+ can also recombine with a solvated electron, thereby returning to 0NADH. We investigated this recombination by adding ascorbate (Asc) as an electron donor, which was found to decrease the decay amplitudes in the TRAST curves (Fig. 1C), consistent with promoted recombination of ·NADH+ back to 0NADH. However, the decrease was lower than for other auto-fluorescent compounds32 or fluorophores25. This can be explained by the comparably short lifetime of ·NADH+, and that reduction back to 0NADH competes with rapid deprotonation and further oxidation to NAD+.

In contrast to Asc, addition of hydrogen peroxide (H2O2), hydroxide ions (OH) or TRIS buffer slightly increased the decay amplitude of the recorded TRAST curves (Fig. 1D–F). This indicates an increased formation of NAD+, with the compounds acting as acceptors of either protons (TRIS), or electron-H atom units38,39. The relatively weak effects seen in the TRAST curves upon addition of these compounds supports the view that they have a minor relative effect on the fast deprotonation rate of ·NADH+29.

We also investigated if NADPH shows different photo-oxidation dark state transitions compared to NADH. However, no significant differences could be observed under the experimental conditions applied for the NADH studies described above.

Global parameter fitting to TRAST curves generated under OPE

Based on the rate equations following from the photophysical model of NADH (Fig. 2), and by use of eq. (S3) with simplifications according to (S10) and (S12), rate parameters were numerically fitted (see Methods and Materials) to all the recorded TRAST curves described above. In the fit, the excitation rate (\({k}_{01}=\sigma {\Phi }_{exc}\)) was set based on a reported excitation cross section, σ, of 2.0 · 10−17 cm2 (at 355 nm)21 and a local photon flux calculated as \({\Phi }_{exc}={I}_{exc}\lambda /(hc)\), where hc/λ is the photon energy. All other rates (kisc, kT, kee kred, kdeprot and diffusion recovery parameters) were fitted globally (to same values for all 53 TRAST curves). Linear concentration dependencies were assumed for kT (O2), kred (O2 and Asc), and kdeprot (H2O2, OH and TRIS buffer). A constraint was added on the combined 1NADH decay rates (k10 + kisc + kee = 1/τF) to reproduce the experimental fluorescence lifetime τF = 0.4 ns21,27.

Fitted curves with residuals are shown in Fig. 1A–F, and the fitted parameter values in Table 1. The intersystem crossing rate, kisc, was determined to 0.9 · 106 s−1, which is comparable to kisc rates of organic fluorophores with low triplet quantum yields, ФT24. However, since τF of NADH is approximately an order of magnitude shorter than for such fluorophores, its ФT is also lower (~0.0004), which explains the very minor triplet state build-up noticed in the TRAST curves, and reported difficulties to detect TNADH formation by e.g. flash photolysis26. The decay rate of TNADH, kT, is largely due to diffusion-controlled quenching by molecular oxygen, and is comparable to kT rates of organic fluorophores24 and other autofluorescent compounds32,33. The photo-induced electron ejection rate, kee, was determined to 5.3 · 106 s−1, orders of magnitude higher than photo-oxidation rates for organic fluorophores under similar conditions25, but comparable to that of tryptophan32. On the other hand, the resulting electron ejection quantum yield, \({\Phi }_{ee} \sim 0.002\), is much lower than those determined by flash photolysis26,27, \({\Phi }_{ee} \sim 0.08-0.4\). This suggests that a large fraction of the ejected electrons recombine with ∙NADH+, thereby forming 0NADH, before full dissociation from ∙NADH+. Flash photolysis studies show that this recombination takes place on a time scale of pico- to nanoseconds26. In our model, on the slower time scale reflected in the TRAST measurements, the combined electron ejection and recombination process is therefore contained in the overall decay rate, k10, from 1NADH to 0NADH. ∙NADH+ molecules not directly recombining with their ejected electrons can either return to 0NADH by taking up another electron from the solvent molecules (kred), or undergo de-protonation by a concerted electron-H atom transfer38 into NAD+ (kdeprot). From the TRAST data, kdeprot was determined to 3.9 · 106s−1, which agrees well with literature data29,40. Given its nature, it is reasonable that kdeprot is increased upon addition of OH, TRIS and H2O2, as observed. Second order rate constants of kdeprot have only been reported for OH40, and is in agreement with the value found in this study (see Table 1). For the solvent-mediated reduction rate of ∙NADH+, kred, we determined a first order rate of 2.8 · 106 s−1, and second order rate constants, kQ,red, of 2.5 · 108 M−1 s−1 and −1.6 · 109 M−1 s−1 for Asc and O2, respectively. The value for kQ,red(Asc) is about an order of magnitude higher than that determined for tryptophan32, but correspondingly lower than that for the organic dye rhodamine 6 G25, under similar experimental conditions. The negative value of kQ,red(O2) likely reflects the high electron affinity of molecular oxygen, which reduces the supply of electrons available to ∙NADH+, for recombination back to 0NADH. This is in agreement with the finding that O2 increases the overall photo-oxidation rate of NADH to NAD+41.

Table 1 Rate parameter values for the NADH model in Fig. 2, as determined by global fitting of TRAST curves recorded in aqueous solution under OPE at 355 nm (Fig. 1). Confidence intervals reflect specifically the uncertainty in the global, non-linear least square fit of the TRAST curves.

To exclude alternative photophysical models, we also evaluated 8 variations of the model in Fig. 2 and determined the most likely candidate based on the Akaike and Bayesian information criteria (AIC and BIC)42,43,44. Indeed, the AIC and BIC scores clearly favour the model of Fig. 2, with a one-photon excitation dependence of kee, which solely originates from 1NADH, and not from TNADH, yet with TNADH included in the model (See SI section 8 for details regarding the evaluated models and the resulting relative likelihoods). The NAD+ state in our model in reality represents several states, all non-fluorescent and long-lived. On the time-scale of the TRAST experiments the recovery rate from NAD+ back to 0NADH can thus be solely attributed to a diffusion-mediated net influx of fresh molecules, from the solution outside of the focused laser excitation beam. To account for this influx, we used two dark states with separate recovery rates in the model, representing the different influx rates along the elongated axial and shorter radial dimension of the laser-excited detection volume (see SI section 4 for details). This is also the diffusion model favoured by the AIC and BIC analysis. The effective diffusion recovery rates were kept constant throughout the global analysis and did not affect any relative changes seen in the TRAST curves.

Solution measurements with two-photon excitation

With the photophysical model established for OPE TRAST measurements of NADH in aqueous solution, we next investigated how this model applies to TPE by a pulsed Ti:Sapphire laser beam, circularly scanned in the sample (see Methods and Materials). TRAST curves were generated by varying the scanning speed, as previously demonstrated for OPE31, while recording the average fluorescence intensity for each effective excitation duration, weff.

Excitation power dependence and ascorbate titration effects

TRAST curves under TPE, with time-averaged Iexc varying from 2.6 to 5.2 MW/cm2 are shown in Fig. 3C. The initial fluorescence intensity plotted against Iexc on a log-log scale yields a fitted slope of 2.0 ± 0.36 (Fig. 3A), in agreement with the expected TPE dependence. Plotting the effective photo-oxidation rates, \(k{\text{'}}_{ox}\propto {A}_{TRAST}/(1-{A}_{TRAST})\), in the same way (Fig. 3A), yields a slope of 2.8 ± 0.2. This compares well with the power-cubed dependence reported for photo-bleaching of several fluorophores, including NADH, under similar TPE conditions45, but is not compatible with the linear electron ejection model used above for OPE. We therefore modified the NADH electronic state model by adding a second pathway for electron ejection, kee−n, taking place via OPE of 1NADH to a higher electronic state, nNADH. Electron ejection from nNADH then takes place with a much higher yield compared to 1NADH, see Fig. 2 (blue addition). Similar non-linear effects on photo-bleaching and photo-oxidation have also been observed in fluorophores upon OPE at Iexc levels at or beyond saturation46,47. A two-photon electron ejection dependence has also been reported from flash photolysis studies of NADH using 355 nm excitation26,29. In those studies, the average Iexc-levels within the laser excitation pulses were typically more than two orders of magnitude higher than the highest Iexc levels applied in our OPE TRAST measurements (Fig. 1A).

Figure 3
figure 3

TPE TRAST measurements of 10 μM NADH in 50 mM TRIS buffer, pH 7.4. (A) Excitation irradiance dependence of the effective photo-oxidation (red circles) and fluorescence emission (black squares) rates, under TPE. The rates are displayed on a log-log scale, in arb. units, with slopes determined by a linear fit. (B) Excitation irradiance dependence of the fitted kee rates from the TRAST curves in (C), displayed on a log-log scale. The slope is determined by a linear fit, excluding the highest excitation intensity. (C) Experimental TRAST curves from NADH with different excitation irradiances applied. (D) Experimental TRAST curves from NADH (4.6 MW/cm2) with different concentrations of ascorbate added. TRAST curves in C and D were fitted as described in the main text, with absolute residuals multiplied by a factor of 100 for clarity.

In a similar way as with OPE (Fig. 1C), we recorded TRAST curves of NADH with TPE in the presence of Asc. The recorded TRAST curves (Fig. 3D) also readily reflect the presence of a reducing agent, with decreasing decay amplitudes in the TRAST curves upon Asc titration, in agreement with an increased rate from ·NADH+ back to 0NADH.

Global parameter fitting to TRAST curves generated under TPE

TRAST curves recorded under TPE with different Iexc (Fig. 3C) and from samples with different concentrations of Asc (Fig. 3D) were subject to a global fit, based on a model including electron ejection from a higher excited state, nNADH, as discussed above. The excitation rates were calculated from an NADH TPE cross section of 0.4 GM48, and by taking pulse characteristics and spatial distribution of Iexc in the laser focus into account (see Methods and Materials and SI). Under the experimental conditions and range of w applied, kisc, kT, kQ,T(O2) can be expected not to have any significant influence on the TRAST curves and were therefore fixed to the values determined under OPE. nNADH has a very short lifetime (\(\ll {\rm{ns}}\)) and cannot be resolved on the time-scale of the TRAST experiments. Similar to previous studies of organic fluorophores under saturating OPE25, the photo-induced electron ejection can therefore be assumed to take place both via 1NADH and nNADH and can be fitted as one effective rate, \({k{\prime} }_{ee}\). Because of excitation of 1NADH to nNADH, \({k{\prime} }_{ee}\) can also be expected to have an Iexc dependence. The \({k{\prime} }_{ee}\) rate was therefore fitted individually to each of the TRAST curves in Fig. 3C. The remaining rate parameters, kred, kdeprot, kQ,red(Asc), and the diffusion recovery parameter, were all fitted globally, as for the OPE TRAST curves discussed above. The global parameter values, as fitted to the curves in Fig. 3C,D, are \({k}_{red}=2.9\pm 1.4\,{{\rm{\mu }}s}^{-1}\), \({k}_{deprot}=4.4\pm 2.7\,{{\rm{\mu }}s}^{-1}\), and \({k}_{Q,red}({{\rm{Asc}}}^{-})=0.63\pm 0.34\,{{\rm{\mu }}s}^{-1}\,{{\rm{mM}}}^{-1}\). The wider confidence intervals obtained from the TPE data reflect the smaller dataset used and that the maximum speed of the scanner is on the limit to allow analysis of the faster triplet state relaxation of NADH. Nonetheless, all rates are in reasonable agreement with those determined from the OPE TRAST data (Table 1), indicating that they are not influenced by the different mode of excitation (pulsed TPE) and excitation modulation (scanning). The individually fitted \({k{\prime} }_{ee}\) values are shown in Fig. 3B. Plotted on a log-log scale, they display a slope of 0.9 ± 0.1, suggesting a one photon excitation to occur from 1NADH to nNADH, from where a more efficient photo-oxidation then can take place. The slope in Fig. 3B is well in agreement with the Iexc-dependence of the overall photo-oxidation rate, as shown in Fig. 3A.

As for the OPE data, we also evaluated alternative photophysical models for the data obtained under TPE, based on the AIC and BIC criteria. Thereby, both a model with an Iexc-independent \({k{\prime} }_{ee}\) rate (two-photon model), and with a \({k{\prime} }_{ee}\) rate proportional to the photon flux squared (four-photon model) could be clearly discarded (see SI section 8).

Two-photon NAD(P)H imaging of live cells

TRAST imaging

We then performed scanned TPE TRAST imaging of unlabelled mouse myoblast cells. Through repeated line-by-line scans over the same field-of-view, while applying different scan speeds, we could extract the same TRAST information as for circular scanning in solution (Fig. 3), but now in a spatially resolved manner (Fig. 4). The photo-damage of cells in TPE microscopy is confined to the focal excitation volume, but follows a non-linear excitation intensity dependence49. To minimize photo-toxic effects on the cells, we only used two different scan speeds, with effective durations of excitation faster (wf = 12 μs) and slower (ws = 600 μs) than the overall decay time of the TRAST curves, as determined above (Fig. 3). Thereby, the total excitation light dose never exceeded TPE dose levels where long-term (days) photo-toxic effects can start to occur (10 kJ/cm2, determined at a peak excitation irradiance of 1.2 TW/cm2, twice the one used in this study)50. From the difference in average fluorescence intensity, recorded pixel-by-pixel upon fast and slow scanning (F(wf) and F(ws)), we then imaged the local photo-induced dark state build-up of NADH in the cells as ATRAST = (F(wf) − (F(ws))/(F(wf). With knowledge of the NADH electronic state model for TPE, this build-up could then be related to changes in the local environment experienced by NAD(P)H in the cells. In parallel with the TRAST imaging, we also recorded full TPE FLIM data from the NAD(P)H fluorescence using time-correlated single photon counting (TCSPC, see Methods and Materials).

Figure 4
figure 4

TPE images of cultured mouse myoblast cells in clear DMEM imaging medium (control), or with either 200 μM DNP or 1 mM cyanide added directly to the medium 30 minutes before measurements. Fluorescence intensity images (fast scan), F(wf), of (A) control cells, (B) DNP-exposed cells, and (C) cyanide-exposed cells. TRAST images showing the NAD(P)H dark state population, ATRAST = (F(wf) − (F(ws))/(F(wf), for (D) control cells, (E) DNP-exposed cells, and (F) cyanide-exposed cells, corresponding to the above fluorescence intensity images in A, B, and C. (G) Image showing the fraction of bound NAD(P)H, Abound, as determined by FLIM (corresponding to the images in A and D). (H) Normalized histograms of ATRAST in pixels belonging to contol cells (blue), DNP-exposed cells (orange) and cyanide-exposed cells (green). (I) Corresponding distributions of Abound in contol cells (blue), DNP-exposed cells (orange) and cyanide-exposed cells (green). Distributions shown in H and I are based on 131 control cells, 130 DNP-exposed cells, and 160 cyanide-exposed cells. In both histograms, the number of pixles included were: 932494 (control), 917523 (DNP), 1177003 (cyanide). (Scalebars: 10 μm).

Figure 4A shows a regular NAD(P)H fluorescence intensity image, F(wf), of unlabelled mouse myoblast cells in a clear DMEM imaging medium. The corresponding TRAST image is shown in Fig. 4D, displaying a lower NAD(P)H dark state population in the cell nuclei as opposed to the cytosol. Averaging ATRAST over 131 cells confirmed this observation and resulted in an average dark state population of 〈ATRASTcontrol = 0.43 ± 0.02, with a clear separation between the nuclear, 〈ATRASTnucl = 0.38 ± 0.02, and cytosolic, 〈ATRASTcyto = 0.45 ± 0.02, regions.

To investigate how changes in the metabolic states of the cells can influence ATRAST of NAD(P)H, we also imaged cells with either 1 mM cyanide (n = 160 cells) or 200 μM of the mitochondrial un-coupler dinitrophenol (DNP)51 (n = 130) added to the culturing medium 30 minutes before acquiring the images (see Methods and Materials). While no particular differences can be identified in the fluorescence intensity images (Fig. 4A–C), the TRAST images revealed a significant increase in ATRAST of NAD(P)H in cells exposed to cyanide (Fig. 4F), with 〈ATRASTcyanide = 0.52 ± 0.02. In contrast, cells exposed to DNP showed a decreased dark state amplitude, 〈ATRASTDNP = 0.36 ± 0.02, particularly in the cytosolic regions. The opposite effects of DNP and cyanide exposure on ATRAST likely reflect the opposite effects of these compounds on the electron transport chain (ETC) in the mitochondria of the cells. While DNP as an un-coupler induces an increased activity in the ETC, cyanide is an ETC inhibitor11. Histograms of ATRAST values from these three different categories of cells (control, DNP-exposed, cyanide-exposed), recorded from individual pixels in the TRAST images, are shown in Fig. 4H. The spread in ATRAST values largely reflects differences in the oxidative environment between nuclear and cytosolic regions of the cells, in particular for the cyanide exposed cells. Despite this spread however, the different categories of cells can be clearly distinguished based on these whole cell pixel histograms.

TPE scanned TRAST measurements of NADH in TRIS buffer showed no effect of either 1 mM cyanide or 200 μM DNP (data not shown), i.e. cyanide and DNP themselves did not directly influence ATRAST.

TRAST imaging, combined with fluorescence lifetime data

Next, we analysed how the TRAST images, as recorded above using TCSPC, relates to FLIM-analysis of the same data. The combined TCSPC data from all measured cells was fitted to a two-exponential fluorescence decay model (see Methods and Materials). The two lifetimes, representing the average lifetimes of free and bound NAD(P)H in the cells, were determined to τfree = 0.4 ns and τbound = 2.4 ns. The τfree value is well in agreement with what has been reported previously12,52. τbound depends on what proteins NAD(P)H is bound to, as well as on local viscosity. Our average τbound value lies well within the reported range of fluorescence lifetimes of protein-bound NAD(P)H (around 1 ns up to 3.5 ns), in solution or in different cells3,12,17,52,53. It also lies in between reported intracellular lifetimes of NADH (~1.5 ns) and NADPH (~4 ns)54. With τfree and τbound fixed to 0.4 ns and 2.4 ns, respectively, the relative amplitudes of the two lifetime components were fitted pixel-wise in the cellular images, using a maximum likelihood estimator (MLE) (see Methods and Materials). Correcting for the difference in fluorescence brightness (by assuming that the fluorescence quantum yields of the free and bound fractions are proportional to τfree and τbound, respectively) allows the bound fraction of NAD(P)H, Abound, to be calculated in each pixel. Thereby, cellular images showing the fraction of bound NAD(P)H were generated (Fig. 4G), revealing a lower Abound in the nuclear regions of the cells. The cytosol regions of the cells were found to contain sub-regions with enhanced levels of bound NAD(P)H, localized around the nuclei. Their locations corresponds to that expected for mitochondria, in which typically also a larger fraction of bound NAD(P)H is found18,54. However, when comparing Abound between control cells and those exposed to cyanide or DNP, only minor differences could be observed (Fig. 4I), with 〈Aboundcontrol = 0.20 ± 0.01, 〈Aboundcyanide = 0.18 ± 0.01, and 〈AboundDNP = 0.21 ± 0.01. The effects observed in the FLIM data upon addition of DNP are minor, and not as evident as the differences we see in the dark state population by TRAST imaging (Fig. 4H). Similarly, the effects observed upon addition of cyanide are more prominent in the TRAST compared to the FLIM images. Like 〈ATRAST〉, also 〈Abound〉 shows opposite effects upon addition of DNP and cyanide, reflecting the different mechanisms of action of these compounds. The slight increase and decrease in Abound found in cells exposed to DNP and cyanide, respectively, is in agreement with previous NAD(P)H FLIM studies of cells exposed to similar uncouplers and blockers, when added over comparable exposure times and doses18,19,54.

Overall Fig. 4A–I thus indicate that the NAD(P)H dark state population, as imaged by TRAST, can reflect changes in the local environment upon addition of either cyanide or DNP. These changes are also reflected in the NAD(P)H bound fraction, as imaged by FLIM, although to a smaller degree. To investigate to what extent both TRAST and lifetime data can be used to identify cells based on such changes, we calculated the average bound fraction, 〈Abound〉, and dark state amplitude, 〈ATRAST〉, for each individual cell studied above, see Fig. 5A. We then used a standard machine learning algorithm (random forest classifier, scikit-learn, python, see Method and Materials) to perform a simple classification of all the 421 cells studied as belonging to either the control, DNP-exposed, or cyanide-exposed group. On an individual cell level, the average classification accuracy when using 〈ATRAST〉 was 64%, while the corresponding analysis based on 〈Abound〉 resulted in 52% of the cells being correctly identified. Using both 〈ATRAST〉 and 〈Abound〉 together resulted in a better classification accuracy of 75% for single cells, indicating that the two parameters represent at least partially independent information. All single cell classification probabilities are summarized in Supplementary Fig. S5. The predictive capacity can be considerably improved by sampling more than one cell from the same category. Figure 5B shows the extrapolated accuracies, based on the probabilities in Supplementary Fig. S5, to correctly classify a group of N cells. In this case each individual cell is evaluated separately, and the final category is assigned based on the most common result. In our case, a 99% accuracy would be obtained if both TRAST and lifetime data from 19 cells is used. The same accuracy using only TRAST data requires 129 cells, while using only lifetime data would require \(\gg 200\) cells.

Figure 5
figure 5

(A) Distributions of average dark state amplitudes, 〈ATRAST〉, and bound fractions, 〈Abound〉, of NAD(P)H, calculated as individual cell averages for control cells and cells exposed to either 200 μM DNP or 1 mM cyanide. Square markers indicate sample average and standard deviation. (B) Average prediction accuracy as a function of number of cells sampled, N, when classifying cells as belonging to either the control, DNP-exposed or cyanide-exposed group. The classification was based on the machine learning procedure described in Methods and Materials. Utilizing both 〈ATRAST〉 and 〈Abound〉 together results in the highest accuracy. Dashed lines indicate the point of 99% accuracy (19 cells for ATRAST combined with 〈Abound〉, 129 cells for 〈ATRAST〉 only, 200 for 〈Abound〉 only). Manually selecting the cell nuclei in each image allows the separation of Fig. 5A into the distribution for the cytosolic (C) and nuclear regions (D). Utilizing the images of Abound (e.g. Fig. 4G) for both fast and slow scanning allows TRAST images to be generated for free (E) and bound (F) NAD(P)H separately. Both these images are extracted from the image in Fig. 4F, showing cyanide-exposed cells. (Scalebars: 10 μm).

As seen in Fig. 4D–F, additions of DNP or cyanide tend to affect ATRAST differently in nuclear and cytosolic regions of the cells. With the stronger response generally seen in the cytosolic regions, the classification accuracy could potentially be increased if only pixels from the cytosol are included. In Fig. 5C,D, the corresponding single cell averages as in Fig. 5A are shown, but now only including pixels from the cytosolic and nuclear regions of the cells, respectively. In our case, only a minor benefit in the classification could be noted.

The general trend observed in Fig. 5A is that there is a negative correlation between 〈ATRAST〉 and 〈Abound〉 upon perturbation of the cells with either DNP or cyanide. This observation might seem counter-intuitive from a photodynamical point of view (Fig. 2), since an increase in 〈Abound〉 also represents an increase in the average NAD(P)H fluorescence lifetime, 〈τF〉. In a model where excitation to 1NADH (or nNADH) leads to dark state formation with an average electron ejection quantum yield of \(\langle {\Phi }_{ee}\rangle ={k}_{ee}\cdot \langle {\tau }_{F}\rangle \), an increased fluorescence lifetime is expected to result in a correspondingly higher photo-induced dark state formation. However, flash photolysis studies of NADH27 indicate that electron ejection, observed via transient absorption of solvated electrons, is not directly coupled to the excitation (since the absorption is not observed within the time of the laser excitation pulse) or to the population of 1NADH (since the transient absorption of solvated electrons appears at a much faster time-scale than the lifetime of 1NADH). Electron ejection was instead suggested to take place from an “intermediate state”, possibly an excited vibrational state of 1NADH. If electron ejection does not take place from a vibrationally relaxed 1NADH, then the electron ejection yield can be independent of τF. This can explain the observation that 〈ATRAST〉 and 〈Abound〉 are not directly coupled, and suggests that 〈ATRAST〉 does indeed reflect a changed oxidative environment in the cell, as opposed to the variations in fluorescence lifetime (bound fraction) reported by FLIM. This implies that FLIM and TRAST imaging data do provide orthogonal information and that better identification of cellular metabolic states is possible when both modalities are used in parallel.

Given that TRAST and FLIM data is imaged in parallel, it is also possible to produce TRAST images based on subsets of the recorded photon counts. Using the fractions of bound NAD(P)H, determined by FLIM in both the fast and slow fluorescence images, it is possible to calculate ATRAST for free and bound NAD(P)H separately. This is demonstrated in Fig. 5E,F, where a TRAST image of cyanide-exposed cells (Fig. 4F) has been separated into the contributions from free and bound NAD(P)H.

In conclusion, we show in this work that the dynamics of photo-induced dark states of NAD(P)H can be monitored by TRAST. The transient state data obtained by TRAST compares well with flash photolysis data but can be applied on a much broader range of samples and measurement conditions. We show that TRAST imaging of NAD(P)H can be applied on live cells, adds information about the local metabolic state of the cells, and allows classification of cells with higher accuracy than when based on FLIM alone. TRAST imaging is straight-forward and can be applied in parallel with FLIM for label-free cellular metabolic imaging. This will add additional independent parameters, increase specificity and sensitivity and thereby help overcome some of the limitations encountered in such measurements.

Methods and Materials

Theory of transient state (TRAST) spectroscopy

TRAST spectroscopy determines fluorophore blinking kinetics by monitoring how systematic changes in the excitation pattern affect the time-averaged fluorescence signal returned30,31,32,33,55,56. In this work, we implemented TRAST in a confocal setting, first using on/off modulation of the stationary excitation laser, and later in a scanned configuration by systematically varying the scan speed whilst imaging.

Stationary TRAST

The emitted luminescence intensity from a sample can for most fluorophores, including NADH, be considered proportional to the population of the first excited singlet state. The time averaged fluorescence signal resulting from a rectangular excitation pulse of duration w is then

$$\begin{array}{c}\langle {F}_{exc}(w)\rangle =c{q}_{f}{q}_{D}{k}_{10}\frac{1}{w}{\int }_{t=0}^{w}(\iiint {}^{1}NADH(\bar{r},t)\,CEF(\bar{r})\,dV)\,dt\end{array}$$
(1)

where \(CEF(\bar{r})\) is the normalized collection efficiency function, c is the fluorophore concentration, qf is the fluorescence quantum yield and qD is the overall detection quantum yield of the instrument. The simulations of the excited singlet state population, \({}^{1}NADH(\bar{r},t)\), are outlined in SI section 1, with further simplifications to Eq. (1) described in Data Analysis and in SI sections 4 and 5. By monitoring the change in 〈Fexc(w)〉 in response to varying pulse durations, the set of photophysical rate parameters that best match the experimental data can be determined (see Data Analysis).

In order to collect enough photons even for short w, pulse trains consisting of N identical excitation pulses, of pulse period T, are recorded onto a single exposure of the integrating detector. For each pulse train, a constant illumination time, \({t}_{ill}=N\cdot w\), is typically maintained. At the same time, the excitation duty cycle, η = w/T, is kept low to make sure the sample can relax back to the same initial condition before the onset of the next excitation pulse. Each value of w then completely defines an excitation pulse train, recorded in its entirety by the detector using an exposure time of \({t}_{exp}={t}_{ill}/\eta \). A so-called TRAST curve is produced by measuring 〈Fexc(w)〉 from pulse trains over a range of excitation durations and normalizing at the shortest pulse duration used, w0.

$$\begin{array}{c}{\langle {F}_{exc}(w)\rangle }_{norm}=(\frac{1}{N}\mathop{\sum }\limits_{i=1}^{N}{\langle {F}_{exc}(w)\rangle }_{i})/(\frac{1}{{N}_{0}}\mathop{\sum }\limits_{i=1}^{{N}_{0}}{\langle {F}_{exc}({w}_{0})\rangle }_{i})\end{array}$$
(2)

where 〈Fexc(w)〉i is the fluorescence response from the i:th pulse in the pulse train. If the duty cycle is low, 〈Fexc(w)〉i can be assumed identical for all i and the expression simplifies further. Note that the normalization step of Eq. (2) cancels out many experimental constants in the calculation of 〈Fexc(w)〉i, e.g. fluorophore quantum yield, sample concentration and overall detection efficiency of the optical system.

Scanned TRAST with TPE

Excitation modulation can also be achieved by scanning a focused excitation beam across the sample, using the scan speed, v, to control the duration of excitation, w. For a homogeneous solution sample we get

$$\begin{array}{c}\langle {F}_{exc}(v)\rangle =c{q}_{f}{q}_{D}{k}_{10}\iiint {}^{1}N{\rm{ADH}}(\bar{r},v)\cdot CEF(\bar{r})\,dV\end{array}$$
(3)

Here the coordinates are defined from the perspective of the laser, such that the normalized \(CEF(\bar{r})\) remains time-independent. A TRAST curve is then produced by converting the scan speed to an effective fluorophore excitation duration, weff (see SI section 3), and then, analogous to Eq. (2), normalizing by the excitation duration corresponding to the fastest scan speed, weff,0

$${\langle {F}_{exc}({w}_{eff})\rangle }_{norm}=\langle {F}_{exc}({w}_{eff})\rangle /\langle {F}_{exc}({w}_{eff,0})\rangle $$
(4)

If TRAST imaging is to be performed, the fluorescence time trace is first binned to pixels before the TRAST ratio is taken for each pixel separately. This TRAST approach can be realized on any standard confocal scanning microscope, without the need for intensity modulation (see Fig. 6). Furthermore, measurement times can be significantly reduced compared to stationary TRAST, since photon collection does not have to be interrupted to allow the sample to recover. Suitable fluorophore recovery time between excitations is instead achieved by setting the length of the path to be scanned, while photon collection is continuously ongoing at other locations in the sample. Supplementary Fig. S3 shows an example of an intensity trace recorded using scanned TRAST in NADH solution.

Figure 6
figure 6

Schematic representation of stationary TRAST (A) and scanned TRAST (B). See Instrumentation for details.

Compared to stationary TRAST, simulating the speed dependent \({}^{1}N{\rm{ADH}}(\bar{r},v)\) is much more computationally intensive. The excitation pulses in scanned TRAST are no longer rectangular in time since scanning with a Gaussian beam creates a continuous rise and fall of the excitation rate, k01(t), as the beam passes by. The TPE laser is also pulsed, adding a fs time dependence to the excitation pattern as well. In this work, we designed a simplified model with continuous rectangular excitation pulses of amplitudes and durations such as to generate equivalent effects on the NADH transient state build-up. The fs pulse micro-time averaging is described in SI section 2 and the macro-time variations due to scanner movement in SI section 3.

Instrumentation

OPE TRAST measurements

One-photon measurements were performed on a home built, epi-illuminated microscope using a 355 nm continuous wave  (CW) solid state laser (Cobolt Zouk, 20 mW) for excitation. The laser beam was chopped to square pulses by an acousto-optical modulator (AOM; MQ110-A1-UV, AA Opto-Electronics, Orsay), and then focused into the sample by a water immersion objective (40×, NA 1.2, Zeiss, C-Apochromat). The 1/e2-radius of the laser beam in the focal plane was 863 nm. Fluorescence from the sample was collected through the same objective, separated from the excitation light by a dichroic beamsplitter (Di02-R405, Semrock) and a 364 nm long-pass filter (BL01–364R, Semrock), and then detected by a 658 × 496 pixel EM-CCD camera (Andor Luca). By only considering the signal focused on a few central pixels, an effective 100 μm pinhole was introduced. Control of the AOM modulation as well as synchronisation with the detection was handled by a digital I/O card (PCI-6602, National Instruments) and a custom Matlab script.

Excitation pulse durations, w, were set from 500 ns to 1 ms and were distributed logarithmically. For a given w, the number of identical pulse repetitions, N, was selected to maintain a constant total illumination time, tillOPE = w · N = 50 ms. The pulse train duty cycle was set to η =1%. Any bleaching of the sample was accounted for by inserting brightness reference measurements as every third pulse train. For these reference measurements, we used the shortest available pulse duration, w0, to avoid any dark state build-up.

TPE TRAST measurements

The measurements were based on a commercial, epi-illuminated, confocal laser scanning microscope (Olympus FV1200) with a water immersion objective (60×, NA 1.2, Olympus, UPlanSApo) and the pinhole set to its maximum size (800 μm). The microscope was modified to allow external control of the galvo-scanning mirrors using a digital I/O card (DaqBoard/3001USB, Measurement Computing) controlled by custom software written in Matlab. The excitation source was a mode-locked Ti:Sapphire laser (Coherent, Mira) tuned to 735 nm, with a repetition rate of 76 MHz and a pulse width measured to 150 fs FWHM. The beam radius in the focal plane was measured to 327 nm (1/e2) by scanning 24 nm fluorescent beads (FluoSpheres, Carboxylate-Modified Microspheres 505/515, #F8787, Invitrogen) deposited on a regular cover slide. Fluorescence light was separated from the excitation light by a 680 nm dichroic mirror (Chroma) and a 680 nm short-pass filter (ET680sp-2P8, Chroma), before focused onto two APD detectors (Perkin & Elmer, SPCM-AQR-14) connected to a TCSPC module (HydraHarp 400). An additional emission filter (HQ445/60, Chroma) was added for cell-imaging to separate the NAD(P)H emission from that of other autofluorescent species in the cells.

For solution measurements, a circular scanning pattern of 28.3 μm diameter was used, with the scan speed adjusted in 14 steps to yield effective excitation pulse durations between 2 μs and 690 μs (see SI section 3). Data was collected for 0.5 s at each fixed speed, and the whole measurement sequence was repeated 20 times for a total illumination time of tillTPE = 20 · 0.5s = 10s per scan speed. Any sample bleaching or evaporation could be tracked directly in the data, since each scan speed was repeated 20 times (see Supplementary Fig. S3 for an example of scanned TRAST data).

For live cell scanned TRAST imaging, traditional line-by-line scanning was performed in a 90 × 90 μm field of view, binned to 128 × 128 pixels. The excitation intensity was measured to 2.6 MW/cm2. To minimize photo-toxicity, only two scan speeds (corresponding to wf = 12 μs and ws = 600 μs effective laser dwell times) were used. The faster scan was repeated 50 times in order to reach directly comparable photon counts, i.e. 50wf = ws. These repeated frames also serve as bleaching reference points for each pixel. After image alignment (see Data Analysis), the pixel-by-pixel TRAST decay amplitude was extracted as the normalized difference between the two images, ATRAST = (F(wf) − (F(ws))/(F(wf).

Data analysis

Solution measurements

TRAST curves were analysed using custom software implemented in Matlab. Pre-processing included the subtraction of a static background component as well as corrections for any changes in sample concentration due to bleaching or evaporation. The background is due to ambient light and detector dark counts and typically amounted to 100 counts per second and pixel, corresponding to about 10% of the total signal in our measurements. The concentration correction was based on brightness references acquired throughout each measurement at regular intervals. The effect of bleaching turned out to be negligible, while concentration changes due to evaporation typically caused around 2% drift in brightness over the course of one measurement.

Stationary TRAST curves, recorded under OPE with a stationary laser beam, were simulated by use of eq. (S3), using the average excitation rate in eq. (S12) (see SI section 5) and the simplified diffusion model in eq. (S10) (see SI section 4). For a given photophysical model, the rate parameters that best described the experimental data were then found through non-linear least squares optimization.

For TRAST data acquired by laser scanning, we used a rectangular pulse shape approximation described in SI section 3 as well as the TPE pulse averaging in eq. (S6) (SI section 2) and spatial averaging in eq. (S13) in SI section 5. Thereby, scanned TRAST data could be fitted in the same way as stationary TRAST curves, with no modifications to the fitting algorithm.

Scanned TRAST Imaging

Scanned TRAST images were expressed as the pixel-by-pixel dark state amplitude, calculated by comparing the recorded average fluorescence intensity from fast and slow scanning, ATRAST = (F(wf) − (F(ws))/(F(wf).

When recording confocal laser scanning images, a scan-speed dependent offset of the images was observed. The difference between fast and slow scanning amounted to 0.63 μm or a fixed 0.9 pixel offset. This offset becomes crucial if ratio images are to be produced and an image alignment step was added to prevent edge effect near high contrast regions of the images. First, both images were oversampled (using scikit-image, v. 0.21.2, in Python) by a factor of 10 and translated to maximize the correlation between the two. The overlaid images were then returned to original resolution before calculating a TRAST image. This procedure is very similar to the treatment in31.

FLIM and free/bound NADH ratios

The data acquired for scanned TRAST imaging, could also be used for FLIM analysis. To get the best possible photon statistics, the combined dataset of all measured cells was first fitted to two lifetime components, yielding τfree = 0.4 ns and an average τbound = 2.4 ns (see Results). These lifetimes were then fixed, and only their relative amplitude was fitted for each pixel individually using maximum likelihood estimation (MLE). The MLE included deconvolution with the instrument response function (IRF) for each respective detection channel and the estimated amplitude was weighted by relative brightness to obtain the fraction of bound NAD(P)H in each pixel (Fig. 4G). With the large difference between τfree and τbound, the MLE could reliably differentiate between the short and long lifetime components, even if some uncertainty in the local lifetime of bound NAD(P)H is assumed. The estimated bound fraction showed only minor variations when τbound was varied between 2 and 3 ns.

Cell classification using machine learning

The boundary of each cell (in total 131 control, 130 DNP-exposed, and 160 cyanide-exposed cells) was manually selected in the fluorescence intensity images (e.g. Fig. 4A). For each cell, the average ATRAST and bound fraction of NAD(P)H was then calculated based on the corresponding TRAST (e.g. Fig. 4D) and lifetime (e.g. Fig. 4G) images. A standard python machine learning algorithm (scikit-learn, v. 0.21.2 sklearn.ensemble.RandomForestClassifier) was used with default parameters, except for n_estimators = 500 and max_depth = 4. Training was performed on a random subset consisting of 80% of the cells, while the remaining 20% were kept for evaluating the model’s predictive capacity. Given the small sample set (421 cells) we report the average prediction accuracy based on 103 training/evaluation runs, each using a new random subset of cells for training. The resulting probability matrices for cell classification are shown in Supplementary Fig. S5. These matrices were then used to calculate the prediction accuracy when evaluating multiple cells of the same type, as seen in Fig. 5B. This combined predictive accuracy refers to the total probability of all possible combinations of individual cell classification which result in the correct category receiving more votes than either of the two incorrect alternatives. In the classification in Fig. 5B, groups of control, DNP-exposed and cyanide-exposed cells were assumed to be equally likely to occur.

Sample preparation

Stocks of β-nicotinamide adenine dinucleotide (NADH; reduced disodium salt, Sigma N0786), β-nicotinamide adenine dinucleotide 2′-phosphate (NADPH; reduced tetrasodium salt, Sigma N0411), as well as TRIS buffer, sodium ascorbate, hydrogen peroxide and sodium hydroxide were all purchased from Sigma. Aliquots of 1 mM NADH in 50 mM TRIS buffer (pH 7.4) were prepared and stored at −80 °C. A new vial was thawed on every measurement day and further diluted using the same TRIS buffer. NADPH was treated in the same way. Solutions of sodium ascorbate were prepared daily using the same TRIS buffer.

Experiments with 355 nm excitation used quartz cover slides (CFQ-2417, UQG Optics) to avoid the strong background seen from regular glass cover slips at this wavelength.

Experiments with modified atmospheres were performed in a lightly pressurized chamber (custom built, 14 ml cylindrical container, bottom made from a replaceable CFQ-2417 quartz cover slide) with a constant flow of either argon or oxygen. The gas first flowed through a bubble humidifier to reduce evaporation of the sample.

Cell culture

C2C12 cells (mouse myoblasts, ATCC CRL-1772) were grown in Gibco DMEM/F-12 (1:1) + GlutaMAX medium (ThermoFisher, 31331–028) supplemented by 10% FBS (Biowest, VWR #S1810–500). 24 hours before measurements, cells were seeded in #1.5 glass bottom microscopy wells (Nunc Lab-Tek II 8-well Chambered Coverglass), using the same medium. 30 minutes before measurements, the medium was changed to clear Gibco FluoroBrite DMEM imaging medium (ThermoFisher, A18967–01). The imaging medium contained either no additions (“control cells”), 200 µM dinitrophenol (Sigma D198501) (“DNP-exposed cells”) or 1 mM potassium cyanide (Sigma 60178) (“cyanide-exposed cells”).