Skip to content

Commit

Permalink
move to docs/photonics/examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunyuan-LI committed Mar 5, 2024
1 parent 2cc8836 commit 145fbfe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ def n_silicon_dioxide(wavelength):
mode_s = max(modes_s, key=lambda mode: mode.te_fraction)
mode_i = max(modes_i, key=lambda mode: mode.te_fraction)

A_eff = calculate_sfwm_Aeff(basis0, mode_p, mode_s, mode_i)
A_eff = np.real(calculate_sfwm_Aeff(basis0, mode_p, mode_s, mode_i))
print("Aeff in um2:", A_eff)

# Calculation for non-linear coef
chi_3 = 5e-21 # m^2/V^2 #7e-20?
chi_3 = 7e-20 # ?
#chi_3 = 7e-20 # ?
lambda_p0_m = lambda_p0 * 1e-6 # to m
n_p0 = np.real(mode_p.n_eff)
A_eff_m2 = A_eff * 1e-12 # to m^2
Expand Down

0 comments on commit 145fbfe

Please sign in to comment.