Replies: 2 comments
-
I think I've figured it out using the trace module. First the definition of the optical stack
And then the raytracing
It's really a great tool once you've found your way! |
Beta Was this translation helpful? Give feedback.
-
Hello @quark159, Sorry for the delay in responding. Glad you found a solution with ray-optics. There are a variety of ways of doing this type of thing with ray-optics. Here's a road map of sorts to show how the pieces can be put together. The main parts are in the raytr package.
These modules are used by the layout and interactivefigure subclasses to draw the lens pictures with the rays. They are also used by the graphics classes in analysisfigure module as the data sources. Thank you for posting the question and your solution; let me know if you have any other questions. Regards, Mike |
Beta Was this translation helpful? Give feedback.
-
Hi @mjhoptics
First of all thank you very much for providing this software!
I was wondering if it is possible to define custom rays? For this particular example I had an array of light sources in mind, where the light is sent to different directions using a lens system, see the figure below. I had hoped it is possible to define the starting point and angle of a couple of rays to define each light source and let the ray tracer calculate the overall path of every ray. Is this possible?
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions