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

Spindles without prominent peaks #19

Open
jens-k opened this issue Oct 3, 2020 · 1 comment
Open

Spindles without prominent peaks #19

jens-k opened this issue Oct 3, 2020 · 1 comment
Assignees

Comments

@jens-k
Copy link
Member

jens-k commented Oct 3, 2020

When doublechecking spindle detections, there might not be peaks going over the first threshold after smoothing. I had a case with 0 and a case with 1 peak today.

I fixed an error occurring in this case:

if ~any(isLongEnough) || ~any(MaxIsThere) || (numel(locs) > 1 && max(diff(locs)) > 0.125 * Fs)

Should we expect this to happen or should we be worried? Many of the spindles I find with the current algorithms don't 'look' like spindles. Might this be related?

@NNiethard
Copy link
Contributor

We can try with stronger smoothing and reduction of the thresholds. So far I had more false positive detections with stronger smoothing.

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

2 participants