[Eeglablist] [External] Re: Excluding channels in clean_artifacts

Beach, Paul paul.anthony.beach at emory.edu
Tue Jan 11 17:14:24 PST 2022


I’m anxiously awaiting the new functionality for clean_artifacts! And thanks for the suggestion, Scott. At first glance that may be a bit above my ability (namely the “copy the results back into the original dataset” bit). Is there a way to more simply save the ECG channel as a separate variable, remove it, run clean_artifacts, then append it back to the EEG structure? A simple way like this could also be applied to other functions that don’t have ‘exclude’ options (such as the fmrib plugin, which I use for pulse artifact removal).

Cheers
Paul


On Jan 8, 2022, at 3:42 PM, Scott Makeig <smakeig at gmail.com<mailto:smakeig at gmail.com>> wrote:

Paul -

While waiting for Arno to add the 'exclude channels' option, you could remove the ECG channels from the data *and save to a new dataset*, run the clean_artifacts function on the remaining data, then copy the results back into the original dataset.  This seems a kludgy solution, but not unlike what the new option will likely do, internally...

Scott

On Fri, Jan 7, 2022 at 1:10 PM Beach, Paul via eeglablist <eeglablist at sccn.ucsd.edu<mailto:eeglablist at sccn.ucsd.edu>> wrote:
Hi EEGLAB’ers,

I’m curious whether there’s an easy way in which one might be able to exclude particular channels from clean_artifacts?

I’m interested in not applying it to ECG channels as it looks like it’s occasionally causing issues with their morphology. It doesn’t look like there’s an explicit ‘exclude’ option, such as in re-referencing or other commands.

Thanks!
--
Paul Beach DO, PhD
PGY6, Movement Disorder Fellow
Department of Neurology
Emory University School of Medicine

_______________________________________________
Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam11.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fsccn.ucsd.edu-252Feeglab-252Feeglabmail.html-26data-3D04-257C01-257Cpaul.anthony.beach-2540emory.edu-257Ca7a4b15d6507450bb17608d9d2e76b5c-257Ce004fb9cb0a4424fbcd0322606d5df38-257C0-257C0-257C637772713656973096-257CUnknown-257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0-253D-257C3000-26sdata-3DZc9x7zGfPkLWMVykQNmlHb5O7tPOD6EKKwmFwruoNrA-253D-26reserved-3D0&d=DwIGaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=39s-Tv5nrl7-immF-xNMQzvVnUBmdCYeSGeb-Ukm3zFf_rK1B-_mjjNGDQ9dvPVN&s=sd4uzWqLfR9vN015cBU0NIdsAGoUM1OU-2IdhG-ZwWs&e= >
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu<mailto:eeglablist-unsubscribe at sccn.ucsd.edu>
For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu<mailto:eeglablist-request at sccn.ucsd.edu>


--
Scott Makeig, Research Scientist and Director, Swartz Center for Computational Neuroscience, Institute for Neural Computation, University of California San Diego, La Jolla CA 92093-0559, http://sccn.ucsd.edu/~scott<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam11.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fsccn.ucsd.edu-252F-7Escott-26data-3D04-257C01-257Cpaul.anthony.beach-2540emory.edu-257Ca7a4b15d6507450bb17608d9d2e76b5c-257Ce004fb9cb0a4424fbcd0322606d5df38-257C0-257C0-257C637772713656973096-257CUnknown-257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0-253D-257C3000-26sdata-3DWVlQjMEAxD17WbKf3rO7pRZJib8JQd0CavtvyW2rvvw-253D-26reserved-3D0&d=DwIGaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=39s-Tv5nrl7-immF-xNMQzvVnUBmdCYeSGeb-Ukm3zFf_rK1B-_mjjNGDQ9dvPVN&s=rQuadPh65u3nIuKeFi4gSf9goJfAmQR0RIgwoPhVwmA&e= >




More information about the eeglablist mailing list