-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Hello
Did you update how this function works recently? I have been getting some weird results: even using the 'fit' option the w0 this function returns is about 3 times larger than I expect.
I compared this to a simple function I wrote that simply takes the column of the electric field data containing the highest peak field and fitting a gaussian to it, which gave a w0 of approx 10 um compared to the get_laser_waist() function that gave a 35 um width.
My memory of running get_laser_waist() on the same simulation data a few months ago was that it also gave a 10um waist, although unfortunately I was over-zealous in my sleuthing and over-wrote these old results.
Best wishes, and high praise for the generally great software that you have created
Jon Wood