-
Notifications
You must be signed in to change notification settings - Fork 17
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
mt_exclude_initiation not working #14
Comments
Hi Pierpaolo, thanks for raising the question. As far as I can see, everything seems to work fine with the If you run the following code on the example data:
and then compare the original trajectory data (stored in trajectories) with the modified trajectory data (stored in mod_trajectories), you will see that all initiatial periods without movements have been removed. For example, Notably, the standard trajectory plot of x, y positions will look unchanged as you don't really see the initial period without movement in it. Does this help? Or were you referring to a different issue? Best, Pascal |
Hi Pascal, Thanks a lot for your quick reply. You're right, I had mistakenly overwritten the original trajectory array in the However, I still have difficulty with my own data and also the
I still get the same trajectory data from both trajectory arrays (unmodified and modified) in the two print statements. Shouldn't Best, |
Hi Pierpaolo, thanks for providing the additional example. I took a look at it and you are correct, there indeed is a bug in Specifically, The issue has probably so far not received much attention (including me not spotting it), because many mouse-tracking analyses use Thanks a lot for bringing this issue up! I will fix it now and push a new version to CRAN within the next days. Best, Pascal |
Hi,
Thanks for the awesome package! I have been trying to use the mt_exclude_initiation function, but it does not seem to work. That is, the returned trajectory array seems unchanged. As far as I can see, this applies also to the example in the documentation (with mt_example). I have also tried to apply it to the KH2017 data set. Same result - nothing seems to happen. The resulting trajectory data are identical to the non-modified trajectories. Am I doing something wrong?
Best,
Pierpaolo
The text was updated successfully, but these errors were encountered: