Skip to main content

Paper out: modelling residual polarization ellipticity in OpticStudio

  • Nov 15, 2026 1:29 PM UTC
  • 4 replies
  • 50 views

David.Nguyen
Luminary
Forum|alt.badge.img+3

Hi all,

I wanted to share a small paper that this community played a part in. I knew ​@Jeff.Wilde  through the forum, so when I got stuck trying to understand some polarization measurements, I knew he’d be a good person to ask. He kindly offered to help, and he ended up as a co-author.

The paper is about trying to reproduce a waveplate compensation method for polarization-resolved SHG microscopy. It didn’t work as well for us as expected: some residual ellipticity remained that we couldn’t get rid of. We used OpticStudio to explore why. A possible explanation is that the dichroic mirror’s retardance depends on wavelength, and a femtosecond pulse is broad enough that no single waveplate setting corrects all of it.

Some parts that might interest people here:

  • Linear retarders modelled as Jones matrix surfaces, with ZPL macro solves for each matrix element
  • Waveplate angles swept through the ZOS-API using ZOSPy (​@chaasjes, ​@jwbeenakker)
  • Polychromatic behaviour approximated by summing intensities from 15 wavelengths

The OpticStudio files and Python code are on GitHub, in case they’re useful to anyone:
https://github.com/Omnistic/residual_ellipticity_in_pshg_simulations

Paper (open access): https://doi.org/10.1371/journal.pone.0357256

Thanks again, Jeff, and thanks to this community for the connections it makes possible.

David

4 replies

Jeff.Wilde
Luminary
Forum|alt.badge.img+3
  • Luminary
  • Nov 16, 2026 5:45 AM UTC

Thanks for the shout-out David!  It was a pleasure working with you.  The publication should prove very helpful to those working on pol-resolved SHG microscopy.

Looking forward to more of your insightful posts on the forum!

Jeff


Mark.Nicholson
Luminary
Forum|alt.badge.img+3

This is excellent work, David and Jeff. I have to admit being rather pleased at how well Zemax modeled this system. I do have a couple of questions on the Zemax modeling side though:

1. I presume you modeled the SHG source at its own wavelength, i.e. the wavelengths were the frequency doubled wavelength?

  1. Did you try modeling the spectral bandwidth of the femto second pulse using either multiple wavelengths with appropriate weights, or by using multi-configs to scan the wavelength?
  2.  How was the quarter wavelplate modeled? From my reading of the paper you used the Jones matrix, but were you able to use the birefringent In/Out surface?
  3. Birefringence is one area where the non-sequential model is actually better than the sequential. In sequential mode you have to use configurations for each polarization, and then add across configurations. In NS mode, the birefringent model is actually easier and more directly physical: you don’t need to use configurations at all. If you save to a ray database you should be able to see the retardation applied to each ray individually
  • I hope this helps and doesn’t just cover stuff you already tried :-) And again, well done on a great simulation

    Mark

David.Nguyen
Luminary
Forum|alt.badge.img+3
  • Author
  • Luminary
  • Dec 1, 2026 8:42 AM UTC

Thanks ​@Mark.Nicholson. Let me see if I can answer your questions.

  1. In the end, we focused on the polarization control of the fundamental beam, therefore, we never really considered the SHG signal. It is true that the SHG signal, is also undergoing polarization changes on the detection path. In a future work, it would be nice to investigate the SHG signal as well.
  2. For the wavelengths, we used the MC for the actual wavelength, but the weights are part of the Python code, which is also where they are combined. So, every wavelength gets a curve, the curve is multiplied by a weight, and all curved are summed to produce the (incoherent) poly-chromatic version.
  3. We started simple with the Jones Matrix approach, and since it was showing significant results we did not push it further, I like the idea of using a birefringent In/Out. If that were to work, I’d be curious to see if high-NA objective lens polarization effects could also be modeled (not covered in the paper, but there are references to this documented problem).
  4. That’s a good point actually. As said, we did use the MC, and as a result, the simulations are quite lengthy. For a finely sampled poly-chromatic simulation, it easily took days… I now wonder if we couldn’t have made it faster in NS mode.

Thanks again for raising those point, they do help a lot. My feeling is that those polarization issues are somewhat underestimated, we had to dig a bit to find the relevant information. I myself was guilty of thinking that “just use a quarter-waveplate to compensate ellipticity” was going to cut it. And still, we think there might be more to it than just polychromaticity. But, soon, our facility should receive a picosecond laser, and I’m hoping to try the compensation there as well. If our claims are right, there it should be possible to compensate the ellipticity due to the narrower bandwidth (at the cost of a lower signal).

Take care,

David


Mark.Nicholson
Luminary
Forum|alt.badge.img+3

Excellent, thank you