Commit 5eedccb5 authored by Lucas Laplanche's avatar Lucas Laplanche
Browse files

diffusion mtm dimension correcte, tester psi[0]/psi[1]+psi[0]

parent 6b767275
......@@ -52,7 +52,7 @@ def electromagnetic_amplitude(bypass_dbr=True, electric_field=0., wavelength=850
def zandberg_electromagnetic_amplitude(electric_field=0., wavelength=1e-6):
sl = st.structure_zandbergen()
sl = op.algaas_super_lattice_refractive_index(sl, electric_field, wavelength)
sl = pt.cut_in_equal_layers_thickness(sl, 1e-10)
sl = pt.cut_in_equal_layers_thickness(sl, 1e-9)
em = op.em_amplitude_smm(sl, wavelength)
sl.insert(sl.shape[1], 'electromagnetic_amplitude', value=em)
plt.plot_refra_em(sl)
......
......@@ -592,7 +592,7 @@ def em_amplitude_smm(super_lattice, wavelength):
# normalize
#e = e / np.max(e)
e = e / np.max(e)
return e
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment