How to simulate nonstandard Gaussian source

  • 20 June 2021
  • 2 replies

I want to simulated a VCSEL source, but its source is not a standard Gaussian source. The beam file curve is shown in below. I want to know how to simulate it.


Best answer by David 20 June 2021, 23:33

View original

2 replies

Userlevel 4
Badge +3

Hello Chang,

For ray tracing simulation in non-sequential mode, a Source Radial can be used to define an arbitrary axially symmetric source.

I took the line graph image and read off the intensities corresponding to the vertical grid lines. I used Mathematica to convert the x-axis values to angles using angle = ArcTan[w/15] where w is the position. Only non-negative position values are used because of symmetry. I then interpolated the data to obtain intensity values corrsponding the a regular list of angles, 0 to 18 degrees by 2. These values are then used to define a radially symmetric source. I attach the ZAR file.

Kind regards,


Dear David,

Thank you for your help. You really helped me out with your perfect solution to my problem.


Xiaohui Chang