Science topics: MedicineNeurologyEEG
Science method

EEG - Science method

Explore the latest questions and answers in EEG, and find EEG experts.
Questions related to EEG
  • asked a question related to EEG
Question
2 answers
I am working on a study that involves collecting synchronized EEG and eye-tracking data integrated within the iMotions software to examine cognitive workload. I have set event markers to ensure precise synchronization between the data streams. However, I’ve encountered an issue where one data stream (e.g., eye tracking) contains missing values while the other (e.g., EEG) is complete, leading to partially incomplete rows in my dataset.
I would appreciate advice on:
  1. Best practices for handling missing data in synchronized multimodal datasets with event markers
  2. Any workflows or tools you’d recommend for preprocessing and aligning multimodal data in this context.
Any insights from those experienced with multimodal data analysis, would be extremely helpful. Thank you!
Relevant answer
Answer
Thank you for the guidance!
  • asked a question related to EEG
Question
3 answers
I have preliminary results from a specific subclinical group indicating that predictive coding, general prediction, and implicit learning are disrupted due to the absence of neuronal activity suppression. These are rather theoretical suggestions regarding the results of a study that did not directly address implicit learning, but now I would like to conduct some studies, as it were, "dissecting" some neurophysiological phenomena related to predictive coding in this group. I'll be grateful.
Relevant answer
Answer
Dear Eduardo,
thank you for your suggestion, I'll read the article you indicated.
Best regards,
Pawel
  • asked a question related to EEG
Question
4 answers
Hi all,
I am planning to calculate the phase locking value for two EEG datasets, and I want to use the Hilbert transform to get the phase of the signal. I do know that I have to filter my data based on my interests. I am wondering whether it is possible to apply Hilbert to the 3 to 6 Hz band or if it is too broad for Hilbert, and I have to apply Hilbert to each frequency one by one. for example, for 4 Hz and then 5 Hz and then get the average of them.
Thank you.
Relevant answer
Answer
S. Béatrice Marianne Ewalds-Kvist Thank you very much for your guidance and response.
  • asked a question related to EEG
Question
1 answer
Hello,
I am wondering if anyone has experience in using the NATUS clinical EEG machine for ERP studies. The machine does have DC inputs. I need a photo-triggered DC device.
Thanks
Relevant answer
Here are some references that might be helpful for using Natus EEG in ERP studies:
  1. Natus NeuroWorks EEG Software: This software is widely used in clinical environments for EEG testing, including ERP studies. You can find more information on the Natus website.
  2. Which Reference Should We Use for EEG and ERP Practice?: This article discusses various references used in EEG and ERP studies and provides recommendations for choosing the appropriate reference. You can access it here.
  3. Electroencephalography, Evoked Potentials, and Event-Related Potentials: This chapter provides insights into ERP studies and how to handle EEG data. You can find it on Springer.
  • asked a question related to EEG
Question
8 answers
Hi, I plan to conduct a study that simultaneously collects data from an EEG headset (Emotiv Epoc X) and an eye tracker (Tobii Pro Fusion) using iMotions. How can I ensure the synchronization of these devices? Any assistance would be appreciated. Thanks!
Relevant answer
Answer
Aamir Sharif Many thanks for your assistance!
  • asked a question related to EEG
