Skip to content

Commit d52d2c0

Browse files
committed
Move teste_laser_fatatin_paper.
1 parent 60feebe commit d52d2c0

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
@@ -166,7 +166,7 @@ def laser_dynamic_response(y, param):
166166
out.phase = y[2,:]
167167
# get signal parameters
168168
out.power = (out.S/2) * (param.v * h * param.freq_0 * param.eta_0)/(param.gamma * param.tau_p)
169-
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
169+
out.chirp = 1/(2*np.pi) * (param.alpha / 2) * (param.gamma * param.vg * param.a0 * (out.N - param.n_t) - 1/param.tau_p)
170170
out.e_out = np.sqrt(np.real(out.power)) * np.exp(1j * out.phase)
171171
return out
172172

0 commit comments

Comments
 (0)