Serving the fNIRS community
Most of the problems that make fNIRS data hard to interpret are created before the first sample is recorded. A probe that does not cover the region of interest, a task whose timing matches the slow oscillations of blood pressure, a missing short channel, or an optode sitting on hair instead of skin cannot be fixed by any processing pipeline, however sophisticated. The good news is that the opposite is also true: a few careful decisions at the design stage, and a few minutes spent checking the signal before the experiment starts, make the analysis simpler and the conclusions stronger.
In this lesson, we follow an experiment from the research question to the end of the recording session. We start with the probe: how to decide where the optodes go, how to place them reproducibly on heads of different shapes and sizes, and which source-detector separations to use in adults and infants. We then look at what else to record besides the brain, at how to design the task so that the hemodynamic response can be separated from everything else in the signal, and at how to prepare participants, with particular attention to hair and skin pigmentation as both data-quality and equity issues. We close with how to check signal quality at acquisition and what to document so that others can understand, and repeat, what you did.
The arrangement of sources and detectors on the head, called the montage (or probe, or array), should follow from the research question and not from what happens to fit in the cap. Since fNIRS only measures the outer few millimeters of the cortex under the probe (Lesson 2.5), the first step is to identify which cortical regions your hypothesis is about, and whether they are accessible at all: lateral and dorsal cortex, such as the prefrontal, motor, parietal, temporal, and occipital cortices, are within reach, while deep structures and the medial surfaces of the hemispheres are not. If your question depends on a region fNIRS cannot see, no montage will answer it.
Once the regions of interest are defined, the design becomes a trade-off between coverage and density, constrained by the number of sources and detectors available. A sparse montage, with channels at a single separation of about 3 cm, can cover a large part of the head but has a spatial resolution of about 2–3 cm (Lesson 1.4) and leaves gaps between channels where the sensitivity is low. A denser montage, with overlapping channels at several separations, covers a smaller area but samples it more uniformly and, in its most complete form (HD-DOT, Lesson 2.4), allows image reconstruction. For a hypothesis about a single region, it is usually better to cover that region well, and to add a control region where you expect no response, than to spread the channels thinly over the whole head. Whenever possible, include channels over the homologous region of the other hemisphere as well, since many questions (and many artifacts) are easier to interpret with a symmetric montage.
Intuition alone is a poor guide for placing optodes, because the region a channel is sensitive to is not simply the patch of cortex halfway between its source and detector: it depends on the separation, on the local thickness of the scalp and skull, and on the folding of the cortex underneath. The same light-propagation models introduced in Lesson 2.5 can be run on realistic head models to estimate, for each candidate channel, how much of its sensitivity falls within a chosen brain region. This can be done in two directions: starting from a region of interest and asking which scalp positions sample it best, or starting from a planned montage and checking which regions it actually sees. Either way, simulating the montage before data collection is the simplest way to discover that a channel you were counting on is mostly sensitive to the neighboring gyrus, and it is especially important in infants and children, whose head anatomy differs from the adult atlases on which many earlier recommendations were based.
🔬 Going Deeper: Tools for Probe Design
Several open tools implement this approach, and new ones continue to appear. They differ in the head models they use (adult atlases, age-specific head models, or an individual’s MRI), in whether they choose optode positions from a standard grid or optimize them freely, and in how much of the analysis pipeline they cover. Examples include toolboxes that look up the scalp positions most sensitive to a chosen region in adult head models (Zimeo Morais et al., 2018) or in age-specific head models from infancy to adulthood (Fu & Richards, 2021), algorithms that design an optimized array automatically from a region of interest and the constraints of the available device (Brigadoi et al., 2018), and software that registers a probe to an atlas or an individual anatomy and computes its sensitivity (Aasted et al., 2015). This list is not exhaustive; choose a tool whose head models match your population, and report which one you used.
Zimeo Morais, G.A. et al. (2018). Scientific Reports, 8, 3341. [doi] · Fu, X. & Richards, J.E. (2021). Neurophotonics, 8(4), 045003. [doi] · Brigadoi, S. et al. (2018). Neurophotonics, 5(3), 035010. [doi] · Aasted, C.M. et al. (2015). Neurophotonics, 2(2), 020801. [doi]
A montage designed on an atlas is only useful if it lands on the same part of the brain in every participant, and heads differ in size and shape. The standard solution, inherited from EEG, is the international 10-20 system. It defines positions on the scalp relative to four anatomical landmarks (the nasion, at the bridge of the nose; the inion, at the bump at the back of the skull; and the two preauricular points, just in front of the ears), placing them at 10% or 20% of the distances between these landmarks. Because the positions scale with each head, a position such as C3 or F7 falls over approximately the same cortical region in different people. The extended 10-10 and 10-5 systems add intermediate positions, and most fNIRS caps are built on this grid.
Figure 1. The international 10-20 system. (a) Positions are placed at 10% and 20% of the distances between anatomical landmarks, so they scale with each head. (b) Top view of standard positions with an example montage centered on C3, over the left motor cortex: sources and detectors 3 cm apart, and a short-separation detector next to each source. Schematic; positions are approximate.
How well do scalp positions predict the underlying cortex? Okamoto et al. (2004) answered this question with MRI in 17 adults: they projected the 10-20 positions onto the cortical surface, normalized them to a standard brain space, and found that the cortical location under each position could be estimated with a standard deviation of about 8 mm across participants. This is small compared with the spatial resolution of sparse fNIRS, which is what makes the 10-20 system good enough for most studies. It also tells you that the placement itself must be done carefully: a cap shifted by 1–2 cm from its intended position moves every channel by more than the natural anatomical variability.
In practice, this means measuring each participant’s head (at least the head circumference and the nasion-inion and preauricular distances), choosing the cap size accordingly, and aligning the cap with the landmarks, typically by locating the vertex (Cz) at the midpoint of both distances. It also means recording where the optodes actually ended up, which may differ from the plan. The most accurate way is to digitize the optode and landmark positions after placement, using a 3D digitizer or photogrammetry; if that is not possible, at least record the cap size and the measured distances, and take photographs of the cap from several angles.
🔬 Going Deeper: From Scalp Positions to Brain Regions
Since most fNIRS studies do not collect an MRI of each participant, the brain regions under the channels have to be estimated. This process, called spatial registration, maps the measured (or planned) scalp positions onto a standard brain space, such as MNI coordinates, and reports the most likely anatomical label for each channel together with its uncertainty. The work of Okamoto et al. (2004) was one of the first steps toward this probabilistic registration, and current registration methods combine it with light-propagation models, so that each channel can be described by the cortical volume it is actually sensitive to, rather than by a single point halfway between source and detector. When you report results by brain region, say how the registration was done, since “channel 12 is over the left inferior frontal gyrus” can mean very different things depending on the method.
Okamoto, M. et al. (2004). NeuroImage, 21(1), 99–111. [doi] · Aasted, C.M. et al. (2015). Neurophotonics, 2(2), 020801. [doi]
The source-detector separation sets how deep a channel looks and how much light it receives, and the two pull in opposite directions (Lessons 2.5 and 4.1). Longer separations are more sensitive to the brain, but the detected light falls by roughly an order of magnitude per additional centimeter; shorter separations give strong signals that come mostly from the scalp. The best compromise depends on how far the cortex is from the surface, and that distance changes considerably with age.
| Population | Typical standard separation | Short separation | Why |
|---|---|---|---|
| Adults | About 3–3.5 cm | About 8 mm (Brigadoi & Cooper, 2015) | Thick scalp and skull; the cortex lies more than a centimeter below the surface |
| Children | Between the infant and adult values, depending on age and head size | Shorter than in adults | Scalp and skull thicken, and the head grows, through childhood |
| Infants | About 2–3 cm | About 2 mm in term-age infants (Brigadoi & Cooper, 2015), which is hard to achieve in practice | Thin scalp and skull; the cortex is close to the surface, and a small head limits the space for optodes |
The short-separation values come from the simulations of Brigadoi and Cooper (2015), which we discussed in Lesson 3.5. The practical message of that lesson is worth repeating here, because it is a design decision rather than an analysis decision: if you want to separate the brain response from changes in the scalp, you must record short-separation channels, and you cannot add them afterwards. Place at least one short channel in each region of the montage, since scalp blood flow is not uniform across the head, and prefer montages in which short channels sit close to the standard channels they will be used to correct. In infants, remember that a short channel of 1 cm is likely to see some of the brain as well, so its use in the analysis needs more care (Lesson 3.5).
Finally, the numbers in the table are starting points rather than rules. The scalp-to-brain distance varies across the head, and it varies between individuals and across the lifespan, increasing in older adults as the brain atrophies. If your study compares groups that differ in age, keep in mind that the same montage samples different depths in each group, and that some of the group difference in signal amplitude may come from anatomy rather than from brain function.
💭 Pause and Think
You plan to compare prefrontal responses during a working memory task between young adults (20–30 years) and older adults (65–80 years), using the same cap with 3 cm channels for both groups. You find smaller responses in the older group. What would you need to rule out before concluding that older adults recruit the prefrontal cortex less?
Think about scalp-to-brain distance, the partial volume effect (Lesson 2.2), scalp blood flow, and changes in neurovascular coupling with age (Unit 3). Which of these could you address at the design stage?
As we saw in Lesson 3.5, every fNIRS channel records the heart, breathing, blood pressure, and the scalp together with the brain, and some of these systemic changes are evoked by the task itself. Short channels capture part of this contamination, but they cannot tell you where it came from, and they miss changes that affect the brain directly, such as the cerebral vasodilation caused by a rise in arterial CO₂. Recording the systemic physiology alongside fNIRS, an approach that Scholkmann et al. (2022) called systemic physiology augmented fNIRS (SPA-fNIRS), gives you both regressors for the analysis and evidence to support the interpretation. The table lists the most useful auxiliary measurements.
| Measurement | How | Why it helps |
|---|---|---|
| Heart rate | ECG, or a pulse sensor on the finger or ear | Tracks arousal and task-evoked cardiac changes; provides a reference for the cardiac component of the fNIRS signal |
| Respiration | Chest or abdominal belt | Reveals changes in breathing rate and depth, for example during speech or breath holding |
| Blood pressure | Continuous, beat-to-beat measurement at the finger | Captures Mayer waves and task-evoked pressure changes, which drive blood volume in both scalp and brain |
| End-tidal CO₂ | Capnography through a nasal cannula | CO₂ is a strong cerebral vasodilator; speaking and anxiety change breathing and therefore CO₂, which changes cerebral blood flow independently of neural activity |
| Electrodermal activity | Electrodes on the fingers or palm | An index of sympathetic arousal, useful when tasks differ in stress or emotional load |
| Head motion | Accelerometer or inertial sensor on the cap | Identifies motion artifacts objectively and can be used to correct them (Unit 5) |
| Behavior | Video, eye tracking, response logs | Tells you what the participant was actually doing, which is essential in naturalistic and infant studies |
You rarely need all of them. Choose based on the task: a study with overt speech, for example, will change breathing and CO₂, so a respiration belt or capnography is worth the extra setup time; a study of stress or pain will change heart rate, blood pressure, and electrodermal activity; and any study in which participants move benefits from an accelerometer. Whatever you record, the auxiliary signals must be synchronized with the fNIRS data, ideally through the same acquisition system or through shared event markers, since a regressor that is shifted by a few seconds can do more harm than good.
The timing of the task determines how easily the hemodynamic response can be separated from the rest of the signal. Two properties of the signal set the rules. The first is the response itself, which is slow: as we saw in Lesson 3.3, it starts one to two seconds after the stimulus, peaks after about five to six seconds, and takes roughly fifteen seconds or more to return to baseline, often passing through an undershoot. The second is the physiology around it (Lessons 2.3 and 3.5), with the heartbeat near 1 Hz, breathing near 0.2–0.3 Hz, Mayer waves near 0.1 Hz, and slower drifts below that. A good design places the frequency of the task where the signal is quiet, and makes the response to each condition distinguishable. Two families of designs, borrowed from fMRI, do this in different ways.
| Block design | Event-related design | |
|---|---|---|
| Structure | Periods of continuous task (typically 10–30 s) alternating with rest | Brief, separate trials, with the interval between them varied (jittered) |
| Strengths | Responses to successive stimuli add up, giving a large, robust signal; simple to analyze | Conditions can be randomized; responses can be sorted by behavior (correct vs error, remembered vs forgotten); less anticipation and habituation |
| Limitations | Predictable timing invites anticipation and changes in arousal; cannot separate trial types within a block | Smaller response per trial, so more trials are needed; overlapping responses must be separated in the analysis (Unit 5) |
In a block design, the rest period matters as much as the task. It should be long enough for the response to return close to baseline, usually at least 15 s, and its duration should vary slightly from block to block, so that participants cannot anticipate the next block and so that the task does not repeat at a fixed rhythm. The rhythm matters because of the physiology: a design of 5 s of task and 5 s of rest repeats every 10 s, which is exactly the frequency of Mayer waves, and a response at that frequency is almost impossible to separate from spontaneous blood pressure oscillations. Very long blocks, at the other extreme, push the task frequency toward the slow drifts that are removed by filtering. A cycle of 30–60 s (for example, 20 s of task and 20 s of rest, a task frequency of 0.025 Hz) usually sits in a quiet part of the spectrum.
In an event-related design, the key decisions are the number of trials and the interval between them. With intervals of 15 s or more, each response can be observed separately (a slow event-related design), at the cost of long sessions. With shorter, jittered intervals, responses overlap, and the analysis recovers each one with the general linear model (Unit 5); the jitter is what makes this possible, since it gives the model different combinations of overlapping responses to disentangle. Since a single short event produces a small response, often comparable to the spontaneous fluctuations in the signal, event-related fNIRS designs typically need tens of trials per condition.
Beyond timing, the most important design choice in fNIRS is the control condition. Because systemic changes can follow the task (Lesson 3.5), the best control is one that matches the systemic demands of the task but not the cognitive process of interest: a speech control for a language production task, a movement without the planning component for a motor learning task, or a condition of similar difficulty and arousal for a cognitive task. A response that appears in the task and not in a well-matched control is much harder to explain away as physiology than a response relative to rest. The same logic applies to naturalistic studies (Lesson 4.1), where there are no discrete trials: there, careful recording of what the participant is doing, through video, behavioral logs, and auxiliary signals, takes the place of the controlled timing of a laboratory task.
💭 Pause and Think
A colleague proposes a verbal fluency study in which participants say aloud as many words as they can from a category for 5 s, then rest for 5 s, repeated 30 times. What problems do you see with this design, and how would you change it?
Think about the duration of the hemodynamic response, the frequency of the task compared with Mayer waves, what speaking aloud does to breathing and CO₂, and which control condition and auxiliary measurements would help.
🔬 Explore It Yourself
Test your answer. Select the 5 s task, 5 s rest design and see where the response power goes, then compare it with the 20 s designs and with an event-related design. Try removing the jitter from the event-related design and watch the responses merge.
The single most common cause of poor fNIRS data is poor contact between the optodes and the scalp, and the main obstacle to good contact is hair. Hair blocks light in two ways: it physically separates the optode from the skin, and its pigment absorbs near-infrared light before it enters, or after it leaves, the tissue. The effect is largest for hair that is dense, dark, or tightly curled. Khan et al. (2012) quantified it in 17 participants with different hair colors and densities, and showed that replacing flat-faced fiber optodes with “brush” optodes, whose fibers thread through the hair to reach the scalp, raised the success rate of the measurements to almost 100%, reduced setup time by a factor of three, and improved the signal-to-noise ratio of the functional response by up to a factor of ten. Even with standard optodes, the preparation makes a large difference: parting the hair under each optode with a thin, blunt tool, adjusting each optode while watching the signal, and giving the setup enough time.
Skin pigmentation matters as well. Melanin, the pigment in the epidermis, absorbs strongly in the visible range and less, but not negligibly, in the near-infrared (Lesson 1.1), so darker skin reduces the light that reaches the detector. On the forehead, where there is no hair, this is the main source of variation between participants. The effect was reported early in NIRS oximetry: Wassenaar and Van den Brand (2005) found that a muscle oximeter failed to register a value at some point during the measurement in 9 of 17 volunteers with dark skin, more often in those with darker skin. With enough light and a sensitive detector, a good signal can usually still be obtained, but only if the instrument and the setup are designed with that in mind.
These are not only technical issues. If participants with dark, dense, or curly hair, or with darker skin, are more likely to give poor data, they are also more likely to be excluded, either explicitly during recruitment or silently during quality control, and the resulting studies no longer represent the populations they claim to describe. Kwasa et al. (2023) reviewed the fNIRS literature and found that information on skin tone and hair type, and even basic demographic information, is rarely reported, which makes it impossible to know how large the problem is. The practical response is to plan for all participants from the start: choose optodes and caps that work with different hair types, allow extra setup time, train the team in hair preparation techniques (and, where relevant, in the hairstyles common in the communities you recruit from), report the number of participants excluded and the reasons, and report the hair and skin characteristics of your sample.
📖 SHOULD-READ PAPER
Kwasa, J., Peterson, H.M., Karrobi, K., Jones, L., Parker, T., Nickerson, N. & Wood, S. (2023). “Demographic reporting and phenotypic exclusion in fNIRS.” Frontiers in Neuroscience, 17, 1086208.
A review of how often fNIRS developers and users report skin tone, hair type, and demographics, and why it matters. It ends with concrete recommendations for researchers, instrument developers, and funders on making fNIRS studies inclusive.
Preparing the participant also means preparing the person. Explain what the cap does and how long the setup will take, make sure the cap is snug but not painful, and check comfort again after the first minutes, since pressure points often become noticeable only then. Ask participants to avoid large head movements, jaw clenching, and frowning during the recording, but do not ask them to hold perfectly still for long periods, which tends to increase tension and, paradoxically, movement. Cover the cap with a dark cloth or cap if the room is bright (Lesson 4.1), and keep the lighting constant throughout the session. With infants and young children, a fast setup matters more than a perfect one: the attention span of the participant, not the patience of the experimenter, sets the length of the session, so rehearse the procedure until the team can place the cap in a few minutes.
💭 Pause and Think
After a pilot study over the motor cortex, you notice that half of the channels had to be excluded in a third of your participants, almost all of whom have dense, dark, curly hair. What would you change before starting the main study, and what would you report in the paper?
Think about optode design, preparation time and technique, the choice of montage, how you define and apply exclusion criteria, and what readers need to know to judge whether your sample represents the population.
The moment to fix a bad channel is during the setup, when you can still move the hair or adjust the optode, and not during the analysis, when all you can do is discard it. Most instruments display the raw intensities in real time, and a few minutes of checking them against three criteria prevents most lost data. The first is the intensity level: each channel should be well above the noise floor of the detector and below saturation. From Lesson 4.1, you know that the expected level depends strongly on separation, so compare channels of the same separation with each other, and treat a long channel that is much weaker than its neighbors as a sign of hair or poor contact. The second is the cardiac pulsation: a channel in good contact with the scalp shows a clear heartbeat oscillation, at both wavelengths, because the arterial pulse modulates the blood volume in the tissue under it. A channel without a visible heartbeat is usually measuring light that does not travel through well-perfused tissue, or not enough light at all. The third is stability: the signal should not jump or drift when the participant is still, and it should recover after a small head movement.
These checks can be made objective. Pollonini et al. (2014) introduced the scalp coupling index (SCI), which uses the fact that the cardiac pulsation should appear simultaneously at both wavelengths when an optode is well coupled to the scalp: the signals from the two wavelengths are filtered to keep only the cardiac band, and their correlation is computed, with values close to 1 indicating good coupling. The same idea can be applied in real time during setup, displaying the coupling of each optode on a model of the head so that the experimenter knows exactly which optode to adjust (Pollonini et al., 2016). Other common measures, such as the coefficient of variation of the raw intensity over a short window, capture how noisy a channel is. Whatever measure you use, decide on the criteria and thresholds before data collection, apply them in the same way to all participants, and report them.
Once the signal is good, record a few minutes of rest before the task begins. A resting baseline gives you a reference for the spontaneous physiology of each participant, lets the instrument and the participant settle (Lesson 4.1), and is useful in the analysis, both for quality measures and for estimating the systemic noise. Keep the raw intensities, as recommended in Lesson 4.1, and keep watching the signal during the session: an optode that loses contact halfway through can often be fixed during a pause between blocks.
⚠ A Common Mistake to Avoid
It is tempting to start the recording as soon as most channels look acceptable, especially with a restless participant, and to rely on processing to deal with the rest. Processing can correct some motion artifacts and remove some systemic physiology, but it cannot recover light that never reached the detector.
A channel without a heartbeat at the start of the session will almost never become a good channel in the analysis. If it covers your region of interest, the few extra minutes spent fixing it are the best investment you can make in the study.
An fNIRS dataset without its context is hard to analyze and impossible to reproduce. During each session, record the cap size and head measurements, the actual optode positions (digitized or photographed), the instrument settings (source wavelengths and powers, detector gains, sampling rate), the timing of every event, and any notes about the session: channels that were hard to couple, movements, interruptions, changes in lighting, or anything unusual in the participant’s behavior. These notes take seconds to write and can save hours in the analysis, when a strange signal turns out to coincide with a sneeze or with the door opening.
The same information is what readers need in the methods section of your paper. The fNIRS community has summarized what should be reported in a checklist (Yücel et al., 2021), which covers the participants, the instrument, the probe and its registration, the design, the signal quality criteria, and the processing. We will come back to this checklist, and to the standard file formats that make sharing data easier, in Lesson 5.6. It is worth reading before you design your first study rather than after, since much of what it asks you to report has to be recorded during the experiment.
🎍 MUST-READ PAPER
Yücel, M.A., Lühmann, A.v., Scholkmann, F., et al. (2021). “Best practices for fNIRS publications.” Neurophotonics, 8(1), 012101.
The SfNIRS guidelines on what to report in an fNIRS study, written by a large group of researchers in the field, with a checklist that doubles as a planning tool for designing and running an experiment.
📌 Key Takeaways
📚 Further Reading & Key References
Society for Functional Near-Infrared Spectroscopy.
Content is for educational purposes.