You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I used laser.show() , I noticed a strange behavior of the time-axis. Please could you see the code and figure below.
wavelength = 0.8e-6 # Laser wavelength in meters
polarization = (1, 0) # Linearly polarized in the x direction
energy = 1.5 # Energy of the laser pulse in joules
spot_size = 5.0e-2 # Spot size in the near-field: millimeter-scale
pulse_duration = 30.0e-15 # Pulse duration of the laser in seconds
t_peak = 0.0 # Location of the peak of the laser pulse in time
laser_profile = CombinedLongitudinalTransverseProfile(
wavelength,
polarization,
energy,
GaussianLongitudinalProfile(wavelength, pulse_duration, t_peak),
SuperGaussianTransverseProfile(spot_size, n_order=16),
)
dimensions = "rt" # Use cylindrical geometry
lo = (0, -2.5 * pulse_duration) # Lower bounds of the simulation box
hi = (1.1 * spot_size, 2.5 * pulse_duration) # Upper bounds of the simulation box
num_points = (5000, 1000) # Number of points in each dimension
laser = Laser(dimensions, lo, hi, num_points, laser_profile)
laser.show()
plt.show()
# now focus the pulse using axiparabola
f0 = 50.0e-2 # Focal distance
delta = 1.0e-2 # Focal range
R = spot_size # Radius
axiparabola = Axiparabola(f0, delta, R)
laser.apply_optics(axiparabola)
laser.propagate(f0)
laser.show()
plt.ylim(-0.25e-3, 0.25e-3)
plt.show()
The text was updated successfully, but these errors were encountered:
Hi,
I am testing the flying focus example FF.
When I used laser.show() , I noticed a strange behavior of the time-axis. Please could you see the code and figure below.
The text was updated successfully, but these errors were encountered: