[Eeglablist] Consult about Error "Warning: vis_artifacts failed. Skipping visualization."

Sze Sui Lung u3564255 at connect.hku.hk
Wed Jun 1 00:38:48 PDT 2022


Dear all,

I would like to consult you about a failure to plot rejected data after using Clean_Rawdata and the ASR algorithm. I will detail (1) the setting of EEGLAB and MATLAB on my computer and (2) the whole pipeline by the application of Clean_Rawdata and the ASR algorithm.

Setting:
I am using "MATLAB R2022a" and "EEGLAB v2022.0" on a DELL Inspiron 15 5510 that uses Windows.

Procedure:

  1.  I open MATLAB and type EEGLAB in the command window.
  2.  I import a .cnt file / .set file to EEGLAB. (I tried both types of files but still got the warning "vis_artifacts failed. " on the bottom.)
  3.  I load channel locations. I choose the MNI coordinate file for BEM dipfit model.
  4.  The dataset was referenced to CPz online, and I rereference data to the average of the two mastoids offline, following steps in "https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.cimec.unitn.it_tiki-2Dindex.php-3Fpage-3DData-2Bpre-2Dprocessing-23Re-2Dreferencing&d=DwIFAw&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=M0yysk29kww41urOT1NdViRbKWqyYZX3f8YlcDxPBSEBgVJG-oUCh_hpNQEgCRZ5&s=_kzn2h4eG18OEEA8X-Yrbd8QGf2QQ_d8Qdvw6L0NVUo&e= ".
     *   First, I go to Edit > Channel locations, and I choose the default MMI coordinate file.
     *   Second, in the window, I go to the last channel page (i.e. Trigger), and I click "Append".
     *   Third, I type "CPz", which is the online reference channel, in the field "Channel label ("label")". Then, I click "Look up locs", and choose the MNI coordinate file again.
     *   Fourth, I click "Set reference", and type "1:34" in the field "Channel indices" and type "CPz" in the field "Reference".
     *   Fifth, in the "pop_reref - average reference or re-reference data" window, I choose "re-reference data to channel(s)", and I choose one mastoid (e.g., TP9) next to this option.
     *   Sixth, I check "Retain ref. channel(s) in data", and choose "CPz" for "Add old ref. channel back to the data". After that, I go to the same window again, choose "re-reference data to channel(s)", and select both "TP9" and "TP10" for this option. Then, I click "Ok".
  5.  I first low-pass filter the data at 30 Hz, and then high-pass filter the data at 1 Hz in the "Filter the data -- pop_eegfiltnew()".
  6.  I apply "pop_clean_rawdata()", leaving every parameter unchanged.
  7.

After applying "pop_clean_rawdata()", I cannot see the pop-up window showing the rejected data, and I receive this error message:
> Warning: vis_artifacts failed. Skipping visualization.
> In pop_clean_rawdata (line 180)

Could you please help me with this issue? Thank you so much in advance.

Best regards,
Samuel



More information about the eeglablist mailing list