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

_blink_points() now finds blinks after a long one #18

Merged
merged 1 commit into from Oct 4, 2023

Conversation

JulietaLaurino
Copy link
Contributor

I have changed _blink_points() in order not to return None if the blink is too long (which means no more blinks). Now, if the blink is too long, it searches for blinks in the remaining trace (vtrace[iend:]) and if it finds one, it corrects the indexes by adding the iend.

@smathot smathot merged commit b7c6a26 into open-cogsci:1.0 Oct 4, 2023
@smathot
Copy link
Collaborator

smathot commented Oct 4, 2023

Thanks for this! I included the fix, added a small extra fix to it, and added testcases.

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

Successfully merging this pull request may close these issues.

None yet

2 participants