Course Content
What is fNIRS?
Where fNIRS comes from, what it measures in principle, and where it sits among other neuroimaging tools.
0/5
How does fNIRS work?
The physical logic from light entering tissue to a number quantifying the detected light in an fNIRS device
0/4
Brain Hemodynamics and Neurovascular Coupling
NIRS does not measure neural activity directly; it measures the vascular response that follows it. This unit builds the physiological bridge between the two. We start at the level of neurons and synapses, trace the cascade through metabolism and blood flow regulation, and arrive at the haemodynamic signals we actually record: changes in oxyhaemoglobin (ΔHbO) and deoxyhaemoglobin (ΔHbR). We examine what these signals represent biophysically, how to interpret them, and what the canonical Hemodynamic Response Function looks like. A recurring theme is the distinction between different physiological quantities that are often conflated: CMRO₂, cerebral blood flow, blood volume, oxygen saturation, and hemoglobin concentration are related but not equivalent, and confusing them leads to misinterpretation.
0/3
Collecting fNIRS Data
Not all fNIRS systems are the same. This unit provides a broad overview of the hardware landscape, from the ubiquitous Continuous Wave (CW) systems to Frequency Domain (FD) and Time Domain (TD) instruments, and the emerging class of speckle-based devices that measure blood flow rather than hemoglobin concentration. A central message is that the choice of hardware determines what you can and cannot measure: for example, TD and FD systems can independently quantify absorption and scattering, and therefore provide absolute hemoglobin concentrations, while CW systems are almost always limited to relative changes and must assume a fixed DPF. We also cover the practical side: how sources and detectors are arranged on the head (the montage), and what "good coupling" between optode and scalp actually means.
Processing fNIRS Data
Collecting fNIRS data is relatively accessible, but clean, interpretable data is not. This unit confronts the reality that the fNIRS signal is dominated by noise: physiological fluctuations from the heart, respiration, and slow vasomotion can be an order of magnitude larger than the neural signal of interest. Motion artifacts are arguably one of the defining challenges of the modality. We work through the major noise sources and introduce strategies to address each before considering statistical analysis. On the way, you will understand why simple averaging over blocks is insufficient, and why the General Linear Model (GLM) has been the standard framework. The unit closes with an overview of alternative quantification approaches for data analysis, including inter-subject correlation and functional connectivity, and the broader challenge of pipeline standardization.
fNIRS Challenges and Future Frontiers
The final unit steps back from technical details to consider the bigger picture: what fNIRS uniquely enables, and what still stands in its way. We explore three of the most exciting directions in the field: hyperscanning and social/developmental neuroscience, ecological validity through wearable deployment, and the study of populations that other neuroimaging modalities struggle to accommodate. We also return to the challenge of pipeline standardization and reproducibility as an open problem that newcomers entering the field have an opportunity (and a responsibility!) to address.
Introduction to fNIRS (English)

From Optical Signals to Hemoglobin

🎯 AS YOU READ, TRY to

  • Explain why a single wavelength cannot separate ΔHbO₂ from ΔHbR and why two wavelengths are sufficient
  • Describe conceptually how the two-wavelength MBLL system is solved to obtain separate ΔHbO₂ and ΔHbR time courses
  • Explain why wavelength selection matters and what makes a pair of wavelengths well- or poorly-conditioned
  • Define crosstalk between HbO₂ and HbR estimates and describe what causes it
  • Describe what a typical fNIRS time series looks like and the main physiological frequency components it contains

In Lesson 2.2, we discussed the Modified Beer-Lambert Law and how we can associate a measurable change in optical density with an unknown change in chromophore concentration. Under the assumptions discussed, this formalism works, but there is still one problem remaining: it contains two unknowns (ΔHbO₂ and ΔHbR), and at a single wavelength it gives you only one equation. We are one equation short.

This lesson shows how adding a second wavelength provides the missing equation, how the two are solved simultaneously to produce the separate hemoglobin time series that are the primary output of fNIRS, and what those time series actually contain once you look at them carefully.

1. Why a Single Wavelength Is Not Enough?

Write out the MBLL for a single wavelength \(\lambda_1\), keeping only the two hemoglobin species as chromophores, and you have:

$$\Delta OD(\lambda_1)= \left[ \epsilon_{HbO_2}(\lambda_1)\cdot \Delta HbO_2 + \epsilon_{HbR}(\lambda_1)\cdot \Delta HbR\right] \cdot d \cdot DPF(\lambda_1)$$

We measure ΔOD(λ₁) at the detector. We know εHbO₂(λ₁) and εHbR(λ₁) from tables, and d · DPF(λ₁) from your geometry and assumed DPF. The two unknowns are ΔHbO₂ and ΔHbR. One equation, two unknowns.

We cannot solve this without additional information. Any combination of ΔHbO₂ and ΔHbR that satisfies the equation is equally valid (i.e., there are infinitely many solutions). We know that the combined absorption changed by a certain amount, but you cannot tell whether that was due to a change in HbO₂, HbR, or some mixture of the two.

The solution is to add a second measurement at a different wavelength. As long as the extinction coefficients of HbO₂ and HbR are different at the second wavelength from their ratio at the first (which will be true at any wavelength away from the isosbestic point), the second equation carries genuinely independent information, and the system can be solved.

This is why the isosbestic point (~805 nm) from Lesson 1.2 matters so much in practice. At this point, εHbO₂ = εHbR, so the two chromophores contribute identically to absorption at that wavelength. A second measurement there would add no new information: the two equations would be proportional to each other and the system would remain underdetermined. The isosbestic point is the one wavelength in the NIR window that is completely useless for separating HbO₂ from HbR.

💭 Pause and Think

Suppose you measure at two wavelengths, but both are on the same side of the isosbestic point, say, 760 nm and 780 nm, both below 805 nm. HbR absorbs more than HbO₂ at both. Would this two-wavelength system successfully separate HbO₂ from HbR?

Think about what “independent information” really means here. The two equations are different, but how different are they? What would happen to the quality of the separation as the two wavelengths get closer together?

2. Solving the problem for ΔHbO₂ and ΔHbR

With two wavelengths λ₁ and λ₂, the MBLL gives two equations:

$$\Delta OD(\lambda_1)= \left[ \epsilon_{HbO_2}(\lambda_1)\cdot \Delta HbO_2 + \epsilon_{HbR}(\lambda_1)\cdot \Delta HbR\right] \cdot d \cdot DPF(\lambda_1)$$ $$\Delta OD(\lambda_2)= \left[ \epsilon_{HbO_2}(\lambda_2)\cdot \Delta HbO_2 + \epsilon_{HbR}(\lambda_2)\cdot \Delta HbR\right] \cdot d \cdot DPF(\lambda_2)$$ Two equations, two unknowns (ΔHbO₂ and ΔHbR). Everything else is measured or known: ΔOD at the detector, ε from tables, d from the probe geometry, DPF from empirical estimates. Now this system can be solved algebraically, and the solution gives the concentration changes.

In practice, fNIRS requires us to solve this system for every time point in the recording and for every source-detector channel. You do not need to perform the algebra by hand. But understanding that this is what the software is doing (i.e.,  inverting a two-equation linear system at each time step, using tabulated extinction coefficients and an assumed DPF) is essential for understanding where errors can enter.

[If you are curious, the solution can be written compactly in matrix form (as \( \Delta c = E^{-1}(\Delta OD / (d\cdot DPF))\)), where E is a 2×2 matrix of extinction coefficients. This matrix notation is how the calculation appears in most software implementations and in the mathematical literature, though understanding the matrix algebra is not required here. What matters is that the operation is a simple linear inversion: you go from two measured optical density changes to two estimated concentration changes.]

The result at each channel is two time series: ΔHbO₂(t) and ΔHbR(t), expressed in micromolar (µM) changes from a baseline. These are the primary outputs of fNIRS.  (Note, in some cases, researchers prefer not to make choices regarding the effective path length in tissue; in this case, the time series will be expressed in µM/cm.) Everything downstream – statistical analysis, group comparisons, source reconstruction – operates on these time series.

📝 NOTE: Two Wavelengths Is the Minimum but Not the Limit

Two wavelengths are the theoretical minimum for separating two chromophores, but there is no reason to stop there. For instance, many commercial and research fNIRS systems use three or four wavelengths. Having more wavelengths than unknowns creates an overconstrained system (i.e., more equations than unknowns) which can be solved using least-squares methods that make use of all available measurements simultaneously.

This is beneficial for two reasons. First, it improves the robustness of the HbO₂ and HbR estimates by averaging out wavelength-specific noise and reducing the sensitivity to errors in any single optical density measurement. Second, it enables the separation of additional chromophores: broadband systems with eight or more wavelengths can in principle separate cytochrome c oxidase (CCO) from hemoglobin, as discussed in Lesson 1.2. Each additional wavelength adds a new equation, and each new chromophore you wish to resolve requires at least one additional equation beyond the number of unknowns.

The trade-off is hardware complexity and cost. Each additional wavelength requires an additional light source, and the system must be designed to switch or modulate between them without interference.

3. Wavelength Selection Matters

We know we need at least two wavelengths, but we have not discussed which ones yet. It turns out that not all pairs of wavelengths are equally good at separating ΔHbO₂ from ΔHbR. The quality of the separation depends on how different the two equations are from each other, which in turn depends on how different the extinction coefficient ratios of HbO₂ and HbR are at the two chosen wavelengths.

An intuitive way to think about it is the following: if you choose two wavelengths where HbO₂ and HbR look almost identical in their absorption (for example, two wavelengths both close to the isosbestic point), then any small measurement noise in ΔOD(λ₁) or ΔOD(λ₂) gets amplified enormously in the estimated ΔHbO₂ and ΔHbR. The two equations are nearly dependent, and the solution is numerically unstable – a situation mathematically described as an ill-conditioned system. Conversely, wavelengths that maximize the spectral contrast between the two chromophores give a well-conditioned system where measurement noise translates into proportionally smaller concentration errors.

Practical wavelength choices

The first optimal strategy is to choose one wavelength below the isosbestic point, where HbR absorbs more than HbO₂, and one above it, where HbO₂ absorbs more than HbR. This maximizes the spectral contrast between the two equations. Common wavelength pairs used in commercial and research fNIRS systems include:

Wavelength pair Dominant sensitivity at λ₁ Dominant sensitivity at λ₂ Notes
690 / 830 nm HbR HbO₂ Large spectral separation; good conditioning but poor signal-to-noise contrast due to high absorption at 690 nm. Used in many CW systems.
730 / 850 nm HbR HbO₂ Widely used; good balance between conditioning and tissue penetration.
760 / 850 nm HbR HbO₂ Common in commercial systems; 760 nm is near the HbR absorption peak.
Broadband (>8 wavelengths) Multiple HbO₂, HbR, and CCO sensitivities Overconstrained system; can separate cytochrome c oxidase (CCO) from hemoglobin. Used in specialized research systems.

The choice of wavelengths is fixed by the hardware and cannot be changed during analysis. This means conditioning is a hardware-level decision with permanent consequences for data quality. Before acquiring data on a new system, it is worth checking that the wavelength pair provides sufficient spectral contrast to separate the chromophores you care about.

📖 SHOULD-READ PAPER

Corlu, A., Durduran, T., Choe, R., Schweiger, M., Hillman, E.M.C., Arridge, S.R. & Yodh, A.G. (2003). “Uniqueness and wavelength optimization in continuous-wave multispectral diffuse optical tomography.” Optics Letters, 28(23), 2339–2341.

The question of which wavelengths minimize concentration errors and crosstalk has been studied analytically. Corlu and colleagues derived the conditions for uniqueness and optimality in multispectral diffuse optical measurements, showing that the choice of wavelengths directly affects the conditioning of the chromophore separation problem and therefore the accuracy of the recovered concentrations. Their analysis provides a rigorous framework for the intuitive arguments made in this section, and shows that the commonly used wavelength pairs are close to (but not always at) the theoretical optimum for two-chromophore separation.

→ doi:10.1364/OL.28.002339

4. Signal Crosstalk

Even with well-chosen wavelengths, the separation of ΔHbO₂ and ΔHbR is not perfect in practice. A specific and practically important failure mode is crosstalk: a situation in which errors in the estimated ΔHbO₂ artificially drive spurious changes in the estimated ΔHbR (and vice versa), even when only one chromophore has actually changed.

The most common cause of crosstalk in CW fNIRS is an incorrect wavelength dependence of the assumed DPF. Recall from Lesson 2.2 that the DPF differs slightly between wavelengths because scattering is wavelength-dependent. If the DPF at λ₁ is assumed incorrectly relative to the DPF at λ₂, even by a small amount, the two equations in the MBLL system are effectively using inconsistent path length corrections. The inversion then attributes some of the apparent absorption change to the wrong chromophore.

⚠ Crosstalk in Practice

Suppose a cortical activation causes only HbO₂ to increase, a scenario that is very common in functional activation studies. If the wavelength-dependent DPF is incorrect, the software will compute a ΔHbR that is not zero even though HbR has not actually changed. The two time series become artificially correlated.

Crosstalk artificially inflates the apparent similarity or dissimilarity between ΔHbO₂ and ΔHbR, and can substantially distort neuroscientific conclusions if undetected. It is one of the reasons TD and FD systems provide more accurate hemoglobin estimates than CW systems that use assumed DPF values.

Sassaroli and Fantini (2004) showed that a common formulation of the MBLL in the fNIRS literature contains a subtle notational error that, under certain conditions, introduces systematic crosstalk. Their correction clarified that the MBLL must use the differential pathlength at each wavelength independently, not a single averaged value, a distinction that seems minor but has measurable consequences for the accuracy of hemoglobin separation.

5. Decoding Hemoglobin Time Series

After solving the two-wavelength system, you have a time series of ΔHbO₂(t) and ΔHbR(t) at each channel. If you are doing a functional neuroimaging experiment with a clear stimulus, you might expect to see a clean response: HbO₂ rising a few micromoles above baseline about 2 seconds after stimulus onset, peaking around 6 seconds, and returning to baseline over the next 10-20 seconds; HbR moving in the opposite direction, though with smaller amplitude. This is the hemodynamic response driven by neurovascular coupling, which we will see in Unit 3.

But if you look at the raw fNIRS time series before any processing, the hemodynamic response is rarely obvious. What you actually see is a signal dominated by much larger oscillations that have nothing to do with your stimulus. Understanding where these come from and why they are so much larger than the brain signal is one of the most important conceptual steps in fNIRS.

Time courses of oxy- (HbO), deoxy- (HbR), and total (HbT) hemoglobin concentration changes

Figure 1. Time courses of oxy- (HbO), deoxy- (HbR), and total (HbT) hemoglobin concentration changes.

The fNIRS signal is a superposition of multiple physiological processes

The hemoglobin concentration in tissue oscillates continuously, driven by several physiological processes operating at different timescales. Because fNIRS measures hemoglobin concentration changes with relatively high temporal resolution (typically, above 3 Hz), it picks up all of these processes simultaneously. Think of the raw fNIRS signal as a mixture of several waveforms, each with its own characteristic frequency:

Component Typical frequency Origin Relative amplitude
Cardiac pulsation ~0.8–1.5 Hz (adults) Each heartbeat pumps a bolus of blood through the vasculature, producing a rhythmic oscillation in local blood volume and hemoglobin concentration Very large (often 10× the neurovascular signal)
Respiration ~0.15–0.4 Hz Breathing modulates intrathoracic pressure, venous return, and arterial CO₂ (a potent vasodilator), all of which alter cerebral blood volume and oxygenation Large (comparable to or larger than the neurovascular signal)
Mayer waves / slow vasomotion ~0.05–0.15 Hz Spontaneous oscillations in arterial tone driven by the autonomic nervous system and baroreflex feedback; present in both scalp and brain vasculature Moderate (and overlaps directly with the neurovascular band)
Neurovascular response ~0.01–0.05 Hz The hemodynamic response to neural activity, driven by neurovascular coupling. The signal of interest in functional fNIRS. Small (typically the weakest component in the raw signal)
Very slow drifts <0.01 Hz Slow changes in systemic physiology (temperature regulation, postural changes, emotional state) or instrumental drift Variable

The practical consequence of this frequency structure is that the neurovascular signal most people are interested in studying is the weakest component in the raw fNIRS time series! It sits at the lowest frequencies, below the respiratory and cardiac oscillations that are often an order of magnitude larger. For this reason, extracting it requires signal processing (e.g., filtering, physiological-noise regression, or more sophisticated approaches), which we will touch on in Unit 5.

There is also an important consequence for what fNIRS measures beyond functional neuroimaging: the cardiac and respiratory components are not simply noise to be discarded. They carry genuine physiological information about heart rate variability, cerebrovascular reactivity, and autonomic function. In clinical monitoring applications (e.g., neonatal intensive care, surgery, rehabilitation), these components are often the signals of interest. The same measurement, the same physics, the same MBLL calculation produces a signal that is interpreted very differently depending on the research question.

In summary, the key message is that the MBLL gives you ΔHbO₂ and ΔHbR, which are honest, quantitative estimates of hemoglobin concentration changes within the limits of its assumptions. But those changes reflect everything happening in the tissue, not just the brain activity you are trying to study.

💭 Pause and Think

Mayer waves (slow vasomotion at ~0.1 Hz) overlap almost exactly with the frequency band of the neurovascular response. Why does this create a particular problem for fNIRS, compared to cardiac or respiratory contamination?

Think about what makes it possible to use a filter to remove one frequency component while keeping another. What happens when the signals you want and the noise you want to remove are at the same frequency? And how might this problem be different in a resting-state experiment compared to a blocked task design?


📌 Key Takeaways

  • A single wavelength gives one MBLL equation with two unknowns (ΔHbO₂ and ΔHbR) and cannot be uniquely solved. A second wavelength at a different extinction coefficient ratio provides a second independent equation, making the system solvable.
  • The quality of the separation depends on the conditioning of the two-equation system, i.e., how different the two wavelengths’ extinction coefficient ratios are.  Wavelengths should be chosen one on each side of 805 nm to maximize spectral contrast. Poorly conditioned pairs amplify measurement noise into large concentration errors.
  • Crosstalk occurs when errors in the wavelength-dependent DPF cause the concentration estimates to bleed into each other. It produces artificial correlations between ΔHbO₂ and ΔHbR and is a common source of error in CW fNIRS.
  • The fNIRS time series is a superposition of multiple physiological processes: cardiac pulsation (~1 Hz), respiration (~0.3 Hz), Mayer waves (~0.1 Hz), and the neurovascular response (~0.01–0.05 Hz). The signal of interest is typically the weakest component in the raw data. Isolating it is the task of signal processing.

📚 Further Reading & Key References

  1. Cope, M. & Delpy, D.T. (1988). “System for long-term measurement of cerebral blood and tissue oxygenation on newborn infants by near infrared transillumination.” Medical & Biological Engineering & Computing, 26(3), 289–294. [doi]The first application of the two-wavelength MBLL system to extract ΔHbO₂ and ΔHbR from living tissue; the conceptual origin of the standard fNIRS calculation.
  2. Sassaroli, A. & Fantini, S. (2004). “Comment on the modified Beer-Lambert law for scattering media.” Physics in Medicine and Biology, 49(14), N255–N257. [doi]Essential reading on crosstalk: demonstrates that a common MBLL formulation introduces wavelength-dependent errors and proposes the corrected notation. Explains precisely why DPF must be specified per wavelength.
  3. Strangman, G., Franceschini, M.A. & Boas, D.A. (2003). “Factors affecting the accuracy of near-infrared spectroscopy concentration calculations for focal changes in oxygenation parameters.” NeuroImage, 18(4), 865–879. [doi]A systematic analysis of the factors that degrade accuracy in fNIRS hemoglobin estimation, including wavelength selection, DPF errors, and the layered head geometry. Highly recommended background reading.
  4. Scholkmann, F. et al. (2014). “A review on continuous wave functional near-infrared spectroscopy and imaging instrumentation and methodology.” NeuroImage, 85, 6–27. [doi]Comprehensive review covering wavelength selection, the MBLL calculation, and the physiological noise components in fNIRS signals.

Society for Functional Near-Infrared Spectroscopy.

Content is for educational purposes.