quartiq / rayopt

Python optics and lens design, raytracing
GNU Lesser General Public License v3.0
254 stars 50 forks source link

Bump minimum required Python to 3.7 #32

Closed mabl closed 4 years ago

mabl commented 4 years ago

Since Python 2.7 is end of life, bump support to Python 3 only. The oldest version with active full support is python 3.7. This also gives us support for glorious f-strings.

jordens commented 4 years ago

Thanks for the great work. If you feel like contributing more, please add yourself to authors and I'll add you to the project.

mabl commented 4 years ago

Thanks for the great work. If you feel like contributing more, please add yourself to authors and I'll add you to the project.

For now, my contributions are minor. No need to add me to the authors.

I'm looking into geometrical optics these days, and evaluate the state of python based ray tracers. This is the one which worked first try for me, and your extensive list of examples is great! I could directly start and use it to trace a proprietary Zemax file I had to analyse. And I even directly found a flaw in the optics. Great!

I do think that the code could benefit from a some cleanup, so my plan is to dig through it and understand as much as possible :-) Let's see how it goes.