Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

laser plasma diagnostics get_laser_waist() #370

Open
jwood99 opened this issue May 15, 2023 · 2 comments
Open

laser plasma diagnostics get_laser_waist() #370

jwood99 opened this issue May 15, 2023 · 2 comments

Comments

@jwood99
Copy link

jwood99 commented May 15, 2023

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

@RemiLehe
Copy link
Member

RemiLehe commented May 20, 2023

Hi Jon,

Thanks for raising this issue. It could be that this is related to this change in the code: #345

Would you be willing to post the openPMD file from which you are extracting the waist? That way, we could reproduce and debug the issue ourselves.

@jwood99
Copy link
Author

jwood99 commented May 22, 2023

Dear Remi

I would be happy to send you an openPMD file but the filesize is 1.5 GB for this file. If you let me know your email address I should be able to send you a One Drive link to the file.

Cheers

Jon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants