[Eeglablist] Help with viewing output from ASR

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Fri Jul 27 15:41:29 PDT 2018


Dear Kelly,

I found the problem was due to the change Mathworks made in Matlab R2014b.
https://www.mathworks.com/help/matlab/graphics_transition/why-has-the-behavior-of-resizefcn-changed.html
I fixed the problem. Now the clean_rawdata() plugin version is 0.33. Please
install and try it.

John Johnson's advice is very important. Always check potential overriding
by

which -all strjoin

Also watch out for propertygrid, it's used everywhere but their versions
could be different.

Makoto

On Thu, Jul 19, 2018 at 5:12 PM Kelly Michaelis <kcmichaelis at gmail.com>
wrote:

> Dear list,
>
> I'm fairly new to EEG, and I'm trying to implement ASR on my data, on
> which I plan to perform time-frequency analyses. I have everything
> installed and I've been following the ASR preprocssing pipeline recommended
> by Makoto.
> <https://sccn.ucsd.edu/wiki/Makoto's_preprocessing_pipeline#Alternatively.2C_cleaning_continuous_data_using_ASR_.2803.2F16.2F2018_updated.29> This
> is on Mac OSSierra and I'm using EEGLAB v14_1_2b and Matlab 2016b.
>
> I'm getting both the strjoin error with Cleanline that others have
> reported, and I get a visartifacts error from ASR, meaning I can't view the
> output from ASR to compare the original data with the ASR-cleaned data. I
> have tried the published fixes I could find for these errors, and nothing
> has worked. More details below.
>
> 1. Cleanline error: after installing Cleanline, any time I try to view a
> variable in the matlab workspace by clicking on it, a dialog box pops up
> that says
>
> "readonly
> Expected input to be one of these types:
> char
> Instead it's type was cell.
> strjoin
> 14"
>
>
> I have seen this posted here (
> https://sccn.ucsd.edu/pipermail/eeglablist/2017/013003.html) and here (
> https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1793). The bugfix says to
> add some code in cleanline at line 13, but if I open cleanline.m I don't
> understand where to add this, as line 13 is all comments. What am I
> missing?
>
>
> 2. ASR visartifacts error - the output is below. I have seen a couple
> posts about similar errors, but haven't found a fix. Can someone help? If I
> uncheck the last box in ASR ("show results for comparison) I don't get any
> output and I'm not sure how to view the rejected vs. original data. Can
> someone help?
>
> OUTPUT:
>
> Now doing final post-cleanup of the output.
> Determining time window rejection thresholds...done.
> Keeping 92.5% (3915 seconds) of the data.
> eeg_insertbound(): 175 boundary (break) events added.
> eeg_insertbound(): event latencies recomputed and 255 events removed.
> Event resorted by increasing latencies.
> Event resorted by increasing latencies.
> Use vis_artifacts to compare the cleaned data to the original.
> Undefined function or variable 'hFig'.
>
> Error in vis_artifacts/on_resize (line 300)
>         wPos = get(hFig,'Position');
>
> Error in vis_artifacts/on_window_resized (line 311)
>         on_resize();
>
> Error using vis_artifacts (line 158)
> Error while evaluating Figure SizeChangedFcn
> You might see this error due to a behavior change in the ResizeFcn
> callback.
> See ResizeFcn Returns Error After GUI Launches for more information.
>
> Current plot held
> Warning: vis_artifacts failed. Skipping visualization.
> > In pop_clean_rawdata (line 129)
> Done.
>
>
> Thank you!
> Kelly
>
>
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> 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



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20180727/80875f43/attachment.html>


More information about the eeglablist mailing list