[Eeglablist] Error message on
Makoto Miyakoshi
mmiyakoshi at ucsd.edu
Wed Nov 9 13:36:59 PST 2022
Ok James, no worries. See Velu's reply and click the link.
> I noticed the other day that there are pre-computed filter
coefficients also for 256 Hz (here
<https://urldefense.com/v3/__https://github.com/sccn/clean_rawdata/blob/4317faf8b5d58664828a45ceda9a27bf35c7a7ee/asr_calibrate.m*L146__;Iw!!Mih3wA!EI7gdAMD1kDSKhqcTAcIW2izk4RPJ_YGxpFajhv92K35PNPisdyMsG4Bf5Ga2KBAKs2DDXbkUnul8V05T04MwPt7NB4Q$>
)
You need to modify this code by adding the following lines maybe after line
145.
case 250
[B,A] = deal([Hyeonseok's values here]);
Then save the .m file.
This updates your clean_rawdata() so that it applies the precalculated
filter for the datasets sampled at 250 Hz when the Matlab toolbox is
missing.
Makoto
On Wed, Nov 9, 2022 at 1:05 PM James Lawrence <jlawrence at hpu.edu> wrote:
> Aloha Hyeonseok
>
> I am such a beginner here, what do I do with this code?
>
> Mahalo
> James
>
> James Le Marchant Lawrence Ph.D.
>
> Assistant Professor of Biology
>
>
> [image: HPU Logo]
> ------------------------------
> *From:* eeglablist <eeglablist-bounces at sccn.ucsd.edu> on behalf of Makoto
> Miyakoshi via eeglablist <eeglablist at sccn.ucsd.edu>
> *Sent:* Tuesday, November 8, 2022 4:28 PM
> *To:* EEGLAB List <eeglablist at sccn.ucsd.edu>
> *Subject:* Re: [Eeglablist] Error message on
>
> [CAUTION: External Sender]
>
>
> Very cool, Hyeonseok. You are a good SCCN!
>
> On Tue, Nov 8, 2022 at 6:20 PM Hyeonseok Kim <hyk030 at ucsd.edu> wrote:
>
> > Sorry, syntax error.
> >
> > This is right.
> >
> >
> > [B,A] = deal([1.731333108542579 -4.168133532956960 5.373799008441655
> > -5.572125643438784 4.701226513165079 -3.342087996552413
> > 1.950454887249051 -0.766909658912055
> > 0.233281060974831],[1.000000000000000 -1.638494927666589
> > 1.739878142990536 -1.836386578834551 1.392417753679788
> > -0.953780426622191 0.505158779550746 -0.159504514603055
> > 0.054527839984798 ]);[B,A] = deal([1.731333108542579 -4.168133532956960
> > 5.373799008441655 -5.572125643438784 4.701226513165079
> > -3.342087996552413 1.950454887249051 -0.766909658912055
> > 0.233281060974831],[1.000000000000000 -1.638494927666589
> > 1.739878142990536 -1.836386578834551 1.392417753679788
> > -0.953780426622191 0.505158779550746 -0.159504514603055
> > 0.054527839984798 ]);
> >
> > Best regards,
> > Hyeonseok
> > ------------------------------
> > *From:* Hyeonseok Kim <hyk030 at UCSD.EDU>
> > *Sent:* Tuesday, November 8, 2022 6:18 PM
> > *To:* EEGLAB List <eeglablist at sccn.ucsd.edu>; Makoto Miyakoshi <
> > mmiyakoshi at ucsd.edu>
> > *Subject:* Re: [Eeglablist] Error message on
> >
> > This is the precomputed filter for 250Hz.
> >
> > [B,A] = deal(1.731333108542579 -4.168133532956960 5.373799008441655
> > -5.572125643438784 4.701226513165079 -3.342087996552413
> > 1.950454887249051 -0.766909658912055
> > 0.233281060974831,[1.000000000000000 -1.638494927666589
> > 1.739878142990536 -1.836386578834551 1.392417753679788
> > -0.953780426622191 0.505158779550746 -0.159504514603055
> > 0.054527839984798 ]);
> >
> > You can use this.
> >
> > Best regards,
> > Hyeonseok
> >
> > ------------------------------
> > *From:* eeglablist <eeglablist-bounces at sccn.ucsd.edu> on behalf of
> Makoto
> > Miyakoshi via eeglablist <eeglablist at sccn.ucsd.edu>
> > *Sent:* Tuesday, November 8, 2022 4:05 PM
> > *To:* EEGLAB List <eeglablist at sccn.ucsd.edu>
> > *Subject:* Re: [Eeglablist] Error message on
> >
> > Good point Velu, actually the precomputed filter for 250 Hz is missing,
> my
> > bad. I don't think this part is affected by the version changes,
> definitely
> > not within the past few years.
> >
> > Makoto
> >
> > On Tue, Nov 8, 2022 at 6:15 AM Velu Prabhakar Kumaravel <
> > velu.kumaravel at unitn.it> wrote:
> >
> > > Or James is probably using an older version of ASR.
> > > I noticed the other day that there are pre-computed filter
> > > coefficients also for 256 Hz (here
> > > <
> >
> https://urldefense.com/v3/__https://github.com/sccn/clean_rawdata/blob/4317faf8b5d58664828a45ceda9a27bf35c7a7ee/asr_calibrate.m*L146__;Iw!!Mih3wA!EI7gdAMD1kDSKhqcTAcIW2izk4RPJ_YGxpFajhv92K35PNPisdyMsG4Bf5Ga2KBAKs2DDXbkUnul8V05T04MwPt7NB4Q$
> > >
> > > )
> > >
> > >
> > > Velu Prabhakar Kumaravel, PhD Student
> > > Center for Mind/Brain Sciences,
> > > University of Trento, Italy
> > >
> > >
> > > On Tue, 8 Nov 2022 at 15:01, Makoto Miyakoshi via eeglablist <
> > > eeglablist at sccn.ucsd.edu> wrote:
> > >
> > >> Dear James,
> > >>
> > >> In case users do not have the toolbox, the ASR tool I know of has
> > >> precomputed filters for several pre-set sampling rates. I think that
> for
> > >> 256Hz is missing, though that for 250Hz is present. If you re-sample
> the
> > >> data to 250Hz, it should work.
> > >>
> > >> Makoto
> > >>
> > >> On Fri, Oct 28, 2022 at 5:33 PM James Lawrence <jlawrence at hpu.edu>
> > wrote:
> > >>
> > >> > Thank you both for your input. How would I get in touch with Arno,
> > >> Makoto
> > >> > or Christian?
> > >> >
> > >> > James
> > >> >
> > >> > James Le Marchant Lawrence Ph.D.
> > >> >
> > >> > Assistant Professor of Biology
> > >> >
> > >> >
> > >> > [image: HPU Logo]
> > >> > ------------------------------
> > >> > *From:* Cedric Cannard <ccannard at protonmail.com>
> > >> > *Sent:* Friday, October 28, 2022 6:45 AM
> > >> > *To:* Velu Prabhakar Kumaravel <velu.kumaravel at unitn.it>
> > >> > *Cc:* James Lawrence <jlawrence at hpu.edu>; EEGLAB List <
> > >> > eeglablist at sccn.ucsd.edu>; Arnaud Delorme <arnodelorme at gmail.com>;
> > >> Makoto
> > >> > Miyakoshi <mmiyakoshi at ucsd.edu>
> > >> > *Subject:* Re: [Eeglablist] Error message on
> > >> >
> > >> > *[CAUTION: External Sender] *
> > >> >
> > >> > It's definitely not the plugin because I use it on data with 256 Hz
> > >> sample
> > >> > rate all the time.
> > >> > It's because you don't have Matlab signal processing toolbox!
> > >> >
> > >> > Not sure what the code does in this case, sorry. Maybe Arno, Makoto,
> > or
> > >> > Christian can help?
> > >> >
> > >> > Cedric
> > >> >
> > >> >
> > >> > ------- Original Message -------
> > >> > On Friday, October 28th, 2022 at 7:24 AM, Velu Prabhakar Kumaravel <
> > >> > velu.kumaravel at unitn.it> wrote:
> > >> >
> > >> > I have used ASR on data collected with 256 Hz. I also verified the
> > code
> > >> in
> > >> > GitHub
> > >> > <
> > >>
> >
> https://urldefense.com/v3/__https://github.com/sccn/clean_rawdata/blob/master/asr_calibrate.m*L146__;Iw!!Mih3wA!DsRWiSoWXJju2MNsyt0EOJBLfG1hf8fcSajYFvJtb-_9YA5m3R2zvB_Q0JGU0tsPCERy8qQAI_Fzj-L6RsKleg$
> > >> >,
> > >> > which has a case for 256 Hz. My best bet is that there's some issue
> > with
> > >> > the toolbox license.
> > >> >
> > >> > To confirm it is a license issue, please type "which yulewalk" in
> the
> > >> > command window. If it says '*yulewalk' not found*, you'd have to
> > install
> > >> > the Signal Processing toolbox.
> > >> >
> > >> > Best,
> > >> >
> > >> > Velu
> > >> >
> > >> > On Thu, Oct 27, 2022, 23:08 Cedric Cannard via eeglablist <
> > >> > eeglablist at sccn.ucsd.edu> wrote:
> > >> >
> > >> > Dear James,
> > >> >
> > >> > Never seen this message before. Sounds like it's either your sample
> > rate
> > >> > that might be unstable (try to downsample to 200 hz see if that
> fixes
> > >> it),
> > >> > or if you didn't highpass-filter your signal. Either check the box
> in
> > >> > clean_rawdata (top of the window), or Tools > filter > type 1 in the
> > >> lower
> > >> > edge box.
> > >> >
> > >> > If that doesn't do it, maybe someone knows more about this problem
> and
> > >> can
> > >> > help.
> > >> >
> > >> > Cedric
> > >> >
> > >> >
> > >> >
> > >> > ------- Original Message -------
> > >> > On Wednesday, October 26th, 2022 at 5:57 PM, James Lawrence <
> > >> > jlawrence at hpu.edu> wrote:
> > >> >
> > >> >
> > >> > > Aloha
> > >> > >
> > >> > > I am very new to using EEGLab and ran the "Reject data using Clean
> > >> > Rawdata and ASR" function and received the following error message.
> > >> > >
> > >> > > "The yulewalk() function was not found and there is no
> pre-computed
> > >> > spectral filter for your sampling rate. If you would like to use the
> > >> > default spectral filter please try to resample to one of the
> supported
> > >> > rates (110, 128, 200, 256, 300, 500, 512) or get the appropriate
> > toobox
> > >> > license (you can also disable the spectral weighting feature or
> supply
> > >> your
> > >> > own precalculated IIR filter coefficients).,
> > >> > >
> > >> > > This is not a bug (Error occurred in function asr_calibrate() at
> > line
> > >> > 155)"
> > >> > >
> > >> > > I used a g.tec device to capture the data which sampled at 250Hz.
> > What
> > >> > should I do?
> > >> > >
> > >> > >
> > >> > > James Le Marchant Lawrence Ph.D.
> > >> > >
> > >> > > Assistant Professor of Biology
> > >> > >
> > >> > >
> > >> > > [HPU Logo]
> > >> > > _______________________________________________
> > >> > > 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
> > >> > _______________________________________________
> > >> > 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
> > >> >
> > >> >
> > >> >
> > >> _______________________________________________
> > >> 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
> > >>
> > >
> > _______________________________________________
> > 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
> >
> _______________________________________________
> 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
>
More information about the eeglablist
mailing list