Skip to content

Commit 659e29e

Browse files
committed
Move teste_laser_fatatin_paper.
1 parent 4f12507 commit 659e29e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

optic/models/laser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def laser_dynamic_response(y, param):
179179
out.phase = y[2,:]
180180
# get signal parameters
181181
out.power = (out.S/2) * (param.v * h * param.freq_0 * param.eta_0)/(param.gamma * param.tau_p)
182-
out.chirp = 1/(2*np.pi) * (param.alpha / 2) * (param.gamma * param.vg * param.a0 * (out.N - param.n_t) - 1/param.tau_p) # np.diff(y[2,:],prepend=y[2,0])/self.t_step
182+
out.chirp = 1/(2*np.pi) * (param.alpha / 2) * (param.gamma * param.vg * param.a0 * (out.N - param.n_t) - 1/param.tau_p)
183183
out.e_out = np.sqrt(np.real(out.power)) * np.exp(1j * out.phase)
184184
return out
185185

0 commit comments

Comments
 (0)