-
Notifications
You must be signed in to change notification settings - Fork 42
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
efficency deficiency in findorientations.generate_orientation_fibers #74
Comments
findorientations.generate_orientation_fibers
Agreed. For more densely populated samples it may be more efficient to skip the generation stage and load a fixed grid (an npz file perhaps) on orientation space. The machinery is there, we just have to decide where we would store the pretabulated grids Sent from my iPhone
|
Darren: the other issue for the seeded approach is not to take too fine of steps on the fiber. Heuristic ally, anything below 0.5 degree steps is probably overkill, and will lead to very large search spaces (>5e6 points) in which case a full grid would be more appropriate. Sent from my iPhone
|
Perhaps we should get Oscar involved in optimizing this function? |
I'm attempting to run
find-orientations
on a more interesting sample, one with a few hundred orientations as opposed to ~4. It takes about 3.5 minutes beforefind-orientations
gets to the point where it starts multiprocessing onpaintGrid
. I think the bottleneck is infindorientations.generate_orientation_fibers
. An abort yielded:And inspecting the function, I see:
Seems like a candidate for optimization at some point.
The text was updated successfully, but these errors were encountered: