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

Raytracing #60

Open
brandondube opened this issue Aug 15, 2021 · 2 comments
Open

Raytracing #60

brandondube opened this issue Aug 15, 2021 · 2 comments
Labels

Comments

@brandondube
Copy link
Owner

This is the catch-all bucket for things needed for prysm to do raytracing

@zhangderby
Copy link

Heya, I'd like to play around with prysm's raytracer for modeling a reflective system I'm working with. Do you have an example raytrace I could take a look at to help me get started?

@brandondube
Copy link
Owner Author

There are actually two secret tutorials hidden in the docs source,

https://github.com/brandondube/prysm/blob/master/docs/source/tutorials/Raytracing-Fundamentals.ipynb

https://github.com/brandondube/prysm/blob/master/docs/source/tutorials/Raytracing-OAP-Trains.ipynb

However I think neither actually runs at the moment, due to a breaking change in the plotting functions.

Unfortunately the raytracer is not very useful right now. It can give you the position and direction cosines of arbitrary rays sequentially traced through a system, but if you want to do most anything useful like make an OPD map, it does not have the logic to find EP/XP reference spheres, or do the equally inclined chords talked about in Hopkins' 50+ page monster of a raytracing paper.

If you wanted to add those I would merge the PR in a heartbeat ;)

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

2 participants