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

Faster resolution filtering in find_spots server #1680

Merged
merged 5 commits into from
May 4, 2021

Conversation

rjgildea
Copy link
Contributor

Avoid overhead of calculating per-pixel resolution masks in spotfinding and instead perform post-filtering of spot centroids by resolution. This save ~2 seconds the first time a process sees an image from an EIGER 16M dataset. When the number of per-image analysis instances is of comparable order of magnitude to the number of images, can provide a significant time saving.

See also #1587

  • Float imports
  • Use time.perf_counter() instead of time.time()

Avoid overhead of calculating per-pixel resolution masks in spotfinding
and instead perform post-filtering of spot centroids by resolution.
This save ~2 seconds the first time a process sees an image from an
EIGER 16M dataset.

See also #1587
@ndevenish ndevenish merged commit 078ff81 into main May 4, 2021
@ndevenish ndevenish deleted the spotfinding-server-resolution branch May 4, 2021 09:27
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

3 participants