Next Article in Journal
Pharmacogenetics of Direct Oral Anticoagulants: A Systematic Review
Next Article in Special Issue
Single-Pulse Transcranial Magnetic Stimulation-Evoked Potential Amplitudes and Latencies in the Motor and Dorsolateral Prefrontal Cortex among Young, Older Healthy Participants, and Schizophrenia Patients
Previous Article in Journal
A Predictive Model and Risk Factors for Case Fatality of COVID-19
Previous Article in Special Issue
The Role of Gamma Oscillations in the Pathophysiology of Substance Use Disorders
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Implementation of EEG Oscillatory Phase-Informed Visual Stimulation Using a Least Mean Square-Based AR Model

1
CBS-TOYOTA Collaboration Center, RIKEN Center for Brain Science, Wako 351-0198, Japan
2
Department of Electronic and Information Engineering, Tokyo University of Agriculture and Technology, Tokyo 184-8588, Japan
3
Division of Neural Dynamics, Department of System Neuroscience, National Institute for Physiological Sciences, National Institutes of Natural Sciences, Okazaki 444-8585, Japan
4
Department of Physiological Sciences, School of Life Science, The Graduate University for Advanced Studies (SOKENDAI), Okazaki 444-8585, Japan
*
Author to whom correspondence should be addressed.
J. Pers. Med. 2021, 11(1), 38; https://doi.org/10.3390/jpm11010038
Submission received: 13 November 2020 / Revised: 5 January 2021 / Accepted: 6 January 2021 / Published: 11 January 2021

Abstract

:
It is a technically challenging problem to assess the instantaneous brain state using electroencephalography (EEG) in a real-time closed-loop setup because the prediction of future signals is required to define the current state, such as the instantaneous phase and amplitude. To accomplish this in real-time, a conventional Yule–Walker (YW)-based autoregressive (AR) model has been used. However, the brain state-dependent real-time implementation of a closed-loop system employing an adaptive method has not yet been explored. Our primary purpose was to investigate whether time-series forward prediction using an adaptive least mean square (LMS)-based AR model would be implementable in a real-time closed-loop system or not. EEG state-dependent triggers synchronized with the EEG peaks and troughs of alpha oscillations in both an open-eyes resting state and a visual task. For the resting and visual conditions, statistical results showed that the proposed method succeeded in giving triggers at a specific phase of EEG oscillations for all participants. These individual results showed that the LMS-based AR model was successfully implemented in a real-time closed-loop system targeting specific phases of alpha oscillations and can be used as an adaptive alternative to the conventional and machine-learning approaches with a low computational load.

1. Introduction

Closed-loop neuroscience is gaining more attention with ongoing technological and innovative advances that enable complex feedback loops to be executed with millisecond resolution on hardware. With regard to brain mechanics, much has been learned about stimulation in an open-loop manner using a pre-defined stimulus, such as the determination of input–output characteristics and how these are possibly modified. This open-loop approach has been quite productive in the field of non-invasive brain stimulation (NIBS), facilitating major developments in pharmacological understanding, as well as in the understanding of the functional basis of cortical dynamics [1,2].
An experiment may be viewed as a “closed-loop” when output from the brain becomes future input to the brain. By creating a causal relationship between the stimulus generator and the measured output, one can possibly “close the loop” [3] in laboratory settings. In reality, this can be achieved when a presented stimulus depends on the simultaneously measured instantaneous brain state. In this case, the neuronal output of the brain affects the input to the brain, thus closing the loop [3].
The combination of electroencephalography (EEG) and transcranial magnetic stimulation (TMS) [4] presents the potential for closed-loop NIBS, which is accentuated by the recent accessibility of cost-effective real-time processors. Although TMS has been around for several decades, it remains the most effective means to non-invasively excite a particular population of cortical neurons, with it being able to do this at a temporal resolution of microseconds and a spatial resolution of millimeters [2,5]. The EEG signal can be theoretically viewed as a lower-dimensional representation of the instantaneous brain state, and the application of TMS could be seen as a vector that results in a new trajectory by altering a spontaneously occurring brain state [6]. Notably, the new state achieved by the TMS pulse is heavily dependent on the precise state at the time of stimulation. This, therefore, leads to the motivation for developing closed-loop brain state-dependent stimulation paradigms.
In the current study, we focus on the most salient feature of the brain state, i.e., the spontaneous oscillatory activity of neuronal networks measured by EEG [7]. Spatially, the state of interest can be determined locally, i.e., the activity of a specific brain area [8], or on a large scale, such as a brain network’s ensemble activity [9]. However, on a temporal scale, brain states can be observed by spectral power changes in a particular frequency band of interest (e.g., event-related desynchronization [ERD]) or perceiving the phase-state of an oscillating cycle. This former method has been effectively employed for both alpha (8–12 Hz) [10] and beta rhythms (16–22 Hz) [11] in brain-machine interfaces that allow stroke patients to perform robot-assisted motor tasks. Methodologically, closing the loop is challenging, not only for the spectral power but also for the instantaneous phase, because the requirement for real-time signal processing necessitates a time resolution of milliseconds; however, such a time resolution has become possible over the past decade [11,12,13]. The implementation of a closed-loop system requires several technically demanding steps: measurement of brain output, signal processing, and tuning/varying of the stimulus. This combination of procedures has become practicable with the latest advances in information technology, which permit intricate calculations to be implemented in real-time using low-cost standard hardware.
Previous benchmark studies [14,15,16] used a genetic algorithm to optimize parameters prior to algorithm deployment. The optimization process needed rigorous computational measures and could not therefore be implemented in real-time. The algorithm proposed in the aforementioned studies may be improved by adopting an online strategy [14] rather than implementing an offline optimization procedure before the actual execution. One alternative is to use the robust method, i.e., wavelet ridge extraction for instantaneous phase estimation [17]. Although this technique is quite useful for highly variable multiple oscillations presented simultaneously, it might be too computationally expensive for real-time implementation. It is possible that real-time implementation may also be restricted by edge effects due to the presence of data in the reverse direction only. Another alternative is the machine learning implemented by McIntosh and Sajda [18], who estimated the EEG phase for real-time applications. Their technique can be used as a substitute for non-causal filtering in offline analysis for phase estimation, but the major drawbacks include the need for preliminary data for training and the risk of unbiased phase estimation. Therefore, an adaptive method is needed to estimate the phase in real-time.
Our previous study [19] presented an adaptive approach for forward prediction of time-series by comparing a conventional Yule–Walker (YW)-based autoregressive model (AR) and a least mean square (LMS)-based AR model. The main aims of the study were to accurately estimate the instantaneous phase of alpha oscillations using the adaptive approach and to compare adaptive and conventional approaches. The present study is an extension of our previous work, i.e., real-time implementations of conventional YW-based AR and adaptive LMS-based AR models. For the current study, we constructed an EEG-triggered visual stimulus closed-loop setup that synchronized the visual stimulus with a specific phase of ongoing alpha oscillations from the occipital cortex. The previous benchmark study [14] used a YW-based AR model to estimate the instantaneous phase of intracranial EEG theta rhythms of only two patients in real-time, whereas a recent study [15] used the same conventional AR model combined with TMS for real-time mu rhythm phase estimation. The current study’s main aim was to check and confirm whether an adaptive LMS-based AR model can be implemented in a real-time closed-loop system, along with a conventional one. Due to technical issues in the DC mode of EEG amplifiers, only data recorded in the AC mode were analyzed for a real-time closed-loop system, which led to a small number of participants. Therefore, this study did not confirm the advantage of the adaptive method over the conventional one.

2. Materials and Methods

2.1. Implementation of a Closed-Loop System

We propose an experimental setup that prolongs current approaches by closing the loop between EEG signals (representing the instantaneous brain state) and visual stimulation. The timing of visual stimulation is locked to the online-detected instantaneous phase of the EEG alpha-band signal (peak and trough phases). An implementation of a real-time closed-loop system is shown in Figure 1. EEG signals are acquired using an actiCAP slim (BrainProducts GmbH, Gilching, Germany) electrode system. Two 24-bit 32-channel Tesla EEG amplifiers (NeurOne; Bittium Biosignals Ltd., Kuopio, Finland) are used for the EEG recordings, with data recorded in the AC mode at a sample rate of 20 kHz for subsequent analysis. The amplifiers’ analog output device is configured to recreate a filtered and an amplified analog signal from a user-selectable set of 16 amplifier channels covering the occipital cortex. Of the channel subset, Oz is analyzed by a real-time system. A MATLAB experimental control scripts PC is connected to the Performance real-time target machine (Speedgoat GmbH, Liebefeld, Switzerland), which receives input signals from a 24-bit analog input module (IO109) and sends TTL signal output to a digital output module (IO203 with 64 TTL channels). The digital output module further sends the TTL trigger signal from the Performance real-time target machine to the NeurOne model Black High (Bittium Biosignals Ltd., Kuopio, Finland), with it being referred to here as Trigger A. An additional 8-bit trigger is simultaneously sent from the Performance real-time target machine to the visual stimulus generating PC via serial port (RS232), which further sends it to the NeurOne model Black High for subsequent data analysis. A real-time data acquisition system (Figure 1b) utilizing a Performance real-time target machine runs in parallel on a dedicated target PC (SN4200, IO10; Speedgoat), digitally processing and archiving the raw EEG data through the implementation of a Simulink real-time model (MathWorks Inc., Natick, MA, USA, 2018a) for each scenario (YW peak and trough, LMS peak and trough). The time lag due to the Performance real-time target machine is approximately 10 ms, while the time lag due to the NeurOne is approximately 4 ms.

2.2. Algorithm

The ultimate goals of this study were the real-time phase estimation of alpha rhythms and phase-dependent triggering. The instantaneous phase prediction algorithm can be divided into four distinct parts: YW peak prediction, YW trough prediction, LMS peak prediction, and LMS trough prediction. Each part was further divided into the following sequential steps, except for step 4, which differs between the YW-based and LMS-based AR models. A distinct Simulink real-time model (“MATLAB experimental control scripts PC” block in Figure 1, part b) was designed for each one of the four methods and implemented in the Performance real-time target machine.
  • In each Simulink model, the raw EEG data are received as analog input via IO109 at a sample rate of 2 kHz and are downsampled to 500 Hz.
  • The data are then delayed by 500 samples, and the mean of the data is calculated and subtracted from the original data. The data are then sent to the next step for filtering.
  • The third step implements bandpass filtering. A two-pass finite impulse response (FIR) bandpass filter (filter order 128) with an 8–13 Hz frequency range is applied to the data, and the edges are removed.
  • The fourth step is forward prediction. After trimming 85 samples from both sides, the remaining 330 samples are then used for forward prediction (85 samples). The YW forward prediction algorithm predicts the future and computes coefficients using Yule–Walker equations, whereas the LMS forward prediction algorithm uses an adaptive method to compute coefficients and then uses them in the AR equation. This step results in a predicted signal as an output. The model order for both methods is 30.
  • The Hilbert transform is performed on resulting forward-predicted EEG data to determine the instantaneous phase at “time-zero”.
  • The zero-phase crossing (a predetermined phase is crossed, with 0 and pi rad portraying positive and negative peaks, respectively) is monitored online, and a TTL signal is sent from the Performance real-time target machine via digital output module (IO203) and serial port (RS232). The Performance real-time target machine sends the TTL signal to the EEG recording PC via IO203, while at the same time, the TTL signal is sent via RS232 to the visual stimulus generating PC.
The next subsections briefly explain the AR model, LMS, instantaneous phase, and phase-locking factor.

2.3. Autoregressive (AR) Model

AR modeling has been effectively utilized in various EEG analysis applications, such as forecasting [20,21], segmentation, and speech analysis [22]. AR modeling shows great results for the power spectrum estimation of short-duration EEG data because of its low vulnerability toward false results [20]. Numerous algorithms can be used to calculate the AR model coefficients, including the Yule–Walker and Burg lattice algorithms.
An AR model of order K is a random process defined as follows [14]:
x ( t + 1 ) = k = 0 K 1 α k   x ( t k ) + ε t ,
where α 0 , …, α K 1 are the coefficients of the AR model; K is the model order; and ε t is white noise.

2.4. Least Mean Square (LMS)

In 1960, Hoff and Widrow developed the LMS algorithm. LMS uses a stochastic gradient method to solve the least square issue. The equations that establish the adaptive LMS algorithm are defined as follows [23]:
X ( t ) = [ x ( t ) ,   x ( t 1 ) ,   x ( t 2 ) , , x ( t K + 1 ) ] T ,
A ( t ) = [ a 0 ( t ) ,   a 1 ( t ) , , a K 1   ( t ) ] T ,
y ( t ) = A T ( t ) X ( t ) ,
e ( t ) = x ( t + 1 ) y ( t ) ,
A ( t + 1 ) = A ( t ) + 2 μ e ( t ) X ( t ) ,
where x ( t ) is an input signal at sample t, y ( t ) is output, e ( t ) is an error, A ( t ) is the filter weight, μ is the step size, and K is the filter order. The bold variables represent vectors.
For simplicity, in the remaining text, we will use YW to refer to the YW-based AR model and LMS to refer to the LMS-based AR model.

2.5. Instantaneous Frequency, Phase

To calculate the instantaneous phase, the analytic signal is created by joining the original data with its Hilbert transform [24]. The analytic signal z x ( t ) , which is a complex signal of time t can be created as follows:
z x ( t ) = x ( t ) + j H { x ( t ) } ,
where x ( t ) is the real signal, and H { x ( t ) } is the Hilbert transform of the real signal, which is defined as follows:
H { x ( t ) } = 1 π     P . V . x ( τ ) t τ   d τ ,
where P . V . indicates Cauchy’s principal value. The instantaneous phase of the signal can be found from the complex analytic signal as follows:
θ ( t ) = arg z x ( t ) .

2.6. Participants

A total of nine volunteers (three males and six females; mean age 32.1 years ± 6.6 (standard deviation [SD])) with normal or corrected-to-normal vision were recruited to this study and provided informed consent for the EEG experiments. The study was approved by the ethics committee of RIKEN. Data from the first three participants were recorded using the DC mode of the Tesla amplifier, while data from the rest of the participants were recorded using the AC mode. The participant data recorded using the DC mode was noisier than that recorded using the AC mode, which resulted in quite low amplitude output signals. The AC mode has a higher signal-to-noise ratio than the DC mode and uses a low pass filter of 0.16 Hz, which leads to higher amplification of data for subsequent analysis. The prediction accuracy was highly affected by the signal-to-noise ratio, and therefore only the participant data collected using the AC mode were used for further analyses. A spectral analysis was performed on the remaining six participants to estimate the power in the alpha rhythm range (8–13 Hz).

2.7. Experiment

The experiment incorporated visual stimulation blocks and eyes-open resting blocks. Participants were asked to avoid eye blinks, eye movements, and jaw clenching. The whole experiment was divided into two sessions, each with ten blocks presented in random order, with these ten blocks consisting of five resting and five visual blocks. In both sessions, the ten blocks were linked with conditions, namely Resting, Visual Random, Resting YW (peak, trough), Resting LMS (peak, trough), Visual YW (peak, trough), and Visual LMS (peak, trough), as shown in Figure 2a. Results were analyzed from blocks 2–5 and blocks 7–10. The total experiment took 1 h and 10 min, including small breaks between blocks. There were 90 trials each block for the resting condition and 108 trials for the visual stimulation condition, as shown in part c of Figure 2. The visual experiment consisted of normal trials and response trials. Visual stimuli were shown on an LCD monitor (BenQ XL2420; BenQ Corporation, Taipei, Taiwan; refresh rate: 144 Hz; resolution: 1920 × 1080), with a chin rest placed 100 cm from the monitor being used to maintain head position. The checkerboard stimuli (visual angle of 8.8°) consisted of 49 black-and-white squares (7 by 7) with a fixation cross at the center. The color of the grids was temporally modulated between black and white (luminance of black: 9.18 cd/m2; white: 152.2 cd/m2). The fixation cross was colored gray in regular trials and red in response trials. Participants were instructed to press the left mouse button as soon as they saw a red fixation cross. The visual and resting tasks were implemented using NBS Presentation Version 20.0 (Neurobehavioral Systems Inc., Albany, CA, USA). In addition to the visual experiment, EEG signals were also measured for the resting scenario, while participants rested with their eyes open looking passively at the fixation cross displayed in the center of the screen part b Figure 2.

2.8. EEG Recording and Preprocessing

The 63-channel EEG signals were recorded at a sampling rate of 20 kHz using two Tesla amplifiers and an actiCAP slim EEG cap. Online low and high cutoff frequencies for the EEG amplifier were set to 0.16 Hz and 3500 Hz, respectively. Electrodes were positioned according to the 10/10 system, with electrode AFz as the ground electrode and the left earlobe as the reference electrode. For offline analysis, EEG signals were re-referenced to the average of the right and left earlobe and downsampled to 500 Hz. Only the downsampled signal was used to calculate the phase-triggered response (PTR), whereas, for the phase-locking factor (PLF) and instantaneous phase calculation, a two-pass FIR bandpass filter (8–13 Hz) with a filter order of 128 was applied to the EEG signals. All analysis was performed in MATLAB R2018a (MathWorks Inc., Natick, MA, USA) using EEGLAB [25] and a personalized script.

2.9. Statistical Analysis

All statistical analyses were performed using MATLAB and the Statistics and Machine Learning Toolbox, with p < 0.05 being set as the level of statistical significance.

3. Results

The main aim of the current study was to implement an adaptive LMS model in real-time as well as a conventional YW model for individual participants. We divided the results into two subsections: “resting” (focusing on resting with eyes open) and “visual” (based on the visual stimulus task). To check the performance of both YW and LMS methods, the PLF at time-zero was assessed.

3.1. Phase-Locking Factor

The PLF was defined as follows:
P L F = 1 N |   n = 1 N e j θ n | ,
where θ n is the instantaneous phase at time-zero for the nth trial, and N is the total number of trials. A PLF closer to zero indicates high phase variability across trials, while a PLF closer to 1 depicts all trials as having the same phase. It should be noted that the phase variance is 1-PLF [26].
The statistical significance of the PLF can be tested by a Rayleigh test to calculate ZPLF [26,27], which is Rayleigh’s Z value computed using PLF as follows:
Z P L F = N ( P L F ) 2 .
To assess the statistical significance of the participant-averaged ZPLF values, the value was corrected to Z P L F a l l :
Z P L F a l l = 1 M m = 1 M Z P L F m ,
where M is the number of participants [28].
To evaluate the difference between YW and LMS within each participant, we also examined Watson’s U2 test for each of the two conditions (resting and visual), according to the method proposed by Persson [29]. If the calculated U2 is larger than the critical value, the two sample circular distributions differ significantly from each other. For the current study, the critical value U2 (∞, ∞; p < 0.05) = 0.187. As this test compares both the phase variance and the average of the phase angular data, the effects of the difference in average phase angles were removed by shifting the phase according to the following [30]:
θ n e w = θ φ ,
C = 1 N n = 1 N cos θ n ,
S = 1 N n = 1 N sin θ n ,
where θ is the vector of instantaneous phases at zero ms, and [ θ 1 ,   ,   θ N ] , φ = t a n 1 ( S / C ) , and θ n e w are used in the calculation of Watson’s U2 test.
Using this transformation, we can compare the differences in phase variance between the two circular distributions.

3.2. Phase-Triggered Response (PTR)

PTR is defined as the grand-average of triggered EEG signals from distinct trials within each participant.
P T R ( s ) = 1 N n = 1 N S n ( s ) ,
where S n is the downsampled EEG signal for the nth trial as a function of the sample point s within each trial extracted based on the trigger at time zero, which are generated by the phase prediction methods. s ranges between 0 and 1000 centered around time-zero, N is the total number of trials for each participant.
PTR is calculated similarly to event-related potentials (ERP), but it does not depend on the external stimulus (such as visual or auditory stimuli) and uses a generated trigger based on the EEG phase. It is a measure for checking the prediction performance.

3.3. Resting Conditions

The results of ZPLF and PTR for the resting condition are shown in Figure 3. ZPLF and PTR are shown individually for the five participants. The bold black lines in Figure 3a–d indicate ZPLFall. For a number of trials >60, a ZPLF > 2.995 (which is called the critical value) is considered statistically significant. ZPLFall is also statistically significant if it exceeds the critical value. The small square box on the ZPLFall line represents time-zero. In parts a–d, ZPLFall crosses the critical value indicated as a dotted red line. We found that ZPLF and ZPLFall were statistically significant for all participants except for the YW trough condition in participant P01. Our results are in accord with previous studies showing a ZPLF decrease when time increases [19,31]. Figure 3e–h shows the PTR for individual participants. In the PTR plots, the squares for time-zero are observed at the peak for the peak condition and the trough for the trough condition. The bold black lines show the mean PTR.
Rose plots for each participant are shown in Figure 4. For the peak condition, these rose plots show an accumulation of values toward 0 rad, while for the trough condition, the rose plots show an accumulation toward pi rad. The summarized results of PLF and ZPLF and their mean ± SD are shown in Table 1. The bold values indicate significantly higher ZPLF compared to a critical value of 2.995. Moreover, the ZPLFs of all participants crossed the critical value at time-zero, except for the YW trough condition of participant P01, as shown in Figure 3c. The mean angle in radians and Watson’s U2 test results are shown in Table 2. The bold values indicate where the calculated U2 values are greater than the critical value, and the differences in the two-phase variances are statistically significant. For participants P01 and P02, the LMS trough performed better than the YW trough. For participant P03, the LMS peak performed better than the YW peak condition. For participant P04, the YW trough surpassed the LMS trough. No significant difference was shown in the results of participant P05 indicating both methods YW and LMS performed equally at time-zero.
Taken together, the results suggest that we succeeded in outputting triggers targeting specific phases of alpha oscillations in a real-time implementation under resting conditions, doing this with both YW-based and LMS-based AR models.

3.4. Visual Condition

The results of ZPLF and PTR for the visual condition are shown in Figure 5. We observed two peaks in ZPLF for the visual condition, with the second peak corresponding to the visual response around 100 ms. The small black square in Figure 5 shows time-zero. Rose plots for the visual condition are presented in Figure 6. For the peak condition, the rose plots are somewhat inclined toward the right side (0 degrees), but for the trough condition, there is not a clear inclination toward the left side. For participant P01, the rose plots do not show any leaning toward the left side. The summarized PLF, ZPLF, mean angle, and Watson’s U2 test results for the visual task are shown in Table 3 and Table 4. All participants showed significant ZPLF values for each method and each condition. No significant difference was observed for any condition in participants P04 and P05. For participants P01 and P03, the LMS trough surpassed the YW trough, but for participant P02, the YW trough was better than the LMS trough, as shown by the bold Watson U2 test values.
The results suggest that we succeeded in giving visual stimulation targeting specific phases of alpha oscillations in a real-time implementation, doing this with both YW-based and LMS-based AR models and that we observed the stimulation-induced brain responses.
The results of both resting and visual tasks in terms of percentage and the total number of participants who showed the significant ZPLF are summarized in Table 5. ZPLF value > 2.995 is considered to be significant. Significant ZPLF means that we achieved the desired result of outputting the triggers targeting a specific phase of alpha oscillations. For the resting peak condition, all participants showed significant ZPLF values for both methods. For the trough condition, all participants indicated the significant ZPLF for LMS and only one participant did not show the significant ZPLF value for the YW method. In the visual task, results indicate that all participants in both methods and all conditions crossed significant ZPLF value. Taken together, all the results indicate that we succeeded in outputting the triggers targeting specific phases of alpha oscillations in a real-time implementation, doing this with both YW-based and LMS-based AR models except for one participant in one condition.

4. Discussion

Our study implemented, for the first time, real-time EEG phase-dependent triggers for visual stimulation using EEG signals from the human occipital cortex (channel Oz). These triggers were based on a novel adaptive LMS-based AR model as well as the conventional YW-based AR model. The primary purpose of our study was to investigate the possibility of a real-time implementation of a closed-loop system based on the adaptive LMS-based method, which we previously proposed and demonstrated by analyzing offline data [19]. Earlier studies employed the complex wavelet transform [32] or the Hilbert–Huang transform [33,34] to extract the frequency and phase information from EEG. However, the application of these methods is limited because of the future prediction of nonstationary data. Although the conventional YW-based AR model can resolve the EEG time-series’ prediction, it presumes the stationarity of signals over a certain period and is, therefore, less appropriate for closed-loop and real-time applications for nonstationary time-series data such as EEG. By contrast, our previously proposed adaptive method depends on recurrent updates to cater for the non-stationarity of EEG signals, thereby making adjustments to dynamic changes while predicting the future signal. The results of this proof-of-concept study provide empirical evidence that the adaptive method is implementable in a real-time situation.
We found individual differences in the performance of the closed-loop system and results are presented individually at time-zero. In the resting condition, all participants showed significant ZPLF for both methods (peak and trough conditions), except for the trough condition in the YW-based method for participant P01. In the visual conditions, all participants showed significant ZPLF for each condition in both methods. Participant P05 showed no significant difference between any of the conditions, indicating that both methods performed equally for this participant. These results suggest that although there are individual differences in the predictability of EEG phases, the proposed method performed well in outputting the stimulation triggers for most participants.
In a previous study [19], we showed the advantage of our LMS-based method over the YW-based method in alpha-band EEG phase prediction using offline analyses. However, we could not provide evidence of the superiority of the adaptive LMS-based method at time-zero because of the small number of participants, which led to difficulty in making a clear comparison. Although the real-time implementation of the adaptive method was our aim, one limitation of this study is that technical issues in the DC mode of the EEG amplifiers meant that only data from five participants for whom the AC mode was used were analyzed for the real-time closed-loop system. Therefore, further studies will need to clarify whether the adaptive proposed method outperforms the conventional non-adaptive method in a real-time implementation. This is important because there can be technical issues that are specific to real-time implementation.
Our results show that we succeeded in measuring brain responses with respect to triggered visual stimulation. Although our study applied visual stimulation only, there is the possibility of using the adaptive method to trigger TMS and other NIBS techniques.
One advantage of our proposed method is the low computational cost. Some prior studies focused on using machine learning methods for phase estimation, and a variety of machine learning techniques, particularly deep learning, have been applied in brain-computer interface (BCI) systems [18,35,36]. The main drawback of such procedures is the demand for preliminary data for training prior to the principal experiment. Because of the absence of future information in real-time phase estimation, the trained filters rely on the properties and quality of the signal, and as a consequence, the technique does not perform unbiased phase estimation. Deep learning techniques, while being highly efficient, still need an abundant amount of data for training and a large amount of processing power, and are thus expensive to implement. By contrast, our proposed method does not require extensive training and computational cost.
We propose that our method can be applied not only to targeting in basic neuroscience (for example, the functional role of neural oscillations) but also to clinical fields. In the last decade, substantial progress has been made in invasive brain stimulation that dynamically responds to the presence of divergent neural activity [37,38]. For example, in a small group of Parkinson’s disease patients, deep brain stimulation resulted in clinical improvements of approximately 30% compared to a standard open-loop system [39]. When required, a closed-loop stimulation device might deliver stimulation more proficiently by performing stimulation only when brain function is damaged or shows abnormal neural activity [40] and synchronizing each stimulus with the patient’s instantaneous brain state. State-dependent brain stimulation has therapeutic potential for brain disorders like epilepsy, schizophrenia, Parkinson’s disease, and stroke. Further studies will involve implementing the adaptive method in a TMS-EEG real-time scenario and exploring new prospects for alpha and other oscillations.

5. Conclusions

We have presented here a real-time closed-loop system that implements both an adaptive LMS-based AR model and a conventional YW-based AR model. This system consists of a time-series forward prediction and phase-locked visual stimulation. Brain state-dependent, EEG triggered visual stimulation was applied and synchronized with the EEG peaks and troughs of alpha oscillations in both a resting state (open eyes) and a visual task. Our results indicate that we succeeded in outputting triggers targeting specific phases of alpha oscillations in a real-time implementation, doing this with both YW-based and LMS-based AR models. Our adaptive approach for EEG phase estimation relies on predictions of instantaneous alpha oscillations, does not depend on the knowledge of the exact stochastic signal, and tracks the variation in the EEG signal by dynamically adjusting its coefficients. Although we have focused only on alpha oscillations, this system can also be employed to analyze oscillations in other frequency bands. This novel implementation may lead to EEG instantaneous phase prediction with low computational cost and provide versatile applications in basic and clinical neurosciences.

Author Contributions

Conceptualization, A.S., T.T., and K.K.; methodology, T.T. and K.K.; software, A.S., T.O.; validation, A.S., T.O., and K.K.; formal analysis, A.S.; investigation, A.S.; resources, K.K.; data curation, A.S., T.O., and K.K.; writing—original draft preparation, A.S.; writing—review and editing, A.S., T.O., T.T., and K.K.; visualization, A.S., T.O.; supervision, T.T. and K.K.; project administration, K.K.; funding acquisition, K.K. All authors have read and agreed to the published version of the manuscript.

Funding

The project was supported by a research grant from Toyota Motor Corporation and the Special Postdoctoral Research Program at RIKEN.

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki, and approved by the Ethics Committee of RIKEN (protocol code: Wako3 30-8(3) approval on the 23 November 2019).

Informed Consent Statement

The informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data and code used to support the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

We thank Kaori Maeda for supporting experiments.

Conflicts of Interest

K.K. has received a research grant from Toyota Motor Corporation. A.S., T.O., and T.T. declare no conflict of interest.

References

  1. Ziemann, U.; Reis, J.; Schwenkreis, P.; Rosanova, M.; Strafella, A.; Badawy, R.; Müller-Dahlhaus, F. TMS and drugs revisited 2014. Clin. Neurophysiol. 2015, 126, 1847–1868. [Google Scholar] [CrossRef] [PubMed]
  2. Hallett, M. Transcranial magnetic stimulation and the human brain. Nature 2000, 406, 147–150. [Google Scholar] [CrossRef] [PubMed]
  3. Zrenner, C.; Belardinelli, P.; Müller-Dahlhaus, F.; Ziemann, U. Closed-loop neuroscience and non-invasive brain stimulation: A tale of two loops. Front. Cell. Neurosci. 2016, 10, 92. [Google Scholar] [CrossRef] [PubMed]
  4. Ilmoniemi, R.J.; Kičić, D. Methodology for combined TMS and EEG. Brain Topogr. 2010, 22, 233–248. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Müller-Dahlhaus, F.; Vlachos, A. Unraveling the cellular and molecular mechanisms of repetitive magnetic stimulation. Front. Mol. Neurosci. 2013, 6, 50. [Google Scholar] [CrossRef] [Green Version]
  6. Mutanen, T.; Nieminen, J.O.; Ilmoniemi, R.J. TMS-evoked changes in brain-state dynamics quantified by using EEG data. Front. Hum. Neurosci. 2013, 7, 155. [Google Scholar] [CrossRef] [Green Version]
  7. Buzsáki, G.; Draguhn, A. Neuronal oscillations in cortical networks. Science 2004, 304, 1926–1929. [Google Scholar] [CrossRef] [Green Version]
  8. Gharabaghi, A.; Kraus, D.; Leao, M.T.; Spüler, M.; Walter, A.; Bogdan, M.; Rosenstiel, W.; Naros, G.; Ziemann, U. Coupling brain-machine interfaces with cortical stimulation for brain-state dependent stimulation: Enhancing motor cortex excitability for neurorehabilitation. Front. Hum. Neurosci. 2014, 8, 122. [Google Scholar] [CrossRef] [Green Version]
  9. Bundy, D.T.; Wronkiewicz, M.; Sharma, M.; Moran, D.W.; Maurizio, C.; Eric, C.L. Using ipsilateral motor signals in the unaffected cerebral hemisphere as a signal platform for brain–computer interfaces in hemiplegic stroke survivors. J. Neural. Eng. 2012, 9, 036011. [Google Scholar] [CrossRef] [Green Version]
  10. Pfurtscheller, G.; Neuper, C. Dynamics of sensorimotor oscillations in a motor task. In Brain-Computer Interfaces; Springer: Berlin/Heidelberg, Germany, 2009; pp. 47–64. [Google Scholar] [CrossRef]
  11. Kraus, D.; Naros, G.; Bauer, R.; Maria Teresa, L.; Ziemann, U.; Gharabaghi, A. Brain–robot interface driven plasticity: Distributed modulation of corticospinal excitability. Neuroimage 2016, 125, 522–532. [Google Scholar] [CrossRef]
  12. Ramos-Murguialday, A.; Broetz, D.; Rea, M.; Läer, L.; Yilmaz, O.; Brasil, F.L.; Liberati, G.; Curado, M.R.; Garcia-Cossio, E.; Vyziotis, A.; et al. Brain–machine interface in chronic stroke rehabilitation: A controlled study. Ann. Neurol. 2013, 74, 100–108. [Google Scholar] [CrossRef] [PubMed]
  13. Buetefisch, C.; Heger, R.; Schicks, W.; Seitz, R.; Netz, J. Hebbian-type stimulation during robot-assisted training in patients with stroke. Neurorehabil. Neural. Repair 2011, 25, 645–655. [Google Scholar] [CrossRef] [PubMed]
  14. Chen, L.L.; Madhavan, R.; Rapoport, B.I.; Anderson, W.S. Real-time brain oscillation detection and phase-locked stimulation using autoregressive spectral estimation and time-series forward prediction. IEEE Trans. Biomed. Eng. 2011, 60, 753–762. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Zrenner, C.; Desideri, D.; Belardinelli, P.; Ziemann, U. Real-time EEG-defined excitability states determine efficacy of TMS-induced plasticity in human motor cortex. Brain Stimul. 2018, 11, 374–389. [Google Scholar] [CrossRef] [PubMed]
  16. Zrenner, C.; Galevska, D.; Nieminen, J.O.; Baur, D.; Stefanou, M.I.; Ziemann, U. The shaky ground truth of real-time phase estimation. Neuroimage 2020, 214, 116761. [Google Scholar] [CrossRef] [PubMed]
  17. Roux, S.G.; Cenier, T.; Garcia, S.; Litaudon, P.; Buonviso, N. A wavelet-based method for local phase extraction from a multi-frequency oscillatory signal. J. Neurosci. Methods 2007, 160, 135–143. [Google Scholar] [CrossRef] [Green Version]
  18. McIntosh, J.R.; Sajda, P. Estimation of phase in EEG rhythms for real-time applications. J. Neural. Eng. 2020, 17, 034002. [Google Scholar] [CrossRef] [Green Version]
  19. Shakeel, A.; Tanaka, T.; Kitajo, K. Time-series prediction of the oscillatory phase of EEG signals using the least mean square algorithm-based AR model. Appl. Sci. 2020, 10, 3616. [Google Scholar] [CrossRef]
  20. Pardey, J.; Roberts, S.; Tarassenko, L. A review of parametric modelling techniques for EEG analysis. Med. Eng. Phys. 1996, 18, 2–11. [Google Scholar] [CrossRef]
  21. Tseng, S.Y.; Chen, R.C.; Chong, F.C.; Kuo, T.S. Evaluation of parametric methods in EEG signal analysis. Med. Eng. Phys. 1995, 17, 71–78. [Google Scholar] [CrossRef]
  22. Koo, B.; Gibson, J.D.; Gray, S.D. Filtering of colored noise for speech enhancement and coding. In Proceedings of the International Conference on Acoustics, Speech, and Signal Processing, Glasgow, UK, 23–26 May 1989; Volume 39, pp. 1732–1742. [Google Scholar] [CrossRef]
  23. Poularikas, A.D.; Ramadan, Z.M. Adaptive Filtering Primer with MATLAB, 1st ed.; CRC Press: Boca Raton, FL, USA, 2006; pp. 101–135. [Google Scholar]
  24. Boashash, B. Estimating and interpreting the instantaneous frequency of a signal. Fundam. Proc. IEEE 1992, 80, 520–538. [Google Scholar] [CrossRef]
  25. Delorme, A.; Makeig, S. EEGLAB: An open source toolbox for analysis of single-trial EEG dynamics including independent component analysis. J. Neurosci. Methods 2004, 134, 9–21. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  26. Fisher, N.I. Statistical Analysis of Circular Data; Cambridge University Press: Cambridge, UK, 1995; pp. 69–70. [Google Scholar] [CrossRef]
  27. Mathewson, K.E.; Gratton, G.; Fabiani, M.; Beck, D.M.; RO, T. To see or not to see: Prestimulus α phase predicts visual awareness. Neurosci. Res. 2009, 29, 2725–2732. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  28. Mazaheri, A.; Jensen, O. Posterior α activity is not phase-reset by visual stimuli. Proc. Natl. Acad. Sci. USA 2006, 103, 2948–2952. [Google Scholar] [CrossRef] [Green Version]
  29. Persson, T. A new way to obtain Watson’s U2. Scand. Stat. Theory Appl. 1979, 6, 119–122. [Google Scholar]
  30. Ueda, K.I.; Nishiura, Y.; Kitajo, K. Mathematical mechanism of state-dependent phase resetting properties of alpha rhythm in the human brain. Neurosci. Res. 2020, 156, 237–244. [Google Scholar] [CrossRef]
  31. Zarubin, G.; Gundlach, C.; Nikulin, V.; Bogdan, M. Real-time phase detection for EEG-based tACS closed-loop system. In Proceedings of the 6th International Congress on Neurotechnology, Electronics and Informatics, Seville, Spain, 20–21 September 2018; Volume 1, pp. 13–20. [Google Scholar] [CrossRef]
  32. Le Van Quyen, M.; Foucher, J.; Lachaux, J.P.; Rodriguez, E.; Lutz, A.; Martinerie, J.; Varela, F.J. Comparison of Hilbert transform and wavelet methods for the analysis of neuronal synchrony. J. Neurosci. Methods 2001, 111, 83–98. [Google Scholar] [CrossRef]
  33. Bajaj, V.; Pachori, R.B. Separation of rhythms of EEG signals based on Hilbert-Huang transformation with application to seizure detection. In Proceedings of the International Conference on Hybrid Information Technology, Daejeon, Korea, 23–25 August 2012; Volume 7425, pp. 493–500. [Google Scholar] [CrossRef]
  34. Lin, C.F.; Zhu, J.D. Hilbert–Huang transformation-based time-frequency analysis methods in biomedical signal applications. Proc. Inst. Mech. Eng. Part H J. Eng. Med. 2012, 226, 208–216. [Google Scholar] [CrossRef]
  35. Oh, S.L.; Hagiwara, Y.; Raghavendra, U.; Yuvaraj, R.; Arunkumar, N.; Murugappan, M.; Acharya, U.R. A deep learning approach for Parkinson’s disease diagnosis from EEG signals. Neural. Comput. Appl. 2018, 32, 10927–10933. [Google Scholar] [CrossRef]
  36. Li, F.; Li, X.; Wang, F.; Zhang, D.; Xia, Y.; He, F. A novel P300 classification algorithm based on a principal component analysis-convolutional neural network. Appli. Sci. 2020, 10, 1546. [Google Scholar] [CrossRef] [Green Version]
  37. Rosin, B.; Slovik, M.; Mitelman, R.; Rivlin-Etzion, M.; Haber, S.N.; Israel, Z.; Vaadia, E.; Bergman, H. Closed-loop deep brain stimulation is superior in ameliorating parkinsonism. Neuron 2011, 72, 370–384. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  38. Little, S.; Brown, P. What brain signals are suitable for feedback control of deep brain stimulation in Parkinson’s disease? Ann. N. Y. Acad. Sci. 2012, 1265, 9–24. [Google Scholar] [CrossRef]
  39. Little, S.; Pogosyan, A.; Neal, S.; Zavala, B.; Zrinzo, L.; Hariz, M.; Foltynie, T.; Limousin, P.; Ashkan, K.; Fitzgerald, J.; et al. Adaptive deep brain stimulation in advanced Parkinson disease. Ann. Neurol. 2013, 74, 449–457. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  40. Sun, F.T.; Morrell, M.J. Closed-loop neurostimulation: The clinical experience. Neurotherapeutics 2014, 11, 553–563. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. A schematic diagram of the real-time closed-loop system. (a) shows an implementation of a closed-loop brain state-dependent visual stimulation setup comprising electroencephalography (EEG), real-time signal processing, and triggered visual stimulation. The visual stimulation is locked to the instantaneous phase of the recorded EEG signal in the alpha band either at the peak or the trough. (b) shows sequential steps for time-series forward prediction implemented through MATLAB experimental control scripts PC via four distinct Simulink real-time models (Yule–Walker (YW) peak, YW trough, least mean square (LMS) peak, LMS trough). Raw EEG data were downsampled first, followed by finite impulse response (FIR) bandpass filtering. Coefficients of the autoregressive (AR) models were calculated, and the EEG signal was forward predicted. After time-series forward prediction based on YW/LMS methods, the instantaneous phase (at time-zero”) was estimated using Hilbert transform. The visual stimulation was then triggered when a pre-set phase (peak or trough) condition was met.
Figure 1. A schematic diagram of the real-time closed-loop system. (a) shows an implementation of a closed-loop brain state-dependent visual stimulation setup comprising electroencephalography (EEG), real-time signal processing, and triggered visual stimulation. The visual stimulation is locked to the instantaneous phase of the recorded EEG signal in the alpha band either at the peak or the trough. (b) shows sequential steps for time-series forward prediction implemented through MATLAB experimental control scripts PC via four distinct Simulink real-time models (Yule–Walker (YW) peak, YW trough, least mean square (LMS) peak, LMS trough). Raw EEG data were downsampled first, followed by finite impulse response (FIR) bandpass filtering. Coefficients of the autoregressive (AR) models were calculated, and the EEG signal was forward predicted. After time-series forward prediction based on YW/LMS methods, the instantaneous phase (at time-zero”) was estimated using Hilbert transform. The visual stimulation was then triggered when a pre-set phase (peak or trough) condition was met.
Jpm 11 00038 g001
Figure 2. Overview of the experimental sessions and trials. (a) shows a session divided into resting (green) and visual (blue) tasks, each with five blocks. The instantaneous phase prediction algorithm was implemented utilizing four distinct models: YW peak, YW trough, LMS peak, and LMS trough. “Peak” means a positive peak or 0 rad, while “trough” depicts a negative peak or pi rad. (b) shows an eye-open resting condition. (c) shows trials of the visual stimulus condition. The visual stimulus task includes passive and response trials. The stimulus comprised of a checkerboard with a gray fixation cross at the center in passive trials. While response trials are shown with a red fixation cross at the center. Each trial took an average of 1.05 s.
Figure 2. Overview of the experimental sessions and trials. (a) shows a session divided into resting (green) and visual (blue) tasks, each with five blocks. The instantaneous phase prediction algorithm was implemented utilizing four distinct models: YW peak, YW trough, LMS peak, and LMS trough. “Peak” means a positive peak or 0 rad, while “trough” depicts a negative peak or pi rad. (b) shows an eye-open resting condition. (c) shows trials of the visual stimulus condition. The visual stimulus task includes passive and response trials. The stimulus comprised of a checkerboard with a gray fixation cross at the center in passive trials. While response trials are shown with a red fixation cross at the center. Each trial took an average of 1.05 s.
Jpm 11 00038 g002
Figure 3. Rayleigh’s Z value (ZPLF) and phase-triggered response (PTR) for the resting task for each participant. The bold lines depict ZPLFall or mean PTR. (a) ZPLF results for the individual participants for the YW method peak condition. (b) ZPLF results for the LMS method peak condition. (c) ZPLF results for the YW trough condition. (d) ZPLF for the LMS trough condition. (e) PTR for the YW peak condition. (f) PTR for the LMS peak condition. (g,h) PTR for the YW and LMS trough conditions, respectively. The red dashed lines in (ad) shows the critical value of 2.995. ZPLF larger than this critical value is considered to be statistically significant. The black lines in e–h indicate the mean PTR averaged across five participants. The small black square depicts the time-zero.
Figure 3. Rayleigh’s Z value (ZPLF) and phase-triggered response (PTR) for the resting task for each participant. The bold lines depict ZPLFall or mean PTR. (a) ZPLF results for the individual participants for the YW method peak condition. (b) ZPLF results for the LMS method peak condition. (c) ZPLF results for the YW trough condition. (d) ZPLF for the LMS trough condition. (e) PTR for the YW peak condition. (f) PTR for the LMS peak condition. (g,h) PTR for the YW and LMS trough conditions, respectively. The red dashed lines in (ad) shows the critical value of 2.995. ZPLF larger than this critical value is considered to be statistically significant. The black lines in e–h indicate the mean PTR averaged across five participants. The small black square depicts the time-zero.
Jpm 11 00038 g003
Figure 4. Rose plots for the resting conditions for each participant. The upper row (ae) shows the rose plots for each participant’s peak condition, while the lower row (fj) depicts the rose plot for the trough condition for each participant. The peach color indicates the YW method, while purple indicates the LMS method. The violet color depicts the overlapping region. For the peak condition, the rose plots are inclined towards 0 rad and for the trough condition, the rose plots show an inclination towards pi rad.
Figure 4. Rose plots for the resting conditions for each participant. The upper row (ae) shows the rose plots for each participant’s peak condition, while the lower row (fj) depicts the rose plot for the trough condition for each participant. The peach color indicates the YW method, while purple indicates the LMS method. The violet color depicts the overlapping region. For the peak condition, the rose plots are inclined towards 0 rad and for the trough condition, the rose plots show an inclination towards pi rad.
Jpm 11 00038 g004
Figure 5. ZPLF and PTR for the visual task. (ad) show ZPLF results for both YW and LMS methods with peak and trough conditions, while (eh) show the phase-triggered response (PTR) for YW and LMS methods for the peak and trough conditions. ZPLF shows a second peak around 100 ms for the visual task. The small black square shows time-zero. The bold black signals in (eh) show the mean PTR averaged across five participants. The red dashed lines in (ad) shows the critical value of 2.995. ZPLF larger than this critical value is considered to be statistically significant.
Figure 5. ZPLF and PTR for the visual task. (ad) show ZPLF results for both YW and LMS methods with peak and trough conditions, while (eh) show the phase-triggered response (PTR) for YW and LMS methods for the peak and trough conditions. ZPLF shows a second peak around 100 ms for the visual task. The small black square shows time-zero. The bold black signals in (eh) show the mean PTR averaged across five participants. The red dashed lines in (ad) shows the critical value of 2.995. ZPLF larger than this critical value is considered to be statistically significant.
Jpm 11 00038 g005
Figure 6. Rose plots for the visual condition. The peak conditions for each participant are shown in the first row (ae), while the trough conditions are depicted in the second row (fj). For the peak condition, the rose plots are inclined towards 0 rad and for the trough condition, the rose plots show an inclination towards pi rad. (f) shows no tendency towards any phase angle.
Figure 6. Rose plots for the visual condition. The peak conditions for each participant are shown in the first row (ae), while the trough conditions are depicted in the second row (fj). For the peak condition, the rose plots are inclined towards 0 rad and for the trough condition, the rose plots show an inclination towards pi rad. (f) shows no tendency towards any phase angle.
Jpm 11 00038 g006
Table 1. Summary of the results of the resting condition. The number of trials, PLF, and ZPLF at time-zero are shown.
Table 1. Summary of the results of the resting condition. The number of trials, PLF, and ZPLF at time-zero are shown.
Resting
IDNumber of TrialsPLFZPLF
YW PeakLMS PeakYW TroughLMS TroughYW PeakLMS PeakYW TroughLMS TroughYW PeakLMS PeakYW TroughLMS Trough
P0135983156371032760.0570.0590.0190.04711.87211.1021.4327.378
P0234913093343330750.1040.1030.0750.12637.83132.89519.77851.678
P0331923038309929930.0900.1710.1550.14926.28389.70674.47466.55
P0432303089326830530.1010.1250.1460.10733.56948.52870.24135.50
P0533263159334031390.1460.1220.1550.13371.30747.38180.56655.752
Mean3367.4310733703107.20.1000.1160.1100.11336.17245.92249.29843.371
SD173.06850.955226.005107.8430.0310.0400.0600.03921.97828.75836.09923.005
Table 2. Mean angle and Watson U2 test results at time-zero for the resting condition.
Table 2. Mean angle and Watson U2 test results at time-zero for the resting condition.
Resting
IDMean Angle (rad)Watson U2
YW PeakLMS PeakYW TroughLMS TroughYW vs. LMS PeakYW vs. LMS Trough
P01−0.475−0.154−3.0092.5800.0591.125
P02−0.228−0.1082.8212.7610.0540.273
P03−0.350−0.3692.9232.9560.5700.099
P04−0.271−0.3372.9202.6130.0780.207
P05−0.216−0.3332.8722.8270.8870.064
Mean−0.297−0.2602.9612.747
Table 3. Summary of the results of the visual condition. The number of trials, PLF, and ZPLF at time-zero are shown.
Table 3. Summary of the results of the visual condition. The number of trials, PLF, and ZPLF at time-zero are shown.
Visual
IDNumber of TrialsPLFZPLF
YW PeakLMS PeakYW TroughLMS TroughYW PeakLMS PeakYW TroughLMS TroughYW PeakLMS PeakYW TroughLMS Trough
P0137803671378836460.2040.2640.0620.302158.59255.8314.760333.357
P0237723553377635750.1660.2070.0780.047105.10153.4323.0168.146
P0336303420376033850.1760.1070.0370.071112.7339.5005.32617.461
P0437453762347234610.1940.1500.1410.193142.0285.39769.912128.927
P0537743549377635880.2240.1620.0350.170190.2693.6994.871103.984
Mean3740.235913714.435310.1930.1780.0710.157141.74125.5723.577118.384
SD63.057130.47135.870105.6240.0220.0590.0430.10234.72083.34226.962131.216
Table 4. Visual condition results. The mean angle and Watson U2 test results for the visual condition at time-zero are shown.
Table 4. Visual condition results. The mean angle and Watson U2 test results for the visual condition at time-zero are shown.
Visual
IDMean Angle (rad)Watson U2
YW PeakLMS PeakYW TroughLMS TroughYW vs. LMS PeakYW vs. LMS Trough
P010.4780.1580.7080.4490.0540.338
P02−0.481−0.407−2.030−1.0900.0310.951
P03−0.169−0.1172.643−2.1120.0460.554
P04−0.655−0.603−2.810−3.0670.0640.069
P05−0.883−0.657−2.673−2.1670.0930.151
Mean−0.355−0.327−2.918−1.882
Table 5. Overview of resting and visual task results. Percentage and the total number of participants showing a significant ZPLF value for each condition.
Table 5. Overview of resting and visual task results. Percentage and the total number of participants showing a significant ZPLF value for each condition.
Total Participants = 5RestingVisual
YW PeakLMS PeakYW TroughLMS TroughYW PeakLMS PeakYW TroughLMS Trough
Participants5/55/54/55/55/55/55/55/5
Percentage100%100%80%100%100%100%100%100%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Shakeel, A.; Onojima, T.; Tanaka, T.; Kitajo, K. Real-Time Implementation of EEG Oscillatory Phase-Informed Visual Stimulation Using a Least Mean Square-Based AR Model. J. Pers. Med. 2021, 11, 38. https://doi.org/10.3390/jpm11010038

AMA Style

Shakeel A, Onojima T, Tanaka T, Kitajo K. Real-Time Implementation of EEG Oscillatory Phase-Informed Visual Stimulation Using a Least Mean Square-Based AR Model. Journal of Personalized Medicine. 2021; 11(1):38. https://doi.org/10.3390/jpm11010038

Chicago/Turabian Style

Shakeel, Aqsa, Takayuki Onojima, Toshihisa Tanaka, and Keiichi Kitajo. 2021. "Real-Time Implementation of EEG Oscillatory Phase-Informed Visual Stimulation Using a Least Mean Square-Based AR Model" Journal of Personalized Medicine 11, no. 1: 38. https://doi.org/10.3390/jpm11010038

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop