Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(makoto_mi) FMRIB: if the last 'qrs' cue is too close to the data end, 'remove pulse artifact' stopps #4

Open
nucleuscub opened this issue Dec 10, 2019 · 0 comments

Comments

@nucleuscub
Copy link
Member

nucleuscub commented Dec 10, 2019

Issue transferred from Bugzilla(Bug 584)

Makoto 2007-12-23 21:43:24 PST
Hi Arno and everyone. How are you doing?
I found another type of bug in FMRIB.
This bug occurs when there is the last 'qrs' cue too close to the data end, 'remove pulse artifact' (fmrib_pas.m) stopps. This bug resembles the last one I reported.

The error message is

??? Index exceeds matrix dimensions.

This violation occurs in fmrib_pas.m line 198,

pcamat(p-1,:);=eegchan(peakI(p)-PArange:peakI(p)+PArange);

where,

peakI(p)-PArange:peakI(p)+PArange

exceeds the data length of eegchan.

To avoid this, simplly delete the last 'qrs' cue. It worked, at least in my environment.

The same type of bug is expected at the beginning of the data, so I would suggest one should delete the first and the last qrs cues after identifying them.

I'll report this to Rami.

Hope this helps someone.

Makoto

[reply] [−]Comment 1Arnaud Delorme 2009-07-02 15:14:16 PDT
Rami is not handling this project anymore. So it is up to whoever finds the problem to fix it.

Thanks a lot,

Arno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant