OpticSim.jl icon indicating copy to clipboard operation
OpticSim.jl copied to clipboard

Add handling of diffractive optics

Open klaff opened this issue 4 years ago • 3 comments

For example, surface 1 of this part https://www.edmundoptics.com/p/12mm-dia-x-9mm-fl-vis-coated-hybrid-asphere/20519/ combines an aspherical profile with a diffractive step pattern.

klaff avatar Mar 24 '21 23:03 klaff

I wrote some (very) basic support for some diffractive elements, specifically planar diffraction gratings and HOEs. It would be amazing to extend this to components link the example you gave - the current code should provide a good basis for doing so.

I don’t think this is a high priority for any of the current team but if you want to have a go then that would be fantastic!

friggog avatar Mar 25 '21 07:03 friggog

I am tempted but I think I will throw a couple of other problems at OpticSim (which I believe it can already handle) and get to learn the package first.

Is the code you mentioned in the package already? And/or did you have a reference (paper or book) for the approach you took? Thank you!

klaff avatar Mar 25 '21 12:03 klaff

It’s all in Grating.jl - the equation numbers from kogelnik are commented, although I think I left out a reference to the actual paper - it’s coupled wave theory for thick hologram grating

friggog avatar Mar 26 '21 18:03 friggog