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

Re-orient parallelization strategy. #244

Open
cwwalter opened this issue Apr 8, 2020 · 0 comments
Open

Re-orient parallelization strategy. #244

cwwalter opened this issue Apr 8, 2020 · 0 comments
Labels
Milestone

Comments

@cwwalter
Copy link
Member

cwwalter commented Apr 8, 2020

In the current version of imSim, we pass a list of objects and a sensor to each core in a multi-processor pool. So each sensor is done with all of its objects sequentially and each sensor is done independently of each other and the image itself is returned.

In the redesign, instead we will farm out each astronomical object independently (thorough something like MP or MPI ) and the returned information will be a list of photos from that object. Then all of the photons will be gathered together in a pool and rained down on the sensor.

This has many advantages including but not limited to the ability to precisely track photon provenance if desired, better physical realism for sensor effects such as B/F, better interfacing with batiod, and the ability to consider the local plane as a whole.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant