EEG data can be recorded with many different file types depending on the instrument and the institution. The file type in this research that we will be working with is the simple text file containing EEG data.
The first thing after we import our EEG data is to apply preprocessing techniques to the data. This way we can ensure that we only keep the important information from the neural activity rather than the information generated from artifacts. The most common artifacts presented in EEG data are eye blinks and 60Hz power line interference as shown in figure below.
To detect the 60Hz power line interference, the most intuitive way is to generate the spectrogram of the signal and detect the peak in 60Hz frequency component of the plot. The simplest way to remove this artifact is to apply the notch filter removing the 60Hz frequency component of the EEG signal.
The detection of eye blinks are more difficult. The way to identify eye blink patterns from the EEG data requires experience and an advice from experts. The simple way to detect eye blinks are to match the time stamp of the video recording of the patient to the EEG data. To remove eye blink artifact, we will apply Independent Component Analysis (ICA) to the data. The ICA technique attempt to un-mix the data according to its sources.
Image source: https://www.hindawi.com/journals/isrn/2011/672353/fig1/
After applying ICA to the data that we import, we can generate plots for each of the ICA components from the EEG data as shown in the figure below. From the plot, we can select the components that we want to remove from the EEG data and zero out the components that we wish to remove. In this case, we will remove components number #IC17 and #IC18 from the data where we think that these components are artifacts. Then we reconstruct the cleaned EEG data from the remaining ICA components.
Figures below show the difference between original EEG data (left side) and the data that we applied preprocessing techniques to it (right side). We can see that the artifacts were removed and now the data is ready for our next steps.
For more such intel IoT resources and tools from Intel, please visit the Intel® Developer Zone
Other Popular Deals
- The 10 best job hunting apps on AndroidTop 10 Android launchers (June 2017)
- The 10 scariest horror games on AndroidAndroid app stores: 5 best alternatives to Google Play Store
- Best Android apps for rooted devices18 apps for a memorable Valentine's Day
- Top 15 Android games that you should playThe 20 best looking games for mobile phones
- 8 Android apps to tickle your funny bone17 must have apps for any Android device (plus alternatives)
- 5 apps to get the Android Lollipop look on your smartphoneTake control of your Android device with these apps
- 7 weird and strange apps for your Smartphone10 neat Google apps you may not know of
- Perfect Viewer10 essential Indian apps for Android devices