Question
2 answers
Hi,
The author states that I should ask myself if I have enough data, which should be at least 20 * "the square of your number of channels data points" (so a rule of thumb is that when I do ICA I should have 20'000 data points).
Here comes the question - what are data points? Is it 1 second times [*] number of channels?
Relevant answer
Answer
Data points are the recorded samples. EEG signal is mainly an analogue signal, but it's digitized by sampling this signal into points. Number of samples(points) recorded per second depends on the "Sampling Frequency", which is a characteristic of the equipment and represents how many readings it can give in a second. Increasing the sampling frequency surely increases the accuracy of analysis, but requires much more computational power to process this larger amount of data. All this occurs for each channel. Example: if you have an equipment that records through 8 channels with a sampling frequency of 256Hz, then each channel gives 256 (points, samples, values) per second. I hope you got me right.
  • asked a question related to EEG
Question
2 answers
Introduction: As a researcher exploring Gen AI applications in neuroscience, I'm encountering difficulties integrating diverse data types, and face problems in finding of best repository for neural data.
Question 1: What strategies or tools have you used to successfully integrate multimodal neuroscience data (e.g., fMRI, EEG, behavioral) with Gen AI models?
Question 2: How can Gen AI be utilized to analyze and interpret complex neuroscience data, such as brain imaging and electrophysiology recordings, to better understand neural mechanisms and identify biomarkers for neurological disorders?
Question 3: What are the potential applications of Gen AI-generated brain-computer interface (BCI) systems for restoring motor function and communication in individuals with severe paralysis or neurological disorders?
#Neuroscience #GenAI #DataIntegration #MultimodalAnalysis
Relevant answer
Answer
Data Preprocessing and Harmonization
  • Strategy: Neuroscience data, like fMRI and EEG, come in different formats and have different temporal and spatial resolutions.
  • Before integrating them with Gen AI, it’s crucial to preprocess the data to remove noise and standardize the format.
  • fMRI: Preprocessing involves motion correction, slice-time correction, spatial normalization, and smoothing.
  • EEG: Preprocessing includes filtering to remove artifacts (e.g., muscle activity, eye movements), ICA (Independent Component Analysis) to separate signals, and epoching to align with events.
  • Behavioral Data: Standardize behavioral responses or performance metrics to align with brain activity data.
  • Tool: SPM, FSL, EEGLAB, MNE-Python for fMRI and EEG data preprocessing.
Integrating multimodal neuroscience data with Gen AI models requires careful attention to preprocessing, feature extraction, and multimodal fusion techniques.
Advanced tools such as TensorFlow, PyTorch, GNNs, and transfer learning help bridge different data types, leading to more powerful and predictive AI models capable of synthesizing complex neural and behavioral patterns.
  • asked a question related to EEG
Question
6 answers
MUSE headbands employ four electrodes and read EEG brainwaves. I am wondering if the devices are logistically feasible for field research, and what challenges researchers have encountered during data collection.
Relevant answer
Answer
Stephen Shannon Muse is probably not a perfect product, but it is certainly cheap and easy to handle. Obviously, it cannot be considered as effective as a professional medical EEG, but it provides very interesting basic information. I use it with sportsmen, and for them I establish cognitive abilities before sporting events. It's all at an experimental level, so maybe in a year's time there will be something better (that's how technology works). You can also use it during competitions because you just wear a lycra band if it's Muse2, or MuseS is already an elastic band. There are many softwares you can use with Muse, one of which my team created especially for it: it provides real-time data or you can download the data in csv (it is a commercial product). The software produces insights created specifically for the sporting environment. There are alternatives to Muse: they are all more expensive. But they should be tried. If you need more info write to me at rosso.gianluca@gmail.com
  • asked a question related to EEG
Question
3 answers
There are single platinum-iridium microelectrodes lying around in the lab with 125/150µm tip diameters and I'd like to use one or two of them to measure hippocampal/brainstem LFPs. All the protocols I've found either use tetrodes or multi-electrode arrays. I understand that single electrodes are not ideal, but what specific protocol could I use?
Relevant answer
Answer
I am afraid that is not ideal. Using a single electrode to record in vivo local field potentials (LFPs) in the hippocampus is generally not recommended because: 1. Lack of Reference Point: LFP recordings measure the summed electrical activity of populations of neurons. Without a separate reference electrode, it’s hard to distinguish between true neural activity and background noise or artifact. A single electrode does not provide a way to differentiate local changes in electrical potential from broader shifts in the electrical field. 2. Volume Conduction: The hippocampus is embedded in a complex neural network, and the electrical signals recorded by a single electrode can include not just local activity but also signals that are conducted from other brain regions. This "volume conduction" effect makes it difficult to isolate hippocampal activity with a single electrode. 3. Spatial Resolution: A single electrode does not provide information about spatial variations in the neural activity across different regions of the hippocampus. This is especially problematic because the hippocampus has distinct anatomical and functional regions (e.g., CA1, CA3, dentate gyrus) that can have different activity patterns. Multi-electrode arrays or tetrodes allow for simultaneous recordings from multiple locations, improving spatial resolution and allowing for more precise mapping of hippocampal activity. 4. Difficulty in Signal Interpretation: LFPs represent a mixture of signals from excitatory and inhibitory neurons, synaptic potentials, and even glial cell activity. With only a single electrode, it is much harder to interpret which sources are contributing to the recorded signal, making the analysis less reliable. 5. Signal-to-Noise Ratio (SNR): Single electrodes are prone to picking up noise, which can be difficult to filter out when there is no comparison or control signal from nearby regions. Using multiple electrodes allows for better noise cancellation and more accurate isolation of the signal of interest. In summary, using a single electrode for LFP recordings in the hippocampus is limited because of issues with reference point clarity, signal contamination from volume conduction, reduced spatial resolution, and difficulties in interpreting the resulting signal. Multi-electrode setups help overcome many of these issues, providing a more accurate representation of hippocampal activity.
-----------------
However, it's still technically possible if necessary for specific experimental constraints. Here is a draft protocol: 1. Preparation - Anesthetize the animal with an appropriate anesthetic (e.g., isoflurane or ketamine/xylazine) and place it in a stereotaxic frame to secure the head. Ensure that the animal is fully anesthetized by monitoring vital signs (e.g., absence of the pedal reflex). - Shave the scalp and sterilize the area with ethanol and iodine. Make a midline incision to expose the skull. - Use a stereotaxic atlas to determine the precise coordinates for the hippocampus. Mark the area on the skull. 2. Craniotomy and Electrode Placement - Carefully drill a small hole in the skull over the target location using a micro-drill. - Insert the reference electrode in a distant brain region (e.g., the cerebellum or a peripheral muscle). Fix the ground/reference electrode securely. - Lower the recording electrode: Using the stereotaxic manipulator, slowly lower the single recording electrode into the hippocampus. Advance the electrode slowly to avoid damaging the tissue. 3. Signal Amplification and Recording - Attach the recording electrode to a pre-amplifier and connect the reference electrode to the ground of the system. - Adjust filtering parameters: Set up the amplifier to filter the signals between 1 Hz and 300 Hz (the typical frequency range of LFPs). Adjust the gain of the amplifier to ensure the signal is visible but not saturated. - Monitor the signal: Observe the incoming LFP signal in real-time on the data acquisition system. Adjust the electrode depth if necessary to optimize the quality of the signal. LFPs are typically visible as slow oscillations in the frequency range of 0.5 to 100 Hz, depending on brain state. 4. Recording - Once the electrode is properly placed, begin recording LFP data. Record for a suitable time period depending on your experimental question (e.g., several minutes to hours). - Monitor physiological parameters: Ensure the animal remains properly anesthetized throughout the procedure and check for any signs of discomfort or distress. Continuously monitor vital signs. 5. Post-recording - Electrode removal: Once recording is complete, carefully remove the electrode without damaging the tissue. - Close the craniotomy: Clean the exposed area of the skull and apply dental cement to cover the craniotomy. Use sutures to close the scalp. - Postoperative care: Administer analgesics (e.g., buprenorphine) and monitor the animal until it recovers from anesthesia. Place the animal in a warm recovery area. 6. Data Analysis - Filtering: Apply additional digital filtering if necessary to isolate LFPs from noise. - Artifact removal: Identify and remove artifacts from movement, heartbeat, or respiration. - Spectral analysis: Perform frequency-domain analysis (e.g., power spectral density) to examine oscillations like theta (4-8 Hz), gamma (30-80 Hz), or sharp wave-ripples (~100-200 Hz). - Signal-to-noise analysis: Evaluate the quality of the recording and signal-to-noise ratio.
  • asked a question related to EEG
Question
1 answer
Hello, I plan to use EEG in Vietnamese/ Japanese sentence processing. EEG in linguistic research is relatively new in Vietnam academia. I aim for an affordable headset with easy-to-use operation. Please give me some advice—many thanks.
Relevant answer
Answer
Any suggestions?
  • asked a question related to EEG
Question
1 answer
Hello Everyone
I have a question about structure for connectivity analysis on sources.
My goal:
  1. preprocess and cut data into trials
  2. create headmodels, using template MRI file
  3. perform source analysis using lcmv, but not on averaged trial data, i want to to this on each trial separately
  4. parcel the reconstucted source data onto atlas, im specifically interested in visual areas
  5. create a matrix, which will contain structures from the atlas as rows and source data as columns.
  6. perform connectivity analysis on parcellated data to atlas.
I've done most of the steps above, but i am stuck on performing source analysis and then parcellating the data to regions in atlas. My question is, is it possible to do source analysis on each trial separately, not on averaged data (since i do not have ERPs in my data)? And then, is it possible to parcellate this source data to atlas?
If it is possible, i will be very grateful for any information how to make this work.
I tried doing this in Matlab, but i had trouble with running source analysis on trial data, because it is really inefficient, and i got feedback that performing source analysis on each trial is not recommended, so i thought i will ask here - maybe there is better approach that I dont know about.
I will be thankful for any help.
Best regards, Monika
Relevant answer
Answer
Hello,
I think you should insert time triggers at the beginning of every trial. This way, you could select the data from the period you want.
  • asked a question related to EEG
Question
1 answer
I've seen articles that primarily focus on alpha and beta activity in the frontal regions, but these studies often compare healthy subjects with those having various pathologies. I haven't seen a time-frequency characterization of the associated brain electrical activity. Any insights or recommended papers would be greatly appreciated.
Relevant answer
Answer
Subcortical evoking potentials of the limbic, motoric, brainstem triad Dr. Darryl Pokea drdarrylpokea.com
  • asked a question related to EEG
Question
1 answer
I have found an EEG where only alpha waves are present. Beta waves are not found in active patients. What interpretations ?
Relevant answer
Answer
what do you mean by active patients, and how many they are?
  • asked a question related to EEG
Question
1 answer
hello everyone
My research investigates cortical evoked potentials in children with bilateral cochlear implants (30 electrodes + 2 earlaps reference/ ground)
I am currently facing some challenges in preprocessing EEG data.
I have a few questions/I appreciate your time, and any response would be greatly appreciated 1- In cochlear implant children, 0-4 channels surrounding the processor of the CI (usually P7 P8 TP7 TP8 all/some of them) were removed (not fullfed in the recording)
1- if I re-reference the data to the common average should I exclude these channels? 2- Do you recommend interpolating these channels in the first step (as usually done in preprocessing pipelines) or in the last step? 
3 -Running ICA on the epoched-baseline corrected data is recommended in some studies in order to identify IC artifacts. is it acceptable not to apply firstly ICA on the raw data? 4- Using a Hamming window filter, I would appreciate an explanation about the filter order (mandatory).
thank you
Relevant answer
Answer
I will endeavor to provide the best possible response, with the understanding that this will be of assistance to you. Furthermore, I hope that I have accurately interpreted your question.
1. When referencing EEG data to the common average, it is essential to exclude channels that are not being recorded, such as P7, P8, TP7, and TP8, if these are affected by the cochlear implant processor. The inclusion of non-functional or noisy channels can result in the skewing of the common average and the introduction of artifacts. It is therefore recommended that these channels be excluded from the re-referencing process.
2. Interpolation may be conducted at various stages, but it is typically advised to interpolate the channels after re-referencing and before ICA. This facilitates the assurance that the ICA decomposition is based on a comprehensive set of channels, which can result in a more precise identification of artifacts. The following represents a typical pipeline:
Preprocessing (filtering, bad channel removal)
Re-reference to the common average (excluding bad channels)
Interpolate bad channels
Run ICA to identify and remove artifacts
3. The ICA process is then applied to identify and remove artifacts. ICA can be run on epoched and baseline-corrected data, which may be preferable for specific types of analyses, particularly when dealing with event-related potentials (ERPs). However, ICA is traditionally applied to continuous raw data, as this allows the algorithm to have more data with which to work, thereby improving its ability to identify and separate components. Should one elect to run ICA on epoched data, it is imperative that the epochs be sufficiently lengthy and encompass a diverse array of data, thus ensuring accurate ICA decomposition.
I must profess a certain lack of familiarity with Hamming window filters, and thus I am hopeful that another individual may be able to provide insight on this matter.
Sincerely,
Florian
  • asked a question related to EEG
Question
1 answer
Hello dears.
In my research thesis I need use a holistic view method such as 2 dimensions phase space , 3 dimensions phase space or maps such chirikov map , logistics map and... With matching deep Neural networks for Exploring Brain Dynamic via EEG in music composition.
Please guide me about some things.
1.which features better I extraction? & How?
2.which neural networks you prefer?
3.this is a good topic for thesis?
Thank you so much for help and support.
Relevant answer
Answer
i am not aware
  • asked a question related to EEG
Question
4 answers
I am working on some .edf files.
I try to extract the frequency distributions from the EEG waves.
The thing is, which i can't be sure if it is a problem or not, the most dominant frequency appears to be 0.39 hz always.
I can remove/change it with bandpass or other filters, but i am not sure if i am missing some important point here.
I used to work on patch-clamp data and this is my first time working with EEG data, just checking the waters for a possible collaboration. I can't be sure if this 0.39 hz is a noise, or something that i do wrong, or is it just how Welch - Fourier works.
I just have the common knowledge that the common low frequency delta waves are 0.5-4 hz and that makes me think. But also, i see on various papers on the internet that the lower-low frequences seems to have a similar peak.
I am sharing single position EEG data from 4 different recordings, although all positions have the similar peak at 0.39 hz. Fs was 200 hz.
Matlab code:
win = hamming(1024);
nfft = 1024;
noverlap = nfft / 2;
[px, f] = pwelch(waveseq, win, noverlap, nfft, Fs);
plot(f, 10 * log10(px))...
Relevant answer
Answer
Strictly speaking, I think the delta band is 0-4 Hz. However, it's generally a good practice to eliminate very low frequencies due to the aforementioned issues. Although I have no direct experience with polysomnography data, considering what you mentioned about the article, your EEG data might be as expected. To decide whether to eliminate frequencies below 0.5 Hz, it could be helpful to review other articles to see what they usually report as important frequencies.
  • asked a question related to EEG
Question
3 answers
Hi Everyone,
When dealing with EEG, artifacts from muscle, heart, and eye movements are inevitable. These artifacts are typically removed using independent component analysis (ICA).
From my understanding, the process of labeling components as artifacts or non-artifacts is quite subjective. For instance, if you perform ICA decomposition in EEGLAB, you then decide if a component is an artifact based on its scalp topography, event-related potential (ERP) image, power spectrum, and possibly the recommended IC labels calculated using the 'ICLabel' plugin.
I wonder how much this decision impacts the accuracy of EEG classification, especially in cases where the differences between distinct groups are subtle, such as differentiating between various motor imagery tasks.
Thank you in advance for your insights,
Fatemeh
Relevant answer
Answer
As far as i am concern, the answer is yes. EEG is a very weak signal, taking into considerations most of the environmental noise and internal noise much bigger than it. Even when you use denoising techniques like wavelet, you have to choose the right family. Otherwise you will effect the information of the signal.
  • asked a question related to EEG
Question
1 answer
1) In EEG Motor Imagery multiclass dataset, e.g., BCI Competition IV dataset IIa, which is a 4-class dataset (Right Hand, Left Hand, Tongue and both Feet). How can I classify the samples with the 4 classes?
2) I would like to extract spatial features using Common Spatial Pattern (CSP) from the multiclass data and give these features as input to a classifier say, SVM.
3) Is it possible to do multiclass classification using LDA as classifier?
Relevant answer
Answer
Hi Anisa,
Well, CSP is originally defined to filter the data in a way that results in two distinct groups. But, there are one-versus-one and one-versus-rest algorithms that make this method applicable to multiclass datasets.
Similarly, LDA was originally developed for binary classification but it can be extended to handle multiclass classification.
Fatemeh
  • asked a question related to EEG
Question
1 answer
I have two EEG datasets, but both of them have different sampling rates, the one with 200Hz and the other with 500Hz. Is it still possible to merge these datasets?
Thanks
Relevant answer
Answer
Make both of them at 200Hz.
You can do that using EEGlab.
  • asked a question related to EEG
Question
3 answers
I have a system that has only 6 EEG channels recorded. When I run the ICA it reports back that I have 5 independent channels. Is there an algorithm for selecting the best combination of channels to remove from the EEG data ?
Thank you in advance
Relevant answer
Answer
THANK YOU !
  • asked a question related to EEG
Question
3 answers
Dear Researcher. I am working on brain signal processing,
I used sLORETA analysis for EEG brain source localization. How to explain statistical analysis threshold & extremeP.txt file content in sLORETA? Which one of the threshold and p value should I report for determine Significance? In the top row shows t=3.67 (p=0.05), but in the bottom row (Exceedence proportion tests:) in t=3.67 (p=0.001). Please help me which one should I report?
t(0.01) t(0.05) t(0.10) ExtremeP
One-Tailed (A>B): 4.496 3.671 3.344 0.00640
One-Tailed (A<B): -4.516 -3.738 -3.344 0.94500
Two-Tailed (A<>B): 4.781 4.056 3.697 0.01260
-------------------
Exceedence proportion tests:
Thrsh(1Tailed>0) Prob(1Tailed>0) Thrsh(1Tailed<0) Prob(1Tailed<0) Thrsh(2Tailed) Prob(2Tailed)
0.470576 0.005000 -0.095868 0.979800 0.470576 0.010800
0.941151 0.000600 -0.191736 0.976000 0.941151 0.002600
1.411727 0.000600 -0.287604 0.972000 1.411727 0.001400
1.882303 0.000600 -0.383472 0.967200 1.882303 0.001000
2.352878 0.000600 -0.479341 0.961800 2.352878 0.001000
2.823454 0.001200 -0.575209 0.956400 2.823454 0.002000
3.294030 0.001400 -0.671077 0.953000 3.294030 0.002400
3.764605 0.002000 -0.766945 0.949600 3.764605 0.003800
4.235181 0.005000 -0.862813 0.943400 4.235181 0.011000
4.705757 0.006200 -0.958681 0.945000 4.705757 0.012400
Relevant answer
Answer
Would you please share the answer if you have found out how to interpret the threshold file? What is the difference between these thresholds?
I'm currently using Loreta software for connectivity analysis and i truly need some help with interpreting the result
  • asked a question related to EEG
Question
1 answer
Note:- Biomedical Engineering or Signal Processing journal. Q1 Or 2, and SCIE.
for more information inbox me.
Relevant answer
Answer
You can try publishers with agreements and discounts with your institution to cover the APC
  • asked a question related to EEG
Question
5 answers
  1. I have purchased a commercial grade EEG machine, for a reasonable price, in order to perform a study for my project. How familiar are you with less sophisticated EEG equipment? To what extent would using a simple EEG headband affect the credibility of the data collected, given it only having four electrodes, placed on the forehead?
  2. What is the generalised process of interpreting EEG data? I understand how to employ certain mathematical concepts for interpretation (such as time frequency distributions (TFD), fast Fourier transforms (FFD), eigenvector methods (EM), and wavelet transforms (WT)), but when applying these strategies, how can I link the findings to neurology?
  3. What available resources are there that I could use? Such as medical journals or otherwise, to cite in my research, relevant to the field of neurology, psychiatry, autism, and meditation?
  4. What is your understanding of the influence meditation has on certain neurological structures?
  5. What is your understanding of the neurological variance between autistic and neurotypical individuals?
Relevant answer
Answer
They are very compassionate, once who are afflicted. Ive read the DSM. And observed some. You may hear Pico Iyer, an Indian ethnic who was asked on this available on Youtube. These are the main offmainstream ideas I can contribute. Thanks.
  • asked a question related to EEG
Question
13 answers
Tononi and associates (2016) believe that different neurons control consciousness over unconsciousness, subjecting the brain to a dualism that can be traced back to René Descartes of the 17 Century. This idea conflicts with the observations of Oliver Sacks, who found that bilateral damage of the dopaminergic fibres that innervate the neocortex disrupts both the flow of movements (which can be done consciously as well as unconsciously) and the flow of thinking (a very conscious process):
Parkinson’s patients while immobile and comatose are unable to schedule their movements and thoughts. As described by Parkinson’s patient, Miss D: “…my essential symptom is that I cannot start and I cannot stop. Either I am held still or I am forced to accelerate. ” [Sacks 2012, pp. 40] As well, perceptions, words, phrases, or thoughts can be locked, either brought to a standstill or continuously repeated [Sacks 2012, pp. 15-16]. All volitional, introspective, and automatic states are interrupted in Parkinson’s patients, suggesting that dopamine must mediate the smooth transition of events for these states and in the absence of dopamine subjects are put into a perpetual ‘sleep’ as evidenced by their EEG, delta activity which is prevalent during slow-wave sleep.
Furthermore, when considering the preparatory activity preceding a movement (which can be thought of as ‘thinking to move’, James 1890), the preparatory activity has the same predictive power for a future movement irrespective of whether there is a movement or not (Darlington and Lisberger 2020; also see Nasibullina, Lebedev et al. 2023), and the preparatory activity is present throughout neocortex as well as subcortex including the thalamus, the pons, and the cerebellar cortex and nuclei, for instance (Darlington and Lisberger 2020; Hasanbegović 2024). Accordingly, the same neurons in neocortex mediate both consciousness and unconsciousness with the difference being in the nature of the pathways utilized to accomplish each: e.g., visual consciousness (which is for visual learning, Hebb 1949, 1961, 1968) would depend on both posterior and anterior neocortical sites, whereas visual unconsciousness would depend mainly on posterior neocortical sites since the learning of new routines has been finalized via the frontal lobes (Chen and Wise 1995ab; Schiller and Tehovnik 2001, 2005, 2015; Tehovnik 2024; Tehovnik, Hasanbegović, Chen 2024).
When mammals including humans are involved in volitional behaviors such as walking, running, or swimming, the neocortex assumes a low-voltage fast EEG activity, which characterizes the waking state of the brain (Vanderwolf 1969). When one swims lengths in a pool, one is very aware of two states of consciousness: a first state that is anchored to current sensations, especially when approaching the end of a pool length, which requires a flip turn initiated by vision, touch, sound, proprioception, and a change in vestibular head-orientation. To enhance one’s linkage to current sensations while swimming, one must swim with determination to reach the end of the pool as fast as possible, as would be the case by someone engaged in a swimming competition.
A second state of consciousness assumed during swimming is to be disconnected from one’s sensations, and instead be thinking about events of the day which depends both on information stored in the neocortex (e.g., in the parietal, temporal, and orbital cortices) and on the unconscious rhythmicity of swimming via subcortical circuits (e.g., as mediated by the cerebellum, Hasanbegović 2024). The unconscious rhythmicity is triggered by a visual impression at the end of a pool length to induce a flip turn; this is transmitted via the neocortex to subcortical channels (Tehovnik, Hasanbegović, Chen 2024). Once a flip turn is completed and swimming resumed, one can continue to contemplate the events of the day, consciously.
It is noteworthy that when the dopaminergic system of Parkinson’s patients whose dopamine levels have been reduced by 99% (Sacks 2012, pp. 335) is recovered using amantadine (a dopaminergic agonist), their neocortical EEG resembles low-voltage fast activity [Fig. 2 and 3 of Sacks 2012, pp. 329, 331], which is evidenced during waking state and volitional and automatic movements, as well as during introspective thinking (Sacks 2012). And recall that having one’s movements and thinking locked-in due to dopamine depletion is accompanied by neocortical slow-wave activity, which also occurs during sleep. It is for this reason that Parkinsonism has often been referred to as a sleeping sickness (Sacks 1976).
So, using EEG monitoring of athletes during swimming is a fast way to pilot if neocortical low-voltage fast activity undergoes a change depending on whether one is swimming volitionally as during a competition (which means all consciousness is dedicated to current sensations and the motor act) or whether one is swimming contemplatively (thinking about events of the day while executing an automated act). According to Tonini et al. (2016) these two states should generate different forms of activity over the neocortex if different neurons are engaged in the performance of each. According to our scheme (detailed in Tehovnik, Hasanbegović, Chen 2024), the activity of posterior neocortex should remain unchanged for both conditions, while the frontal lobes will only be engaged when new routines are being learned (or contemplated), which requires consciousness (or thinking, Hebb 1949, 1961, 1968).
** I would suggest that the bet between Christof Koch and David Chalmers [In: A 25-year-old bet about Consciousness has finally been settled, 2023] be extended for one or two years so that Christof can finally collect his reward for being correct about consciousness. But not to be too hasty, maybe we should wait for the empirical results to roll in based on our new conceptualization of consciousness being a neurophysiological/behavioral (rather than a philosophical/computational, Tononi et al. 2016) problem. The latter is the same error made by supporters of the Blue Brain Project, as spearheaded by Henry Markram which cost Europe over a billion dollars. **
  • asked a question related to EEG
Question
1 answer
Theta activity (~ 6-10 Hz) is prevalent throughout the brain including the hippocampus, the neocortex, and the cerebellum (Berry and Thompson 1976, 1978; Dwarakanath, Logothetis et al. 2023; Hoffmann and Berry 2009; Jutras and Buffalo 2010; Lega et al. 2012; Lubenov and Siapas 2009; Siapas and Wilson 1998; Vanderwolf 1969, 1990; Wikgren et al. 2010; Zhang and Jacobs 2015) and it has been associated with volitional acts (Tehovnik 2017; Vanderwolf 1969): walking, running, swimming, speaking, learning new tasks, and so on (but not with immobility, eating, drinking, or grooming, i.e., reflexive behaviors). We have argued that separating declarative memory from procedural memory and attributing the former to the neocortex and the latter to the cerebellum prevents a complete understanding of how the brain learns and stores information (Tehovnik, Hasanbegović, Chen 2024). Learning requires that the declarative and procedural processes co-occur, since it is declarative, consciousness via the neocortex that triggers procedures expressed as sequences of body movements whether during new learning or during bouts of automaticity (Chen and Wise 1995ab; Evarts 1966; Lehericy et al. 2005; Libet 1985; Schiller and Tehovnik 2015; Thach et al. 1992; Vanderwolf 2007). Significantly, if the neocortex is ablated in animals including humans, this causes great difficulty in generating sequences of behavior along with having massive sensory deficits yielding complete ‘blindness’ of a sensory attribute when a primary sensory area (V1, A1, or S1, and so on) is destroyed (Arnts et al. 2020; Kimura 1993; Merker 2007; Pavlov 1927; Tehovnik, Hasanbegović, Chen 2024; Tehovnik, Patel, Tolias et al. 2021; Vanderwolf 2007).
The work of Dwarakanath, Logothetis et al. (2023) suggests that transitions in the thought process (as studied using binocular rivalry) is preceded by a burst of theta activity. During such transitions the ocular movements generated by a subject are altered as well. For example, if horizontally-oriented black and white bars are presented to each eye such that one eye is presented with upward motion of the bars and the other eye is presented with downward motion of the bars, then once a unitary percept is experienced both eyes track the stimulus in the direction of the perception. Thus, thinking and movement coincide, since both processes operate in parallel even if the execution of one’s thoughts in the form of movement is in the future (James 1890; also see Sacks 1976, 2012). A travelling theta-wave along the posterior-anterior axis of the hippocampus has been described in both rodents and primates performing a behavioral task in sequence (Lubenov and Siapas 2009; Zhang and Jacobs 2015). A similar wave must occur once a stream of consciousness is produced without interruption (Dwarakanath, Logothetis et al. 2023; James 1890). So, how many wave cycles would be necessary to deliver a speech without interruption?
During the generation of volitional acts such as walking, running, swimming, and so on (which are accompanied by theta activity), the pathway between the inferior olive and the cerebellar Purkinje neurons is disabled (Apps 1999; Armstrong et al. 1988; Carli et al. 1967; Gellman et al. 1985; Smith and Chapin 1996), which means the efference-copy code cannot be altered at this time. Instead, alterations must occur between pauses/transitions in behavior (during large-amplitude irregular activity of neocortex, Vanderwolf 1969). Behavioral transitions are correlated with a preponderance or an absence of complex spikes about some baseline discharge (Catz, Their et al. 2005; Hasanbegović 2024; Gilbert and Thach 1977; Sendhilnathan, Goldberg et al. 2020; Swain et al. 2011; Yang and Lisberger 2014). It is noteworthy that once task performance is automated, the change in complex spike activity during state transitions is diminished (Swain et al. 2011). The disablement of the inferior olive is believed to be under neocortical control (Apps 1999), and activation of this pathway may occur mainly during immobility or virtual immobility (see Bush et al. 2017) and perhaps during slow-wave sleep as well (Canto, De Zeeuw et al. 2017; Gomperts et al. 2015; Logothetis et al. 2012; Marr 1971; Ólafsdóttir et al. 2017; Pavlides and Winson 1989; Wilson and McNaughton 1994; Yu et al. 2017). Indeed, there is evidence that complex spikes may be present during slow-wave sleep (Canto, De Zeeuw et al. 2023).
In conclusion, theta activity (which is believed to originate in the septum, Buzsáki 2006) occurs throughout the brain, and it includes structures involved in the consolidation and retrieval of information (i.e., the hippocampus, the neocortex, and the cerebellum), and it mediates both the execution of thought and movement, two processes that must be studied as one (James 1890). Changes to complex spike discharge, which have been implicated in altering the efference-copy code (Tehovnik, Hasanbegović, Chen 2024), is more prevalent outside the generation of theta.
Relevant answer
Answer
Hi,
Theta activity likely signals transitions between events or behaviours. Complex spikes (occurring outside theta activity) may then trigger modifications to the efference copy (our internal model of how our actions affect the world).
Just my thought.
  • asked a question related to EEG
