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

Incorrect zeros included in emsd average when particles are dropped #772

Open
vivarose opened this issue Aug 16, 2024 · 1 comment
Open

Comments

@vivarose
Copy link
Contributor

Have you ever noticed that trackpy imsd functions always look like they drop to zero at the longest lag time?

They shouldn't, but they do.

This zero is included in the emsd average. This appears to be incorrect.

I don't think this is particularly rare. The walkthrough shows many imsds that drop to zero. Each of them would pull down the emsd incorrectly.

I have posted a short jupyter notebook that shows the issue here: test_trackpy.ipynb

@vivarose
Copy link
Contributor Author

As I wrote in my pull-request, now that I've fixed the issue, I find that it didn't make that big of a difference on my data. But I still can't stand inaccuracies, so I plan to use my fixed version going forward!

vivarose added a commit to horowitz-lab/trackpy that referenced this issue Aug 18, 2024
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