[Eeglablist] Event markers removed by clean_artifacts()
Arnaud Delorme
adelorme at ucsd.edu
Mon Jan 20 17:36:37 PST 2025
Hi James,
There is no function for doing that. However, EEG.etc.clean_sample_mask contains the samples that were removed. You could copy these to the original dataset to achieve what you outlined in your message.
Arno
> On Jan 20, 2025, at 16:20, Lue, James C. via eeglablist <eeglablist at sccn.ucsd.edu> wrote:
>
> Hi Folks,
>
> I use the clean_artifacts() function as part of my preprocessing pipeline. I noticed if an event marker is situated in a segment of data that the function deems to be artifactual, the segment of data is removed along with the event marker.
>
> Is there a way to prevent the function from doing this? I want to preserve all my event markers, even if some of them are embedded in bad data.
>
> James Lue
> _______________________________________________
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu or visit https://sccn.ucsd.edu/mailman/listinfo/eeglablist.
More information about the eeglablist
mailing list