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

No data cleaning in fixation_detection and saccade_detection #11

Open
Tamplier opened this issue Apr 7, 2019 · 0 comments
Open

No data cleaning in fixation_detection and saccade_detection #11

Tamplier opened this issue Apr 7, 2019 · 0 comments

Comments

@Tamplier
Copy link
Contributor

Tamplier commented Apr 7, 2019

Hello.
I'm not sure if the project is still alive (last update was 2 years ago). But...
I've tried to create some pictures with analyser and found that data with zero values isn't excluded. Because of that I have many fixations and hight "temperature" in the upper left corner. Is it a bug? There are no problems to remove missing values with the following code:

#remove empty values
mx = numpy.array(x==missing, dtype=int)
my = numpy.array(y==missing, dtype=int)
x = x[(mx+my) != 2]
y = y[(mx+my) != 2]
time = time[(mx+my) != 2]
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