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

Parallelize LOR loading in mlem #18

Closed
jacg opened this issue Jun 17, 2022 · 0 comments
Closed

Parallelize LOR loading in mlem #18

jacg opened this issue Jun 17, 2022 · 0 comments

Comments

@jacg
Copy link
Owner

jacg commented Jun 17, 2022

When reconstructing > 800 million LORs with OSEM on a decent number of threads, the time taken to

  1. read the LORs from file
  2. fill scattergram
  3. convert HDF5 LORs into MLEM LORs

takes a significant proportion of the total time.

Step 3 should be trivially parallelizable.

2 would require separate scattergrams to be filled on each thread, and joined together at the end, similar to what is being done with images in the MLEM/OSEM iterations.

As for 1, this involves reading from SSD and I have no idea whether this can be parallelized sensibly.

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