Thank you for posting in forum !
No, it is not really possible to set a pulse duration or pulse length for a laser source. OpticStudio does not really have time dependant analysis except for the polarization map.
To do such an analysis though, you could use our API. An external program such as Matlab or Python could send pulses at given time, OpticStudio will give the result and then Matlab/Python could process it.
To learn more about our API, we have created a learning path: https://my.zemax.com/en-US/learning-paths/
Let us know if that helps and do not hesitate if you have any further questions.
Sahil Rajan
Thank you for the guidance, Sahil. When I have problems during the implementation, I'll come back to you.
All the best,
yingjie
Hello Yingjie,
My colleague Julia zhang has made an example could solve or provide you a reference to go ahead.
The left plot in the video shows varying laser pulses(amplitude) over time, the right plot shows the changing illuminance in detector.
The example is based on the sample file Diode sample.zmx, located in the folder: C:\Users\...\Documents\Zemax\Samples\Non-sequential\Sources. You can use any optical setup based on your requirement . It also produce a small video in avi format .
The full code is available within the Code Exchange here:
Please feel free to let me know if you have further question on it.
Regards
Sahil Rajan
This is great! Thanks Sahil! (and Julia)
Thanks a lot, Sahil and Julia!