Question
2 answers
Hello, I am trying to evaluate the group differences of the change from baseline in an EEG index (fMMN_amplitude), using the Linear Mixed Models process. I entered Cluster (three groups), time (two visits), Cluster × time interaction as fixed effects, baseline MMN_amplitude value as a covariate, and participant as a random effect for the intercept. I used EMMEANS to obtain the change from baseline of MMN_amplitude in each Cluster. Picture 1 is the command lines I used.
However, I could not find a way to compare the change values between groups. Can someone please let me know if there is a way to acquire such group differences and the effect sizes, just like the mean difference versus placebo in the Picture 2 (from DOI: 10.1016/S2215-0366(20)30513-7). It's like computing [(g2t2 - g2t1) - (g1t2 - g1t1)]. SPSS command lines will be best, GUI operations are also fine. Any help will be appreciated!!
Sincerely,
Greatson Wu
Relevant answer
Answer
Hello Greatson. I’m assuming you have your data in long/tall format (i.e., one row for each observation), and that your baseline covariate is the first observation of your outcome variable. If I have that correct … then you do not need to control for the baseline covariate. This is handled with your time variable (as a within variable). To find differences across groups, duplicate your last line of code (i.e., the EEMEANS for the interaction) and modify it to “COMPARE(Cluster)” instead.
  • asked a question related to EEG
Question
1 answer
How study the access of lexical-semantic system in patients with cranial injury with IRMF & EEG?
Relevant answer
Answer
Hello,
To study the lexical-semantic system access in patients with cranial injury using fMRI and EEG, measure brain activity during language tasks and analyse the data for patterns related to lexical processing and semantic understanding.
Hope this helps.
  • asked a question related to EEG
Question
1 answer
What is the data structure of the Multimodal Developmental Neurology of Females with ASD dataset in NDA? How can I extract relevant resting state EEG and fMRI data?
Relevant answer
Answer
Hello,
The Multimodal Developmental Neurology of Females with ASD dataset in NDA contains metadata, demographics, fMRI, and EEG data. Extract resting state EEG and fMRI via NDA's query tool.
Hope this helps.
  • asked a question related to EEG
Question
1 answer
I am inclined to research on EEG classification using ML/DL. The research area seems saturated. Hence, I am confused as to where I can contribute.
Relevant answer
Answer
First of all, I want to encourage you not to give up on an area just because there are a lot of researchers in it. People should follow their interests if they are capable of managing the task and are interested in them. It's not only that EEG research is a promising field, but it's also interesting to classify EEG data using machine learning or deep learning approaches. It's okay if it seems saturated to you. Improving already completed work is always a way to contribute. There are many ways to propose improved algorithms and models if you have an interest for mathematical modelling. Remember that even in well explored research fields, there is always space for creativity and advancement of interest.
It's better to start with a review paper on the latest research article in this field. In one paper (latest review paper), you can gain a clear idea of the work that has been done and the suggestions put forward by the authors (researchers) based on their investigation. This approach helps you understand the current state of the field and identify potential gaps or areas for further exploration.
In the biomedical field, preference should be given to applications that demonstrate effectiveness in promoting health and safety.
1. And, I would like to suggest that you integrate ML/DL techniques for EEG classification along with IoT or some real-time device, such as Jetson Nano or an equivalent.
2. EEG signals should have noise and limited spatial resolution. Maybe you can investigate.
3. Left and right hand movements generate distinct EEG signals. If you can collect a real dataset from reputable medical resources, you could investigate EEG signals in paralyzed individuals and analyze them.
I am sharing here some of the article maybe you can have a look, i feels that could help you better:
*) Current Status, Challenges, and Possible Solutions of EEG-Based Brain-Computer Interface: A Comprehensive Review.
*) A review on analysis of EEG signals.
*) Deep Learning Algorithm for Brain-Computer Interface.
*)Encyclopedia of Clinical Neuropsychology.
Finally, as this is your graduation thesis, it's important to have a backup plan. During research, numerous byproducts are often produced, many of which hold value. I hope you will successfully reach your final destination with this research. However, it's essential to keep proper track of your byproducts. They may prove invaluable in shaping your thesis and ensuring you graduate on time. Furthermore, even after graduation, consider continuing your research if possible.
  • asked a question related to EEG
Question
1 answer
I designed my experiment by using E-prime 3.0. In my es3 document I have adopted InLine to write marks of EEG data. I recorded my EEG data by BrainVision Recorder.
However, after exporting EEG data from BrainVision Recorder and importing it to EEGLAB, the event information is lost. Thus I am wondering how to import events information created by E-prime 3.0 to my EEGLAB?
Much appreciation in advance!
Relevant answer
Answer
You can import all the information from the data info. Yet you have to choose according to your file type, e.g., (edf,bdf), etc.
  • asked a question related to EEG
Question
4 answers
EEG data a two-dimensional matrix as 868 by 16, when it details coefficients are calculated using Matlab code the matrix of D1, D2 and D3 are different from when similar data is decomposed using wavelet Analyzer. Can any one guide me what dimension of D1,D2 one can get when decomposed a 868 by 16 matrix with DB3 of level 6
Relevant answer
Answer
thank you so much sir.... I know that wavelet Decomposition breaks the signal like this that' s why I decided to opt for level 6 decomposition in order to get the delta frequency too, but the detail coefficients I am getting have very different dimensions so I just wat to sure ..that Are they OK
  • asked a question related to EEG
Question
2 answers
A dataset urgently needed for EEG signals in children with autism
Relevant answer
Answer
Look at this work: Sun S, Cao R, Rutishauser U, Yu R, Wang S. A uniform human multimodal dataset for emotion perception and judgment. Sci Data. 2023 Nov 7;10(1):773. doi: 10.1038/s41597-023-02693-z. PMID: 37935738; PMCID: PMC10630434.
You may find some useful information.
  • asked a question related to EEG
Question
1 answer
I would like to create a database of resting EEG data from healthy neurotypical subjects. To do this, I have written a small program in Matlab for FFT analysis of EEG recordings in *.edf format. I also created a set of recordings in *. Fdt (FieldTrip Data Format). As far as I know, you can use EEGlab to convert the file to edf by first uploading the *.set file and then using Export--->Data to edf file. When you do this, the following error message appears in Matlab.
Warning SOPEN (EDF): A block exceeds 61440 bytes.
Warning SOPEN (EDF-Write): Relative scaling error is 5.880403e-07 (due to roundoff in PhysMax/Min).
Warning SWRITE: 410 NaNs added to complete data block.
As I understand it, these warnings indicate that there are problems with file size, data accuracy, and data padding. Should I ignore these warnings or are they more serious problems? What is the best way to convert ftd files to edf format using Matlab?
Relevant answer
Answer
Have you tried the edfreader?
You can find it online or I can send it to you.
best
  • asked a question related to EEG
Question
7 answers
I am searching for a dataset in ASD that contains EEG+ECG signals and biophysical data of the participants. The biophysical data can be in the form of either blood data (neutrophils, T-cells, lymphocytes, etc) or questionnaire (sleep problems, gut problems, allergy, autoimmunity etc). Any input is greatly appreciated.
Thanks.
  • asked a question related to EEG
Question
1 answer
I want to analyze EEG signals automatically and extract the type of emotion out of an obtained signal.
Thank you very much.
Relevant answer
Answer
Hello there, I am currently working on analyzing the EEG signal in the DEAP database. They have added [labels] columns to the EEG data; you can find them when downloading the entire dataset.
I am using Python. I used MATLAB also for the same reason, pleas if you have any questions do not hesitate to ask.
  • asked a question related to EEG
Question
2 answers
My situation is: I used MRI-compatible EEG electrodes, and all the participants went through a 3D T1-weighted brain image scan with the EEG electrodes on the scalp.
Is there any toolbox that I can use to extract precise EEG electrode positions from the MRI brain images?
Relevant answer
Answer
You can use the EEGlab toolbox on Matlab.
text me if you need any assistance.
best
  • asked a question related to EEG
Question
3 answers
..
Relevant answer
Answer
Thanks. I believe this data will be helpful for my future research. How can I download the data?
  • asked a question related to EEG
Question
1 answer
Hello,
I would like to examine the topographic maps in the data, but the Fp1 and Fp2 channels of the EEG record were taken from another physiological signal. So, I should delete them. I selected the data by 'edit+ select data' and I selectively eliminated all channels except FP1 and Fp2. When I draw the topographies of the channels in the new data I obtained, although I expect that there is no activation in these channels, the region in the deleted channels looks red, that is, high. Why do you think this is happening and how can I overcome this error?
I am currently doing group analysis and I would like to ask if there is a way to eliminate Fp1 and Fp2 channels and draw their topographic maps in EEGLAB correctly.
Attached is a screenshot of the channels and topography plot image for you to get an idea. I would be very grateful if you help me with the problem I have.
Thanks.
Demet
Relevant answer
Answer
I think that several artifacts contaminated these signals. On the other hand, what you are asking is not clear, you may inbox me to clarify the question better.
  • asked a question related to EEG
Question
6 answers
I am working with emotiv EPOC headset. I captured 12 minutes continuous eeg data. In which 40 seconds is baseline data and the remaining eeg data is the data related to participants activities. I should mention that during the data collection i did not define any event.
To do data analysis, I am using "eeglab". When I import eeg data inside of eeglab it does not show me any events which is natural because I did not define any events. Even inside of "edf" file that EmotivPRO give to me there is not any columns for event.
But, after doing the following steps it shows me 23 events.
1- Remove baseline
2- Filter data (using FIR)
3- Automatic channel rejection
4- Automatic continuous rejection
5- Run ICA
Now, my problem is that if I can trust this data pre-processing or not?
When I reviewed the references for eeg data pre_processing the steps are as following:
1- Import event info
2- Re-referencing (if it is necessary)
3- Filter the data (High pass filter)
4- Remove bad channels
5- Run ICA
Relevant answer
Answer
Could you send me this toolbox?
  • asked a question related to EEG
Question
5 answers
I am running ERSP analysis on my EEG data in EEGLab and the topographic map shows a significant effect but as I want to show that significant effect across time and plot the spectrogram the significant effect fades away. I tried all the correction for the multiple comparison methods.
Relevant answer
Answer
Yes, you are right, thanks for your helpful solution to this problem!
  • asked a question related to EEG
Question
4 answers
For my research, I need visual and/or auditory event related potential, EEG data from normal patients and patients with Alzheimer's disease. Can anyone suggest where I can find them?
Relevant answer
Answer
You can look for papers on this topic and check if the authors share their datasets in public repositories.
  • asked a question related to EEG
Question
1 answer
Hi. I am currently working on a study to evaluate the effectiveness of a cognitive training on functional connectivity of the frontoparietal network. A set of EEG data recorded in 3 conditions : pre, post, and 20 days follow up. Since I only have one subject, I'm wondering how I can analyze the EEG data (I aim to compare 2 conditions with each other : pre -post and post -follow up).
Relevant answer
Answer
Hi,
Hope some of these references might be of help to you:
Single-Case Experimental Designs for Clinical Research and Neurorehabilitation Settings: Planning, Conduct, Analysis and Reporting
Robyn Tate; Michael Perdices, 2018
Franklin, Ronald D. Design and Analysis of Single-Case Research.2014
  • asked a question related to EEG
Question
1 answer
HI,I'm conducting research on using EEG data to control a robot, and I'll be using the Emotiv EPOC X with 14 channels. Can someone suggest a tool for extracting or acquiring data with it?
Relevant answer
Answer
If I'm correct, a license is now required to access raw data, which wasn't the situation previously when access was free of charge. If you're using older versions of the Emotiv Epoc, you can continue to use the older version of OpenVIBE (0.11.0, available at http://openvibe.inria.fr/pub/bin/win32/) software in conjunction with the EmotivEpocInstaller_v1.0.0.4 SDK.
For additional details, please refer to this link: http://openvibe.inria.fr/how-to-connect-emotiv-epoc-with-openvibe/
  • asked a question related to EEG
Question
1 answer
I want to propose a new diagnostic matrix based on the weighted entropy (WE) technique to identify the different EEG channels and brain regions underlying attention deficit hyperactivity disorder (ADHD) which involves abnormal brain electrical activity (BEA), The basic idea is to demonstrate which brain area and electroencephalogram (EEG) channels are contributing more in ADHD.
I have implemented this idea and, the results suggested that the WE value across [temporal (T7, T8), and parietal lobe (P3, P7 and Pz)] channels show a higher contribution rate (weights) in distinguishing between the two groups.
I have read the literature most (all) of the researchers used bands of EEG signals to show which band (theta, gamma, beta) contributed more to ADHD.
The question is I don’t know whether this idea is feasible or not.
Relevant answer
Answer
Hi,
Your idea of using WE in EEG analysis for ADHD diagnosis seems feasible, especially if initial results show promise. Just ensure you validate it against traditional band-based methods.
Hope this helps.
  • asked a question related to EEG
Question
1 answer
I have some single channel EEG data which are in the .csv format. How to import this .csv File to EEGlab and analyze them? Or is there any way to convert these data to .edf or .bdf format (Biosemi Data Format)?
Relevant answer
Answer
run EEGLAB
in command line write:
M = csvread("path/file.csv")
then import the "M" array using the menu "File > Import data > From ASCII/float file or Matlab array"
Don't forget to enter the sampling rate and specify 'M' as a variable to import.
  • asked a question related to EEG
Question
5 answers
Hello Community,
in the Paper in Question there is in Appendix A an explanation of the CSP Algorithm. In Formula 9 and 10 is the eigendecomposition of Sa and Sb. I understand it in a way that it is no matter what U (from 9 or 10) to choose for computing 12. The thing ist when im using the U from 9 to calculate 12 i get the topographic picture from Fig.1 from the paper in question. When i am using the U from 10 to calculate 12 i get an topogrphic picture of the opposite side that states that the biggest EEG activity is on the right side when i have left side motor action process. i am wondering now how to interpret both pictures that i get and which U to take to compute 12? I hope my question is understandable, and thanks very much for the answers. I dont know what else to write because this is my first question asked in a forum.
I wish you all a great day
Relevant answer
Answer
Thank you very much for the reply and the suggestion, after your answer i have revisited my Code and found an error during computation. Now everything works fine.
best regards
  • asked a question related to EEG
Question
2 answers
Hi you all,
Have somebody compared the performance of e-prime 2.10 vs the latest version of PsychoPy in the context of EEG research?
We have programmed some behavioural tasks on PsychoPy and we have been thinking about including some EEG measurements as a follow-up study.
Our main question is if should we get stuck to PsychoPy or re-program everything on e-prime? I have heard PsychoPy have shown some time issues with EEG, but not sure if this has been fixed or if it continues the same.
Any help would be really appreciated!
Relevant answer
Answer
Yeah I echo Hsin-Yuan Chen's sentiments - if there are latency issues then switching to E-Prime won't fix them. In my (admittedly limited) experience with E-Prime, I run into far more than latency problems with E-Prime relative to PsychoPy.
  • asked a question related to EEG
Question
3 answers
Role of EEG and AED in ASD
Relevant answer
Answer
  • asked a question related to EEG
Question
2 answers
Hi everyone,
I am working on EEG data and want to find functional connectivity and finally the graph. Would you please help me with which toolboxes are more useful to do this work? GraphVar or Fieldtrip?
I used GraphVar, during the work as it used fMRI datasets in the toolbox it had regions of the brain but my data is EEG and I do not have any details about the regions. To do this I should implement source localization which is really time-consuming. I should do this asap.
Thanks in advance for your help.
Neda
Relevant answer
Answer
Many thanks for your answer. I am still working with GraphVar due to it has GUI. I have a question during the process.
I created the variable sheet and I encounter an error about file names while I execute it. The file name in the data~> CorrMatrix~> "CorrMatrix_P01EC1_Active" is the same as the variable sheet. I have attached screenshots of them. Actually, I tested both versions of the attached screenshots "Origin_of_errors1" and " Origin_of_errors2" and still have errors.
I would be really appreciated your help.
Thanks in a billion.
Neda
  • asked a question related to EEG
Question
2 answers
Discussion of issues related to the use of Neural Network Entropy (NNetEn) for entropy-based signal and chaotic time series classification. Discussion about the Python package for NNetEn calculation.
Main Links:
Python package
Relevant answer
Answer
Not sure about goal but here's a step-by-step guide:
1. Set up your Python environment: Make sure you have Python installed on your system. You can download and install the latest version of Python from the official Python website (https://www.python.org/).
2. Create a new Python project: Set up a new directory for your Python package. This directory will contain the necessary files and folders for your package.
3. Define the package structure: Inside your project directory, create a folder with the name of your package (e.g., `nneten`). Inside the package folder, create the following files:
- `__init__.py`: This file makes the `nneten` folder a Python package.
- `nneten.py`: This file will contain the implementation of the NNetEn calculation.
4. Implement NNetEn calculation: Open `nneten.py` and define the necessary functions and classes to perform the NNetEn calculation based on the described methodology. This may involve importing relevant libraries, implementing entropy calculation algorithms, and any other required components.
5. Package documentation: Create a `README.md` file in your project directory to provide instructions and documentation for using your Python package. Include details about the NNetEn calculation method, usage examples, and any other relevant information.
6. Package installation: To make your package installable, create a `setup.py` file in your project directory. The `setup.py` file should contain information about your package, such as its name, version, author, dependencies, and other relevant details. You can refer to the official Python documentation on packaging for more information on creating a `setup.py` file.
7. Test your package: Create a separate directory for testing your package. Write appropriate unit tests to verify the correctness of your NNetEn calculation implementation. You can use the `unittest` module or any other testing framework of your choice.
8. Package distribution: Once you are satisfied with your package, you can distribute it on platforms like PyPI (Python Package Index) so that others can easily install and use it. Refer to the PyPI documentation for detailed instructions on how to upload and distribute your package.
Good luck
  • asked a question related to EEG
Question
3 answers
I am mainly interested in EEG but all range of neuroimaging techniques are welcome.
Relevant answer
Answer
Hi,
There are several articles and sources on measuring customer satisfaction or brand loyalty through neuroimaging, specifically EEG. Here are some suggestions:
  • A systematic review of the prediction of consumer preference using EEG measures and machine-learning in neuromarketing research
  • Measuring brand association strength with EEG: A single-trial N400 ERP study
  • Neuromarketing Tools Used in the Marketing Mix: A Systematic Literature and Future Research Agenda
  • Recognition of Consumer Preference by Analysis and Classification EEG Signals
  • Is EEG Suitable for Marketing Research? A Systematic Review
These sources provide insights into how EEG measures can be used to measure customer satisfaction or brand loyalty in neuromarketing research.
Hope this helps.
  • asked a question related to EEG
Question
1 answer
Hello,
I am planning an EEG study and I would like to use hierarchical Bayesian models for single trial analysis. Before planning the experimental paradigms, I would like to know if there are any constraints relative to the timing and duration of events or other.
Many thanks,
Stefania
Relevant answer
Answer
Hi,
When utilising hierarchical Bayesian models in EEG studies, ensure your events are distinguishable, collect ample trials, uphold high data quality, be mindful of computational constraints, and make knowledgeable choices for prior distributions.
Hope this helps.
  • asked a question related to EEG
Question
1 answer
Hi everyone, I'm assessing one's cognitive performance based on their brain activity recorded through an electroencephalogram (Emotiv EpocX EEG headset). Recently there is a very high incidence of bad EEG quality during the recording and about 70-80% of dirty data have to be removed. The test was about 120s long and left with <30s after dirty signal removal. May I know how do I determine the minimum EEG data points in that particular test to perform ICA? And how do I confirm if the remaining data is representative due to very limited ''clean'' data after noise removal?
Thank you.
Relevant answer
Answer
Hi,
For a reliable ICA, it's typically necessary to have a minimum of 30-40 seconds of clear EEG data. Guaranteeing the data's representativeness can be difficult due to noise interference. You might want to think about improving your methods of data collection or utilising more sophisticated noise reduction techniques.
Hope this helps.
  • asked a question related to EEG
Question
2 answers
Time frequency images and curves sorted by power or dB versus time are the main constituents of the EEG information. Therefore, video tutorials, links, manuals or paper-based suggestions as well as webinars are needed.
Relevant answer
Answer
Hsin-Yuan Chen Thank you so much
  • asked a question related to EEG
Question
3 answers
I am new to EEG Preprocessing and I have this EEG data set in csv format and I am completely lank on how to preprocess to apply deep learning into the data set. I would e very grateful if anyone could enlighten me on the steps of EEG preprocessing possibly in MATLAB
Relevant answer
Answer
reprocessing EEG data in CSV format typically involves several steps, such as data cleaning, filtering, and artifact removal. Here's a general outline of the preprocessing steps you can perform on EEG data in CSV format:
  1. Load the CSV data: Use a library like pandas to load the EEG data from the CSV file into a DataFrame.
import pandas as pd # Load the EEG data from CSV eeg_data = pd.read_csv('eeg_data.csv')
  1. Data cleaning: Perform any necessary data cleaning steps, such as handling missing values or outliers.
  2. Filtering: Apply appropriate filters to remove unwanted frequencies and noise from the EEG signal. Common types of filters used in EEG preprocessing include high-pass, low-pass, and band-pass filters.
from scipy.signal import butter, filtfilt # Butterworth bandpass filter function def butter_bandpass(lowcut, highcut, fs, order=5): nyquist = 0.5 * fs low = lowcut / nyquist high = highcut / nyquist b, a = butter(order, [low, high], btype='band') return b, a # Apply a bandpass filter to the EEG data def apply_bandpass_filter(data, lowcut, highcut, fs, order=5): b, a = butter_bandpass(lowcut, highcut, fs, order=order) filtered_data = filtfilt(b, a, data) return filtered_data # Define the cutoff frequencies for the bandpass filter lowcut = 1.0 # Lower cutoff frequency in Hz highcut = 30.0 # Upper cutoff frequency in Hz # Define the sampling frequency (adjust according to your data) fs = 250 # Sampling frequency in Hz # Apply the bandpass filter to the EEG data filtered_data = apply_bandpass_filter(eeg_data.values, lowcut, highcut, fs)
  1. Artifact removal: Perform artifact removal techniques to eliminate unwanted signals, such as eye blinks, muscle artifacts, or line noise. Common methods include independent component analysis (ICA) or regression-based approaches.
  2. Epoching: Split the continuous EEG signal into smaller segments called epochs, typically aligned with event markers or stimuli. This allows you to analyze specific time windows of interest.
  3. Baseline correction: Adjust the baseline of each epoch to a common reference point, such as subtracting the mean or median value of a pre-stimulus period.
  4. Feature extraction: Extract relevant features from the preprocessed EEG data for further analysis or classification. Common features include power spectral density, time-domain statistics, or spectral entropy.
These are the general steps involved in preprocessing EEG data in CSV format. However, the specific preprocessing steps may vary depending on your research question, the characteristics of the EEG data, and the analysis techniques you plan to use. It's always important to consider the specific requirements of your study when preprocessing EEG data.
  • asked a question related to EEG
Question
1 answer
I intend to superimpose the artifact templates on the clean EEG and then verify the performance of the algorithm by comparing with the clean EEG (i.e. ground truth data). I found MATLAB a suitable software.
Relevant answer
Answer
Hi,
  1. Load EEG data: load('yourfile.mat')
  2. Preprocess data: Use MATLAB's designfilt to create a bandpass filter and apply it to your raw data.
  3. Extract artifacts: Identify regions exceeding a threshold, considering those as artifacts.
  4. Superimpose artifacts on clean EEG: Add artifact templates back onto the original data.
  5. Verify algorithm performance: Compare noisy EEG signal with clean one using Mean Squared Error (MSE).
This is a basic outline; more complex tasks may necessitate advanced methods and specialised toolboxes like EEGLAB or FieldTrip.
  • asked a question related to EEG
Question
1 answer
Hi All,
As the question suggests, is there a way of sending triggers from a smartphone to EEG recording software?
I would like participants to use a social platform, and then have triggers sent to the recording software.
Thank you in advance!
Relevant answer
Answer
Hi,
EEG can be synchronised with smartphone triggers using Bluetooth, Wi-Fi, or a hardware device. Apps like LSL Trigger can be used to send triggers from social platforms to EEG recording software.
  • asked a question related to EEG
Question
2 answers
I try to work on EEG signals from corona virus patients so I need clinical datasets of that. I would be grateful to you for helping me.
Relevant answer
Answer
  • asked a question related to EEG
Question
1 answer
I had taken STFT on Discrete EEG signal ,now i need to extract alpha,theta,beta,gama bands from the STFT image. In this one 'S' holds complex values, Time(T) and Frequency (F) having real numbers.
Relevant answer
Answer
In extracting frequency bands from EEG signals, using PSD is a more suitable approach. PSD provides an accurate representation of the distribution of power across different frequencies, which is ideal for identifying alpha, theta, beta, and gamma bands. While the absolute value of the STFT can illustrate how the signal's spectrum changes over time, it may not adequately distinguish the power contribution of the different frequency bands. Thus, to isolate these bands, compute the PSD from the complex-valued STFT and segment the resulting spectrum into the respective frequency bands.
  • asked a question related to EEG
Question
1 answer
What are the criteria for merging EEG datasets?
Are there certain conditions?
What are the potential standardising criteria?
Relevant answer
Answer
To merge EEG datasets, ensure the following:
1. Compatibility: Use the same device, electrode placement, sampling rate, and experimental conditions.
2. Consistency: Match subjects' demographics and cognitive states and apply the same preprocessing protocols.
3. Format: Datasets should have compatible formats and synchronised event markers.
Don't forget to ask experts before merging due to potential statistical issues and increased data noise.
  • asked a question related to EEG
Question
3 answers
What are the differences and similarities between EEG and local field potential (LFP)? In some literature, hippocampal EEG was recorded with electrodes implanted in the hippocampus in mice or rats. However, in this case, are signals recorded by electrodes should be called LFP rather that EEG? So what are the differences and similarities between EEG and local field potential (LFP)? How to understand the two concepts correctly?
Relevant answer
Answer
Both EEG and LFP measure the brain's electrical activity. However, EEG is non-invasive and records from the entire brain but has a lower spatial resolution. LFP is invasive, localised, and has a higher spatial resolution. In your specific case, recordings from electrodes implanted in the hippocampus of mice or rats would be more accurately described as LFPs due to their localised nature and invasive recording method.
  • asked a question related to EEG
Question
1 answer
Three-year Ph.D. positions in Neuroscience available @ University of Verona (Italy) for 2 projects
Supervisor: Mirta Fiorio
1. Ph.D. position for the project “The cognitive-motor interplay in a virtual reality environment
The project will investigate the neuro-cognitive mechanisms of the bidirectional link between movement and cognition (mainly attention and expectation) in a virtual reality environment. Neurophysiological techniques (TMS and EEG) will be used to tackle the underlying neural networks. The project will provide basic knowledge necessary to develop ad-hoc cognitive training for improving motor functions in the elderly population.
2. Ph.D. position for the project “Markers of physical and cognitive fatigue in healthy and pathological conditions
The project will search for potential markers of physical and cognitive fatigue in healthy and clinical populations. Sensory attenuation will be considered as a first potential marker, and a combined TMS-EEG approach will be used to tackle the neural network involved. On a theoretical level, the project will allow developing a predictive coding framework for fatigue. The project will also provide basic knowledge necessary for the development of strategies useful to prevent and reduce fatigue in clinical conditions (like Parkinson’s disease and functional neurological disorder), in which this symptom may interfere with the quality of life.
For both projects, ideal candidates would have a background or strong interest in cognitive neuroscience, cognitive sciences, movement sciences, or computational neuroscience; prior experience in data collection; knowledge of neurophysiological techniques and computer programming, preferably in Matlab; fluency in English.
Deadline for applications: 6th July 2023
For more information, please contact Mirta Fiorio mirta.fiorio@univr.it
Relevant answer
Answer
Hello dear professor.
I am currently a PhD student in physiology in Iran and I am accepting my thesis papers. I am interested in studying in the post-doctoral course. If you are familiar with the conditions of my country, we are facing severe sanctions and hard research work. I also barely finished the thesis. I need to get financial aid to be able to enter this course. And how good that your Ph.D. course is 3 years, Iran we finish this course in 4 years, but under the strict conditions of 5 years of experience. Your number one project is exciting.
Thank you very much
  • asked a question related to EEG
Question
4 answers
I need to analyze power spectra of continuous EEG data in different conditions of eyes-open resting state.
How can I epoch the continuous EEG into non overlapping epoch window in EEGLAB without event information?
Do I need a baseline to subtract ? How can I define it?
Relevant answer
Answer
Use the eeglab function
eeg_regepochs
  • asked a question related to EEG
Question
10 answers
I need eeg dataset to train a model for classifying AD and healthy control for my research.Can anyone suggest where can I find these?
Relevant answer
Answer
You may find the published EEG dataset of Alzheimer, Frontotemporal dementia and Control recordings here: https://openneuro.org/datasets/ds004504
And the Data Descriptor paper that accompanies this dataset here:
What makes this dataset truly invaluable is its potential for significant reuse in Alzheimer's EEG machine learning studies. With a lack of publicly available EEG datasets, researchers now have a unique opportunity to explore brain activity and connectivity alterations, develop new diagnostic approaches, and pave the way for innovative treatment methods.
Join us in unlocking the potential of EEG data to further our understanding of Alzheimer's disease and frontotemporal dementia. Let's collaborate, explore new frontiers, and work towards developing groundbreaking advancements in diagnosing and treating these conditions. Together, we can make a difference!
  • asked a question related to EEG
Question
3 answers
Hi everyone,
Recently, I have read some papers relating to EEG based-neuromarketing. In which, the papers aim to classify customer preference (Like/Dislike a product) using participant's EEG signal. I think I do not really understand:
1. How to label the ground truth preference (Like or Dislike)? If we use self-report to label the data, so what is the meaning of EEG?
2. The first question leads to the second one: how can this be applied in real-world scenarios?
I find it very difficult to find an article that clearly explains those questions. I would greatly appreciate it if you could spare some time to help. Thank you so much!
Relevant answer
Answer
Aparna Sathya Murthy , Alireza Falakdin : Thank you so much for your answers.
  • asked a question related to EEG
Question
1 answer
I need help finding and accessing EEG-rTMS datasets because I'm seeking them.
Relevant answer
Answer
Hi,
Try in GITHUB.
  • asked a question related to EEG
Question
1 answer
Asked 1 minute ago
I am trying to use EEG data from GigadB repository. The data is archived and compressed in tar.gz file. The data is in .mat format: memory size of compressed file is around 226 GB. I used a download manager to download the file and extracted using 7zip application. When the extracted.mat files are opened in matlab, I get error message as, " file corrupted" sometimes else cannot read the first line. Is the error due to the multiple connection in download manager. The link to the data is:https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100788/EEG_ConvertedData.tar.gz
I wish to know how to successfully download and extract it
Relevant answer
Answer
To download and extract a tar.gz file, you can follow these steps:
  1. Open the terminal on your computer.
  2. Navigate to the directory where you want to download and extract the file.
  3. Use the wget command to download the tar.gz file. For example, if the file URL is "http://example.com/file.tar.gz", you would run: wget http://example.com/file.tar.gz
  4. Once the download is complete, use the tar command to extract the file. For example, if the file name is "file.tar.gz", you would run: tar -xzf file.tar.gz
  5. This will extract the contents of the tar.gz file into a new directory in the current directory.
Note: The x flag is used to extract the files, z is used to decompress the gzipped file, and f is used to specify the filename.
  • asked a question related to EEG
Question
1 answer
Can subjects be provided with repetitive transcranial magnetic stimulation (rTMS) during motor imagery? If it is a feasible plan, how can we remove the artifacts? I think the frequency is too high to remove.
Relevant answer
Answer
I found that someone also wants to know the answer. Thus, I try to solve my own problem.
I have written an e-mail to Professor Veniero who published an article called "TMS combined with EEG: Recommendations and open issues for data collection and analysis". She thought it might be a bit more difficult to clean the data, but it is feasible.
I hope this answer can help others an if anybody wants to discuss the question with me you can leave a message or send e-mail to tianqingl@stumail.ysu.edu.cn
  • asked a question related to EEG
Question
5 answers
Dataset obtained from EEG machine of normal and Alzheimer for longitudinal study.
Relevant answer
Answer
Bhogaraju Anand It is useful. Thank you for your answer.
  • asked a question related to EEG
Question
4 answers
Hey, I'm trying to group my electrodes in 2 or 3 groups. But I'm not sure that what is the best methods for this. This is my electrodes that ı recording: Fp1, Fp2, F3, F4, Fz, F7, F8, C3, C4, Cz, T7, T8, P3, P4, Pz, P7, P8, O1, O2 and Oz.
Relevant answer
Answer
You can simply divided them on left and right ones and also you can swich off the Fz, Cz, Pz and Oz. Do you need me to send you an example?
  • asked a question related to EEG
Question
4 answers
The power spectral density of EEG is inversely correlated with brain activity, so lower power spectral density reflects stronger activity. Is this view correct? Applicable to all waves such as alpha, beta, theta, etc.?
Relevant answer
Answer
Hello dear,
It seems your question comes form one paper which determine the brain activity between frequencies and some tasks. I would say that
The statement that the power spectral density (PSD) of electroencephalogram (EEG) is inversely correlated with brain activity is incorrect. The EEG power spectral density measures the power of the EEG signal at different frequencies and reflects the distribution of electrical activity in the brain across different frequency bands. The PSD does not indicate the strength or intensity of brain activity as a whole, but rather the distribution of activity across different frequency bands.
Higher power in a particular frequency band within the EEG power spectrum indicates greater neural activity in that specific frequency range. For example, higher power in the alpha frequency band (8-12 Hz) may indicate greater cortical inhibition, while higher power in the beta frequency band (13-30 Hz) may indicate greater cortical activation.
In summary, EEG power spectral density is a measure of the distribution of electrical activity across different frequency bands, and higher power in a specific frequency range indicates greater neural activity in that frequency range, rather than an overall level of brain activity.
Let's discuss..
  • asked a question related to EEG
Question
6 answers
I am interested in exploring the relationships between different frequency bands in EEG Signals. Are there any standard measures that compute the relationships?
Thank you!
Relevant answer
Answer
Hi,
Yes, it is the Time Series model I was referring to.
  • asked a question related to EEG
Question
6 answers
The Epoc x collects EEG, Performance Metrics and Individual Band Power data. I am wondering if anyone has used the Epoc x and found a particular program especially useful in analyzing the results?
Relevant answer
Answer
Jakob Sajovic thank you so much for your thorough and extremely helpful response.