radiasoft / rslaser

Integrated modeling of CPA crystal-based laser amplifiers
Apache License 2.0
1 stars 1 forks source link

Fix Chirp #54

Closed k-wolfinger closed 1 year ago

k-wolfinger commented 1 year ago

Logic has been broken, needs improvement

k-wolfinger commented 1 year ago

Need to ask the user for

Then, the chirp parameter, b, can be calculated as b^2 = (tau_c / tau_0)^2 - 1

k-wolfinger commented 1 year ago

Typical application includes a positive chirp (red, low frequencies leading blue, high frequencies) followed by amplification and then a negative chirp (inverted frequency ordering to compensate for the positive chirp).

k-wolfinger commented 1 year ago

This can be achieved by the following equation: omega_chirp = omega_0 + (b*t/tau_c**2)

Where omega relates to the photon energy through the wavelength lambda: omega = 2 pi c / lambda

In our case, t=0, and z varies from positive for the front laser slice to negative for the last slice.

k-wolfinger commented 1 year ago

Implemented a linear chirp, explored in the rslaser_scratch notebook https://github.com/radiasoft/rslaser_scratch/blob/main/notebooks/propagate/chirp_check.ipynb