Skip to content

Commit

Permalink
Move teste_laser_fatatin_paper.
Browse files Browse the repository at this point in the history
  • Loading branch information
adophobr committed Feb 21, 2024
1 parent 4f12507 commit 659e29e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion optic/models/laser.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def laser_dynamic_response(y, param):
out.phase = y[2,:]
# get signal parameters
out.power = (out.S/2) * (param.v * h * param.freq_0 * param.eta_0)/(param.gamma * param.tau_p)
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
out.chirp = 1/(2*np.pi) * (param.alpha / 2) * (param.gamma * param.vg * param.a0 * (out.N - param.n_t) - 1/param.tau_p)
out.e_out = np.sqrt(np.real(out.power)) * np.exp(1j * out.phase)
return out

Expand Down

0 comments on commit 659e29e

Please sign in to comment.