I have been testing out Luna to take out EEG artifacts from the shhs1 edf files.
To remove artifacts, I am currently using the welch theorem:
However, I can't seem to figure out how to output a cleaned eeg dataset and I was wondering if anyone could help.
Also, is it possible to remove EMG and EOG(R and L) artifacts from EEG?
I have been looking around but I am not having any luck.
Any help would be appreciated.
Decided to ask on the NSRR forum, because I couldn't find any forums or anyone to contact questions I had on Luna. If there is an existing forum for Luna, please tell me about it.
You can save modified EDFs with the WRITE command: see the Commands / Outputs section of the documentation:
We have a new gmail account for Luna queries now (yet to be documented on the Luna page, but we'll do that soonish): email@example.com
The issue of EMG/EOG artifacts in the EEG is more involved, e.g. will depend on your type of data (e.g. ICA is implemented and appropriate for hdEEG). The short answer is that there are currently no specific / fully-automated approaches for that (beyond applying the same types of statistical (CHEP-MASK) epoch-wise outlier detection on EMG and EOG channels and removing those epochs). You could also use the COH or other cross-signal functions to flag epochs with excessively high coherence/correlation w/ the EEG, and then remove those, although this is currently not something that can be done in a single Luna run).
If you had other specific, published and reasonable approaches in mind, we'd in theory be happy to consider implementing it.
Thanks you for your guidance!