LASY-org / lasy

https://lasydoc.readthedocs.io
Other
29 stars 23 forks source link

General question #281

Closed koesterf closed 2 months ago

koesterf commented 2 months ago

Hi,

Is it possible to set a non-gaussian temporal shape of the laser pulse ? Can I do it directly in FBPIC ?

Thanks, Frank

RemiLehe commented 2 months ago

Thanks for the question.

You could define the slow rising and falling temporal shape in a numpy array and then pass it to this class: https://lasydoc.readthedocs.io/en/latest/api/profiles/longitudinal/longitudinal_profile_from_data.html

koesterf commented 2 months ago

Hi @RemiLehe,

Thanks for replying. I think this will work. I will try to generate the laser pulse and also try to load it in FBPIC. If any issue will appear, I may seek your advice.

Thanks a lot. Frank

koesterf commented 2 months ago

Hi @RemiLehe,

It worked ! Now, I need to try to load the data in FBPIC. I will try it soon. If I fail, I may need your help in loading data properly in FBPIC.

Thanks, F