Abstract
The major advantage of MEG/EEG over other neuroimaging methods is its high temporal resolution. Examining the latency of well-studied components can provide a window into the dynamics of cognitive operations beyond traditional response-time (RT) measurements. While RTs reflect the cumulative duration of all time-consuming cognitive operations involved in a task, component latencies can partition this time into cognitively meaningful sub-steps. Surprisingly, most MEG/EEG studies neglect this advantage and restrict analyses to component amplitudes without considering latencies. The major reasons for this neglect might be that, first, the most easily accessible latency measure (peak latency) is often unreliable and that, second, more complex measures are difficult to conceive, implement, and parametrize. The present article illustrates the key advantages and disadvantages of the three main types of latency-measures (peak latency, onset latency, and percent-area latency), introduces a MATLAB function that extracts all these measures and is compatible with common analysis tools, discusses the most important parameter choices for different research questions and components of interest, and demonstrates its use by various group analyses on one planar gradiometer pair of the publicly available data. The introduced function can extract from group data not only single-subject latencies, but also grand-average and jackknife latencies. Furthermore, it gives the choice between different approaches to automatically set baselines and anchor points for latency estimation, approaches that were partly developed by me and that capitalize on the informational richness of MEG/EEG data. Although the function comes with a wide range of customization parameters, the default parameters are set so that even beginners get reasonable results. Graphical depictions of latency estimates, baselines, and anchor points overlaid on individual averages further support learning, understanding and trouble-shooting. Once extracted, latency estimates can be submitted to any analysis also available for (averaged) RTs, including tests for mean differences, correlational approaches and cognitive modeling.
Estimating the Timing of Cognitive Operations With Meg/Eeg Latency Measures
Remember the last time you picked apples at the grocery store? First, you had to find the shelf with the apples, then decide on the type of apple you want, then to attend to one of the apples and estimate its quality, to store this information in working memory and compare it to the alternative apples in the box; finally you had to program and execute a reaching movement etc. – this is, of course, a ridiculously coarse description of the multitude of cognitive processes involved in picking apples. Beyond any doubt, any cognitive task can be subdivided into a virtually endless number of sub-processes that unfold over time. The goal of cognitive science is to understand these sub-processes and their interplay in detail (e.g., ). A major piece to this puzzle is the timing of sub-processes – for example, if sub-process B emerges after process A, B cannot be the cause of A.
The research tradition focusing on the timing of sub-processes is termed mental chronometry (). Using thoughtful experimental designs, researchers were able to disentangle many of the sub-processes giving rise to performance in cognitive tasks (; ). Another, complementary, approach is to estimate the timing of cognitive processes via the timing of their (probable) neuronal correlates (; ; for recent examples, see ; ; ; ; ; ; ; ; ; ; ). The validity of this latter approach, of course, crucially depends on whether the examined component is indeed a valid correlate of the cognitive process of interest and the amount and quality of evidence supporting this validity varies strongly between components and interpretations of these components.
For example, the N2pc component of the event-related potential is a negativity at posterior MEG/EEG recording sites contralateral to an attended object. Whether it reflects the allocation of attention toward this object, the suppression of objects on the other side of the display or a general bias in attentional resources are heavily discussed questions (,; ; ; ). Nevertheless, most contestants in this discussion would agree that the N2pc is somehow related to attentional dynamics and interpreting the timing of the N2pc to reflect the timing of attention shifts is therefore relatively save. N2pc timing can thus be used to measure how long it takes until certain objects draw spatial attention, which becomes particularly interesting if a task induces multiple shifts of attention (; ; ; ). Relatedly, the time at which motor-cortex activity contralateral to the responding hand rises from baseline (lateralized readiness potential, LRP) is a quite uncontroversial marker of the timing of motor preparation (e.g., ; ; ; ).
Analogous points can be made for many event-related potential/event-related field (ERP/ERF) components (e.g., ; , ; ; ). For ease of reading, the present article refers to ERP/ERFs throughout, but the latency-extraction methods are applicable to any temporally resolved correlate of cognitive processes, including other data like pupillary light response () and fNIRS () and results of other preprocessing techniques of MEG/EEG data like decomposition techniques (independent component analysis, source localization, etc.), time–frequency analysis (), machine learning, and combinations thereof (, ; ).
Three Classes of Latency Measures
Given the strong interest of cognitive psychologists in the timing of cognitive events and the obvious advantages of taking the timing of established neuronal markers into account, it is surprising that most research has focused on the amplitude of components instead of their latency. One reason for this issue might be that the easiest and most widely used measure of component latency – the time when a component reaches its maximum (peak latency) – is easily corrupted by neuronal and measurement noise (; ). An algorithm looking for the time point with the maximal value will often pick a high-frequency noise deflection riding on top of the actual component. This noise deflection may or may not coincide with the true peak of the component; in fact, with broad components it can be far off. This is the case in Figure 1, where the peak latency of the later, blue, component is clearly an overestimation of the component latency. This is less of a problem for amplitude measures: once a reasonable temporal range of activity (e.g., ±5 ms around peak) is taken into account, high-frequency noise averages out. The quality of peak latency depends on the shape of the component – peak detection in a more transient component (with a peakier shape, like the earlier, red, component in Figure 1) is less likely to be confounded by high-frequency noise. Later components are typically broader and noise will therefore more likely influence peak latency.
FIGURE 1
A measure that is robust to high-frequency noise is percent-area latency. This is the time point when the component has reached a predefined percentage of its area under the curve (typically 50%). Finally, onset latency is the time when the component has reached some pre-defined percentage of its amplitude (e.g., 30%) and its reliability lies somewhere in between percent-area and peak latency. Offset latency can be defined correspondingly as the time where the component has fallen back to the pre-defined percentage, and on- and offset latency will be referred to collectively as percent-amplitude latency. Further latency measures that were developed for specific components are not treated here (e.g.,
For percent-area latency the definition of area is not necessarily straight forward: The simplest possibility is to take all activity into account that goes into the component’s direction within a predefined time window (as all activity going into the opposite direction is ignored, this is more specifically also referred to as ‘signed area’). According to this definition, area is confined by the time window, the x-axis (usually determined by the pre-stimulus baseline) and the ERP/ERF. To avoid missing some of the activity in some components of some individuals one would have to pick a rather broad window. This, however, incurs the risk of including activity from adjacent components or noise into the calculation and thus – depending on the data – to introduce a bias to the estimate (Figure 2A). Furthermore, components might (in contrast to the example in Figure 1) be far detached from the pre-stimulus baseline (especially if they occur rather late) and therefore much of the lower part of the area defined in this way would usually not be considered part of the component. Including this activity biases area latency toward the mean of the area window. This happens when the ERP/ERF drifts away from the pre-trial baseline into the same direction as the component (see Figure 2B).
FIGURE 2

Potential issues with percent-area latency. (A) The time window that worked well for Figure 1 includes part of the preceding component (individual average of subject 8, unfamiliar faces); (B) the ERF is quite detached from baseline and thus, much of the area would typically not be considered part of the ERF (individual average of subject 3, unfamiliar faces). Note that all ERFs were baseline corrected.
FIGURE 3

Several approaches to determine 50%-area latency, differing in the definition of component area (dark blue). (A) All positive values within the pre-determined interval (light blue) are added up; (B) only values larger than 30% of the peak amplitude are added up; (C) only values larger than 30% of the peak-to-peak amplitude distance above the preceding negative peak are added up, (D) a comparison of approaches (A–C) shows that latency estimates differ only little for ERFs with high signal-to-noise ratios (such as subject 15, unfamiliar faces, in A–D). (E) Same as (C) for another, noisier individual average (subject 8, unfamiliar faces); (F) same as (E) but with the area’s temporal boundaries set to the on- and offset of the component instead of the pre-defined analysis window. Note that toward the end of the component area there are some noise peaks crossing the 30% baseline (marked in green). These are ignored for the calculation of component offset (and therefore do not set the temporal boundaries of the area) by averaging across adjacent time points as explained in the text. Note that all ERFs were baseline corrected.
According to anecdotal evidence1, these techniques are robust against noise and avoid confounds with adjacent components while still taking into account the whole component, even if it is subject to substantial interindividual variability. In particular, the
Complementary Approaches to Handle Noise
Problems related to high- and low-frequency noise can often be ameliorated by respective filtering before extraction of the latency measure. However, filters (especially on segmented data) might introduce artifacts and often not only decrease the noise level, but also the signal (i.e., the component of interest;
Jackknifing is another approach to handle noise (
An obvious disadvantage of jackknifing is that there are no individual estimates of component timing and that appropriate tests must be developed for each statistical test (e.g.,
latency.m: A Matlab Function for Latency Extraction
The following, will demonstrate how all these latency estimates (and versions thereof) are extracted from group data, using the MATLAB (The Mathworks, Natick, MA, United States) function latency.m (the most current version is available here2), so that they can be submitted to statistical tests.3 This function can be used with output from common MATLAB-based analysis toolboxes (EEGlab,
Basic Input and Output
The following describes the various input parameters (see Table 1 for a summary) and resulting outputs of latency.m. A list of all parameters with a short description, including the default values, as well as all possible outputs is contained in the MATLAB function and displayed using help latency. The function expects two input arguments: the individual, preprocessed averages (avgs) and a configuration structure6 (cfg; similar to Fieldtrip,
Table 1
| Name | Description | Options | Default |
|---|---|---|---|
| extract | (List of) measures to extract | ‘all’ or any combination of the following: ‘mean,’ ‘peakLat,’ ‘onset,’ ‘offset,’ ‘width,’ ‘areaLat,’ ‘peakAmp,’ ‘peak2peak,’ ‘percAmp,’ ‘area’ | ‘all’ |
| aggregate | How to combine the data | ‘individual,’ ‘GA,’ ‘jackMiller,’ ‘jackSmulders’ | ‘individual’ |
| fig | To plot ERPs and latency estimates | True, false, 1, 0 | False |
| subs | Subjects to include into the analysis | Indices/subject numbers or logical filter | All |
| subNum | List of subject numbers | Subject numbers in correct order: vector of length(avgs,1) | |
| chans | Channels to average across | Indices or channel names | All |
| chanName | List of channel names | Channel names (strings) in correct order: vector of length(avgs,2) | |
| peakWin | Search window for detecting the peak | Start and end of search interval: vector with two elements | Whole range |
| meanTime | Window for extracting mean amplitude | Start and end of averaging interval: vector with two elements | peakWin |
| times | Information on the time scale of the data | Individual time points: vector of length(avgs,3); alternatively, start, end and sampling rate: vector with three elements | |
| peakWidth | Determines averaging window for peak amplitude | Time around peak (±peakWidth) | Five sampling points/∼5 ms |
| cWinStart | Point from where the counter-peak is searched | ‘peak’ or ‘peakWin’ | ‘peakWin’ |
| cWinWidth | Width of the counter-peak search interval | Time before (negative values) or after (positive values) cWinStart: single number | |
| cWin | Search interval for counterpeak (alternative to cWinStart/Width) | Start and end of search interval: vector with two elements | |
| percArea | Percentage of the total area for percent-area latency | Value in between 0 and 1 | 0.5 |
| percAmp | Percentage of the amplitude (peak-to-peak, if a counter peak is used) | Value in between 0 and 1 | 0.5 |
| areaWin | Determines temporal boundaries for area calculation | ‘peakWin,’ ‘ampLat,’ ‘fullRange’; alternatively, start and end of area: vector with two elements | ‘peakWin’ |
| areaBase | Determines one area boundary in amplitude space | ‘zero’ (x-axis; typically pre-stimulus baseline) or ‘percAmp’ | ‘zero’ |
| ampLatWin | Determines where on- and offsets are searched | ‘fullRange,’ ‘peakWin,’ alternatively, start and end of search interval: vector with two elements | ‘fullRange’ |
| cBound | Determines whether counter peak is one border of the search interval for on- and offsets | True, false, 1, 0 | True |
| warnings | Determines whether warnings are shown | True, false, 1, 0 | True |
Fields of the configuration structure (cfg). See the text for details.
If cfg.extract is not set, latency.m will extract everything it can, using default parameters where applicable. It is, however, recommended to choose one (or a few) latency measure(s) a priori by setting cfg.extract. Use tilted brackets to submit a list of desired output measures, separated by commas. Possible latency measures are peak latency (‘peakLat’), percent-amplitude latency before (‘onset’) or after (‘offset’) the peak, and percent-area latency (‘areaLat’). In addition it is possible to extract other measures that are created along the way or might be useful for other analyses or quality checks, namely mean amplitude (‘mean’), peak amplitude (‘peakAmp’), total area under the curve (‘area’), width of the component (offset – onset; ‘width’), difference in peak amplitude between the component of interest and an adjacent component of opposite polarity (‘peak2peak’), and the new baseline for the area boundary (‘baseline’). ‘counterAmp’ and ‘counterLat’ are the amplitude and the latency of the preceding (cfg.cWinWidth < 0) or following (cfg.cWinWidth > 0) adjacent peak (referred to as counter peak here). Furthermore, there are several Booleans that indicate for each subject whether a local peak was found (‘foundLocal’)7, whether on- and offsets were found (‘foundOn,’ ‘foundOff’) and whether a point dividing the area into the desired percentage (area latency) was found (‘foundArea’). When a single output measure is requested, the output res is a vector with one value for each participant, otherwise res is a structure with the respective fields for each output measure. An additional output can be requested (cfgNew), which contains all information on the final settings, including parameters that were not set at call and were filled with default values, and the field ann, which contains some in depth information on the extracted measures that might be useful for understanding and reporting the results.
Peak latency (peakLat) is extracted from the desired spatiotemporal analysis window without any additional parameters. Percent-amplitude latency (onset and offset) and percent-area latency (areaLat) require some parametrizing, which will be detailed right away.
Percent-Amplitude Latency (On- and Offset)
Percent-amplitude latency is the time point at which the component has reached a certain percentage of its peak amplitude (typically 50%). This percentage is set via cfg.percAmp. The point before the peak, where activity has reached this threshold is called onset and the point after the peak can analogously be referred to as offset. Peak amplitude (peakAmp; which is calculated as an intermediate step) should be an average across several sampling points to avoid contamination by high-frequency noise. Thus, a second parameter that determines the width of this averaging window is necessary. cfg.peakWidth is the number of sampling points to the left and right of the peak latency that is averaged and defaults to 5 sampling points or ∼5 ms (i.e., 11 sampling points or ∼11 ms are averaged). The same number of sampling points is also averaged for determining the amplitude at on- and offset (which is used for the decision whether the desired percentage of the amplitude has been reached), so that percent-amplitude latency is not contaminated by high-frequency noise (see Figure 3F). If no averaging across sampling points is desired, (e.g., because an appropriately designed low-pass filtered has already removed high-frequency noise), set cfg.peakWidth = 0.
As discussed above (and displayed in Figure 3) later components often do not cross the pre-stimulus baseline due to slow-wave activity or low-frequency noise, thus sometimes introducing a bias toward earlier time points in onset latency (e.g., Figure 3A).
cfg.ampLatBound is used to control the temporal extent in which the algorithm searches for percent-amplitude latencies. cfg.ampLatBound = ‘peakWin’ restricts this search to the search interval used to determine the component’s peak; ‘fullRange’ (default) does not restrict the search range. If cfg.cWinWidth is set and cfg.cBound is true (default), the peak of the other component determines one temporal boundary. Alternatively, cfg.ampLatBound can be set by hand by providing start and end times.
Percent-Area Latency
Percent-area latency is the time point where a component has reached a certain percentage of its area (set via cfg.percArea; typically 50%). As discussed above, the crux is the definition of area. In the simplest (default) case, the area is confined in amplitude space by the ERP/ERF and the pre-stimulus baseline (cfg.areaBase = ‘zero’). If cfg.areaBase is set to ‘percAmp’ the desired percentage of the peak amplitude (cfg.percAmp) serves as a boundary in amplitude space; in a way, the baseline is moved toward the peak of the component (thus decreasing the area; see also
Extracting Jackknife and Grand-Average Latencies
The default output of latency.m is one latency estimate per subject. The function can also return jackknife estimates for any output measure by setting cfg.aggregation = ‘jackMiller.’ For sample size n, the output will contain n jackknife estimates plus the respective grand average estimate as the last entry. These must then be analyzed with appropriate statistical tests (
Deciding on Parameter Settings
There is quite some flexibility in choosing parameters, incurring the risk of arriving at sub-optimal solutions or bogus effects (
Choice of Latency Estimates and Parameter Settings
Choosing the appropriate latency measure and deciding on parameter settings is a matter of expertise and depends on the data set and research question at hand. Nevertheless, a few general recommendations apply to ERP/ERFs: Due to its low reliability, peak latency should usually be avoided. It can give reasonable results for very transient components under high signal-to-noise-ratio conditions, though. Even then applying a relatively strict low-pass filter (considerably attenuating all frequencies above 30 Hz) before the peak detection is typically necessary (see also
If the component of interest occurs relatively late and there is contamination with low-frequency noise or slow-wave activity, the baseline adaptation of
Troubleshooting
A good way to get used to the function is to set cfg.sign according to the direction of the component, run [res, cfgNew] = latency(cfg, avgs), read the warning messages and inspect the contents of cfgNew, which will tell you about the default parameters. This should already provide quite some clues on which parameters one would like to change. Warnings can be turned off by setting cfg.warnings = false.
One common problem is that no local peak is found and the algorithm returns one of the boundaries of the search interval (cfg.peakWin) instead. If this happens too often (for more than half the participants), the algorithm returns a warning. This typically indicates that the search interval is set too narrowly and, thus, increasing cfg.peakWin often helps. The output res.foundLocal indicates for each subject whether a local peak was found or not and, thus, helps to identify anomalous individual averages (e.g., not showing the component of interest or containing a high level of low-frequency noise).
Percent-amplitude latency is corrupted when the ERP/ERF does not cross the baseline before or after the peak. This is the case when the indicated percentage of the component amplitude is already reached before the onset of the search interval or activity does not fall sufficiently again after the component’s peak. The algorithm than sets the on- or offset estimate to the respective search boundary (determined by cfg.ampLatWin). If this happens too often (for more than half of the participants), the algorithm returns a warning. One reason might be that a slow-wave component overlays the component of interest. In this case, using the adjacent peak as an anchor point and changing the baseline as described above holds promise to considerably improve the results. If this occurs for only a few participants, their individual averages might be too noisy and should be rejected. Inspect ‘res.foundOn’ and ‘res.foundOff’ to identify such corrupted data sets.
A more general troubleshooting strategy is to set cfg.fig = true. This will produce a figure for each subject with a graphical depiction of the various extracted measures, baselines, and anchor points. Visual inspection of these figures will often help to identify issues with the parameters or individual averages. These figures will also help understanding what exactly the function is doing, so that inspecting them is advisable whenever there is any uncertainty regarding the latency-extraction procedure.
Example Analysis of Group Data
Example Data and Parameter Settings
As a practical example, the usage of latency.m will be demonstrated on the planar gradiometer pair MEG0712 + 713 of the freely available MEG data set of
FIGURE 4

Baseline-corrected grand averages at the planar gradiometer pair MEG0712 + 713 of the
Classical t-Tests
Indeed, confirming the initial observation, the 50%-area latency of the late component differed between intact and scrambled faces (mean difference, = 90.2 ms), t(15) = 3.39, p = 0.004, but not between famous and unfamiliar faces, t(15) = 1.24, p = 0.234, = 13.1 ms. Notably, this was not due to a difference in onset latency, t(15) = 1.20, p = 0.249, = 36.7 ms, and t(15) = 0.50, p = 0.627, = 6.7 ms, respectively. An analysis of peak latencies confirmed the area-latency results, t(15) = 3.51, p = 0.003, = 125.8 ms, and t(15) = 0.15, p = 0.885, = 3.8 ms, respectively. An analysis of the earlier component’s area latency with the same parameters (except for the time windows) showed no significant differences in latency between intact and scrambled faces, t(15) = 1.58, p = 0.135, = 11.3 ms, or between famous and unfamiliar faces, t(15) = 0.35, p = 0.734, = 2.0 ms.
Jackknife t-Tests
Surprisingly, jackknife analyses of the late component’s peak latency did not confirm the pattern, t(15) = 1.06, p = 0.306, = 77.3 ms, and t(15) = 0.01, p = 0.991, = 0.9 ms, respectively, for the
Reliability and Interrelation of Latency Measures
These analyses indicate that latency does not differ depending on whether the face is famous or unfamiliar. This opens the interesting possibility to use the correlation between the late component’s latencies for famous and unfamiliar faces as an index of the reliability of the various measures. This estimate of reliability was highest for area latency, r = 0.94, p < 0.001, second for onset latency, r = 0.86, p < 0.001, and worst (although still acceptable) for peak latency, r = 0.70, p = 0.002. Furthermore, the inter-correlations of the various measures of the late component’s latency might serve to gauge in how far these measures capture the same aspects of the underlying process. Area latency correlated highly with peak latency, r = 0.84 (corrected for attenuation, rcorr = 1), p < 0.001, and weaker with onset latency, r = 0.50 (rcorr = 0.56), p = 0.048, but the correlation between onset and peak latency did not reach significance, r = 0.21 (rcorr = 0.27), p = 0.436. As makes intuitive sense, area latency and peak latency pick up the same variance, which is different though somewhat related to onset latency.
Concluding Remarks
The present article illustrated the importance of component-latency measures for cognitive theories, introduced the three most common latency measures and variants thereof and discussed their strength and weaknesses. Furthermore, it described a function that can extract all these measures from group data (latency.m) and applied this function to an MEG data set (
Statements
Author contributions
HRL is the sole author and has done all the work involved in preparing and writing this manuscript.
Funding
This study was funded by LMU Munich‘s Institutional Strategy LMUexcellent within the framework of the German Excellence Initiative.
Conflict of interest
The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Footnotes
1.^A formal validation using surrogate data where the true timing of components is known is beyond the scope of this tutorial introduction and must await further dedicated research. Yet, versions of this technique have arguably provided compelling results in
2.^https://github.com/Liesefeld/latency
3.^See the ERP Measurement Tool (available from https://github.com/lucklab/erplab/wiki/ERP-Measurement-Tool) for an alternative that provides a user interface. The main differences to the present function are that it is integrated into a particular toolbox (ERPLAB) and that the modifications of on-/offset latency and area latency suggested by
4.^https://github.com/robertoostenveld/Wakeman-and-Henson-2015
5.^https://figshare.com/projects/MEG_EEG_latency/39068
6.^A structure is a MATLAB data type that groups data containers called ‘fields’ (and potentially subfields), each of which can hold any type of data (see MATLAB/Language Fundamentals/Data Types/Structures in the online MATLAB documentation). This approach is preferable to differentiating parameters by their input order, because it is less prone to confusion or omission errors (switching the position of two parameters or accidentally omitting one parameter so that all following parameters are interpreted incorrectly by the function). One (among others) advantage the configuration structure has in comparison to the key + value input method [e.g., latency(avgs,‘sign,’1)] is its re-usability in several calls to the function, e.g., for applying the exact same parameters to several datasets (conditions) or changing single parameter values per call such as the analyzed (cluster of) channel(s) in cfg.chans (see Table 1).
7.^Usually a local peak (the sample with the highest [or lowest] value that has samples with smaller [or higher] values on both sides) is returned, a global peak (one border of the analysis window that contains the highest [or lowest] value) is only returned in the rare cases that no local peak is found. See the section “Troubleshooting” below.
References
1
BrissonB.JolicoeurP. (2008). Express attentional re-engagement but delayed entry into consciousness following invalid spatial cues in visual search.PLoS One3:e3967. 10.1371/journal.pone.0003967
2
CohenM. X. (2014). Analyzing Neural Time Series Data: Theory and Practice.Cambridge, MA: MIT Press.
3
ColesM. G. (1989). Modern mind-brain reading: psychophysiology, physiology, and cognition.Psychophysiology26251–269. 10.1111/j.1469-8986.1989.tb01916.x
4
Dell’AcquaR.DuxP. E.WybleB.MattiaD.SessaP.MeconiF.et al (2015). The attentional blink impairs detection and delays encoding of visual information: evidence from human electrophysiology.J. Cogn. Neurosci.27720–735. 10.1162/jocn_a_00752
5
DelormeA.MakeigS. (2004). EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis.J. Neurosci. Methods1349–21. 10.1016/j.jneumeth.2003.10.009
6
DrisdelleB. L.WestG. L.JolicoeurP. (2016). The deployment of visual spatial attention during visual search predicts response time: electrophysiological evidence from the N2pc.Neuroreport271237–1242. 10.1097/WNR.0000000000000684
7
EimerM. (1996). The N2pc component as an indicator of attentional selectivity.Electroencephalogr. Clin. Neurophysiol.99225–234. 10.1016/0013-4694(96)95711-9
8
FahrenfortJ. J.GrubertA.OliversC. N. L.EimerM. (2017). Multivariate EEG analyses support high-resolution tracking of feature-based attentional selection.Sci. Rep.7:1886. 10.1038/s41598-017-01911-0
9
FahrenfortJ. J.van DrielJ.van GaalS.OliversC. N. L. (2018). From ERPs to MVPA using the Amsterdam decoding and modeling toolbox (ADAM).Front. Neurosci.12:368. 10.3389/fnins.2018.00368
10
FerrariM.QuaresimaV. (2012). A brief review on the history of human functional near-infrared spectroscopy (fNIRS) development and fields of application.Neuroimage63921–935. 10.1016/j.neuroimage.2012.03.049
11
Fortier-GauthierU.Dell’AcquaR.JolicśurP. (2013). The ‘red-alert’ effect in visual search: evidence from human electrophysiology.Psychophysiology50671–679. 10.1111/psyp.12050
12
FosterJ. J.SuttererD. W.SerencesJ. T.VogelE. K.AwhE. (2017). Alpha-band oscillations enable spatially and temporally resolved tracking of covert spatial attention.Psychol. Sci.28929–941. 10.1177/0956797617699167
13
GrubertA.EimerM. (2016). The speed of serial attention shifts in visual search: evidence from the N2pc component.J. Cogn. Neurosci.28319–332. 10.1162/jocn_a_00898
14
HickeyC.McDonaldJ. J.TheeuwesJ. (2006). Electrophysiological evidence of the capture of visual attention.J. Cogn. Neurosci.18604–613. 10.1162/jocn.2006.18.4.604
15
HopfJ.LuckS. J.GirelliM.HagnerT.MangunG. R.ScheichH.et al (2000). Neuronal sources of focused attention in visual search.Cereb. Cortex101233–1241. 10.1093/cercor/10.12.1233
16
HyunJ.WoodmanG. F.VogelE. K.HollingworthA.LuckS. J. (2009). The comparison of visual working memory representations with perceptual inputs.J. Exp. Psychol. Hum. Percept. Perform.351140–1160. 10.1037/a0015019
17
KieselA.MillerJ.JolicæurP.BrissonB. (2008). Measurement of ERP latency differences: a comparison of single-participant and jackknife-based scoring methods.Psychophysiology45250–274. 10.1111/j.1469-8986.2007.00618.x
18
LiesefeldA. M.LiesefeldH. R.ZimmerH. D. (2014). Intercommunication between prefrontal and posterior brain regions for protecting visual working memory from distractor interference.Psychol. Sci.25325–333. 10.1177/0956797613501170
19
LiesefeldH. R.LiesefeldA. M.TöllnerT.MüllerH. J. (2017). Attentional capture in visual search: capture and post-capture dynamics revealed by EEG.Neuroimage156166–173. 10.1016/j.neuroimage.2017.05.016
20
LiesefeldH. R.LiesefeldA. M.ZimmerH. D. (2016). Recollection is delayed under changed viewing conditions: a graded effect on the latency of the late posterior component.Psychophysiology531811–1822. 10.1111/psyp.12760
21
LuckS. J. (2005). An Introduction to the Event-Related Potential Technique.Cambridge, MA: MIT Press.
22
LuckS. J. (2012). “Electrophysiological correlates of the focusing of attention within complex visual scenes: N2pc and related ERP components,” inThe Oxford Handbook of Event-related Potential Components, edsLuckS. J.KappenmanE. S. (New York, NY: Oxford University Press), 329–360.
23
LuckS. J. (2014). An Introduction to the Event-Related Potential Technique, 2nd Edn. Cambridge, MA: MIT Press.
24
LuckS. J.GaspelinN. (2017). How to get statistically significant effects in any ERP experiment (and why you shouldn’t).Psychophysiology54146–157. 10.1111/psyp.12639
25
LuckS. J.HillyardS. A. (1994a). Electrophysiological correlates of feature analysis during visual search.Psychophysiology31291–308. 10.1111/j.1469-8986.1994.tb02218.x
26
LuckS. J.HillyardS. A. (1994b). Spatial filtering during visual search: evidence from human electrophysiology.J. Exp. Psychol. Hum. Percept. Perform.201000–1014. 10.1037/0096-1523.20.5.1000
27
MaessB.SchrögerE.WidmannA. (2016a). High-pass filters and baseline correction in M/EEG analysis. Commentary on: “how inappropriate high-pass filters can produce artefacts and incorrect conclusions in ERP studies of language and cognition.J. Neurosci. Methods266164–165. 10.1016/j.jneumeth.2015.12.003
28
MaessB.SchrögerE.WidmannA. (2016b). High-pass filters and baseline correction in M/EEG analysis-continued discussion.J. Neurosci. Methods266171–172. 10.1016/j.jneumeth.2016.01.016
29
MathôtS.Van der StigchelS. (2015). New light on the mind’s eye: the pupillary light response as active vision.Curr. Dir. Psychol. Sci.24374–378. 10.1177/0963721415593725
30
MedinaJ. M.WongW.DíazJ. A.ColoniusH. (2015). Advances in modern mental chronometry.Front. Hum. Neurosci.9:256. 10.3389/fnhum.2015.00256
31
MeyerD. E.OsmanA. M.IrwinD. E.YantisS. (1988). Modern mental chronometry.Biol. Psychol.263–67. 10.1016/0301-0511(88)90013-0
32
MillerJ.PattersonT.UlrichR. (1998). Jackknife-based method for measuring LRP onset latency differences.Psychophysiology3599–115. 10.1111/1469-8986.3510099
33
OostenveldR.FriesP.MarisE.SchoffelenJ. M. (2011). FieldTrip: open source software for advanced analysis of MEG, EEG, and invasive electrophysiological data.Comput. Intell. Neurosci.2011:156869. 10.1155/2011/156869
34
OsmanA.BashoreT. R.ColesM. H.DonchinE.MeyerD. E. (1992). On the transmission of partial information: inferences from movement-related brain potentials.J. Exp. Psychol. Hum. Percept. Perform.18217–232. 10.1037/0096-1523.18.1.217
35
PosnerM. I. (1978). Chronometric Explorations of Mind.Oxford: Lawrence Erlbaum.
36
RousseletG. A. (2012). Does filtering preclude us from studying ERP time-courses?Front. Psychol.3:131. 10.3389/fpsyg.2012.00131
37
RuhnauP.HerrmannB.MaessB.BrauerJ.FriedericiA. D.SchrögerE. (2013). Processing of complex distracting sounds in school-aged children and adults: evidence from EEG and MEG data.Front. Psychol.4:717. 10.3389/fpsyg.2013.00717
38
RuhnauP.SchrögerE.SussmanE. S. (2017). Implicit expectations influence target detection in children and adults.Dev. Sci.20:e12402. 10.1111/desc.12402
39
SimmonsJ. P.NelsonL. D.SimonsohnU. (2011). False-positive psychology: undisclosed flexibility in data collection and analysis allows presenting anything as significant.Psychol. Sci.221359–1366. 10.1177/0956797611417632
40
SmuldersF. T. Y. (2010). Simplifying jackknifing of erps and getting more out of it: retrieving estimates of participants’ latencies.Psychophysiology47387–392. 10.1111/j.1469-8986.2009.00934.x
41
StahlJ.GibbonsH. (2004). The application of jackknife-based onset detection of lateralized readiness potential in correlative approaches.Psychophysiology41845–860. 10.1111/j.1469-8986.2004.00243.x
42
TannerD.Morgan-ShortK.LuckS. J. (2015). How inappropriate high-pass filters can produce artifactual effects and incorrect conclusions in ERP studies of language and cognition.Psychophysiology52997–1009. 10.1111/psyp.12437
43
TannerD.NortonJ. S.Morgan-ShortK.LuckS. J. (2016). On high-pass filter artifacts (they’re real) and baseline correction (it’s a good idea) in ERP/ERMF analysis.J. Neurosci. Methods266166–170. 10.1016/j.jneumeth.2016.01.002
44
TöllnerT.RangelovD.MüllerH. J. (2012). How the speed of motor-response decisions, but not focal-attentional selection, differs as a function of task set and target prevalence.Proc. Natl. Acad. Sci. U.S.A.109e1990–e1999. 10.1073/pnas.1206382109
45
UlrichR.MillerJ. (2001). Using the jackknife-based scoring method for measuring LRP onset effects in factorial designs.Psychophysiology38816–827. 10.1017/S0048577201000610
46
VanRullenR. (2011). Four common conceptual fallacies in mapping the time course of recognition.Front. Psychol.2:365. 10.3389/fpsyg.2011.00365
47
VerlegerR.JaśkowskiP.WascherE. (2005). Evidence for an integrative role of P3b in linking reaction to perception.J. Psychophysiol.19165–181. 10.1027/0269-8803.19.3.165
48
WakemanD. G.HensonR. N. (2015). A multi-subject, multi-modal human neuroimaging dataset.Sci. Data2:150001. 10.1038/sdata.2015.1
49
WidmannA.SchrögerE. (2012). Filter effects and filter artifacts in the analysis of electrophysiological data.Front. Psychol.3:233. 10.3389/fpsyg.2012.00233
50
WidmannA.SchrögerE.MaessB. (2014). Digital filter design for electrophysiological data–a practical approach.J. Neurosci. Methods25034–46. 10.1016/j.jneumeth.2014.08.002
51
WoodmanG. F.LuckS. J. (1999). Electrophysiological measurement of rapid shifts of attention during visual search.Nature400867–869. 10.1038/23698
52
XieW.ZhangW. (2018). Familiarity speeds up visual short-term memory consolidation: electrophysiological evidence from contralateral delay activities.J. Cogn. Neurosci.301–13. 10.1162/jocn_a_01188
Summary
Keywords
magnetoencephalography (MEG), electroencephalography (EEG), component latency, mental chronometry, event-related potential/field (ERP/ERF)
Citation
Liesefeld HR (2018) Estimating the Timing of Cognitive Operations With MEG/EEG Latency Measures: A Primer, a Brief Tutorial, and an Implementation of Various Methods. Front. Neurosci. 12:765. doi: 10.3389/fnins.2018.00765
Received
29 September 2017
Accepted
03 October 2018
Published
25 October 2018
Volume
12 - 2018
Edited by
Vladimir Litvak, University College London, United Kingdom
Reviewed by
Philipp Ruhnau, Universitätsklinikum Magdeburg, Germany; Burkhard Maess, Max-Planck-Institut für Kognitions- und Neurowissenschaften, Germany
Updates

Check for updates
Copyright
© 2018 Liesefeld.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Heinrich René Liesefeld, Heinrich.Liesefeld@psy.lmu.de
This article was submitted to Brain Imaging Methods, a section of the journal Frontiers in Neuroscience
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.