Skip to content

Commit

Permalink
fix script bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Massimo committed Nov 21, 2023
1 parent 8eb74ff commit 412f70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Postprocessing_Scripts/Laser_waist_theory_vs_Smilei.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
half_waist_simulated.append( half_waist )

# analytical waist, Rayleigh formula
waist_analytical.append(waist0*math.sqrt(1.+((S.namelist.Lx+iter*dt-S.namelist.x_focus)/Zr)**2))
waist_analytical.append(waist0*math.sqrt(1.+((S.namelist.center_laser+iter*dt-S.namelist.x_focus)/Zr)**2))

waist_analytical= np.asarray(waist_analytical)
waist_simulated = 2.*np.asarray(half_waist_simulated)
Expand Down

0 comments on commit 412f70b

Please sign in to comment.