GNiendorf / tracepy

Ray Tracing and Optical Design in Python
https://tracepy.readthedocs.io
MIT License
61 stars 14 forks source link

How to change wavelength #24

Closed lkeller closed 1 month ago

lkeller commented 1 year ago

I see from the code that the ray class takes 'wvl' as an attribute, but how do we pass a new wavelength to ray? The call to ray_plane to create the ray bundle does not take 'wvl'. I've poked around and can't see how to do this.

Thanks

GNiendorf commented 1 month ago

Resolved by PR #31, thank you for the issue.