Commit b5e31d20 authored by Lucas Laplanche's avatar Lucas Laplanche
Browse files

maj

parent 18d29aae
......@@ -25,8 +25,8 @@ def refra_doping(bypass_dbr=True, electric_field=0., wavelength=850e-9):
plt.plot_refra_doping(sl)
def refra(bypass_dbr=False, electric_field=0., wavelength=850e-9):
sl = st.structure_eam_vcsel(bypass_dbr=bypass_dbr, vcsel_only=False, eam_only=True, grading_type='mean', mqw_alloy_type='none',
def refra(bypass_dbr=True, electric_field=0., wavelength=850e-9):
sl = st.structure_eam_vcsel(bypass_dbr=bypass_dbr, vcsel_only=False, eam_only=False, grading_type='linear digital', mqw_alloy_type='digital',
l_eam_clad=15e-9, l_vcsel_clad=15e-9)
sl = op.algaas_super_lattice_refractive_index(sl, electric_field, wavelength, lengyel=True)
......@@ -66,8 +66,8 @@ def al_doping(bypass_dbr=True):
def reflectivity(bypass_dbr=False,
start_wavelength=840e-9,
stop_wavelength=860e-9,
start_wavelength=849e-9,
stop_wavelength=852e-9,
electric_field=0.,
n_points=100,
l_eam_clad=15e-9,
......@@ -79,7 +79,7 @@ def reflectivity(bypass_dbr=False,
# wavelength in [m]
# wavelength must be a numpy array
for i in tqdm(range(len(wavelength))):
sl = st.structure_eam_vcsel(bypass_dbr=bypass_dbr, vcsel_only=False, eam_only=False, grading_type='mean', mqw_alloy_type='none',
sl = st.structure_eam_vcsel(bypass_dbr=bypass_dbr, vcsel_only=True, eam_only=False, grading_type='linear digital', mqw_alloy_type='digital',
l_eam_clad=l_eam_clad, l_vcsel_clad=l_vcsel_clad)
sl = op.algaas_super_lattice_refractive_index(sl, electric_field, wavelength[i], lengyel=True)
......
......@@ -216,7 +216,7 @@ def structure_eam_vcsel(vcsel_only = False,
# vcsel mqw
if vcsel_mqw:
linear_grading_low_to_high_al = structure_linear_grading(grading_type='mean',
linear_grading_low_to_high_al = structure_linear_grading(grading_type=grading_type,
grading_width=90e-9,
period=40,
low_al = 0.3,
......@@ -614,10 +614,10 @@ def structure_middle_contact(bypass_dbr = False,
columns=['name', 'thickness', 'al', 'na', 'nd', 'ga6', 'ga11', 'al5', 'al12']),
ignore_index=True)
if 'linear' in grading_type:
if 'linear' or 'mean' in grading_type:
sl = sl.append(linear_grading_high_to_low_al, ignore_index=True)
sl = sl.append(pd.DataFrame([['middle contact', l_low_al -grading_width*3/4, low_al, 5e18, 0., False, True, False, True]],
sl = sl.append(pd.DataFrame([['middle contact', l_low_al -grading_width, low_al, 5e18, 0., False, True, False, True]],
columns=['name', 'thickness', 'al', 'na', 'nd', 'ga6', 'ga11', 'al5', 'al12']),
ignore_index=True)
......@@ -655,7 +655,7 @@ def structure_middle_contact(bypass_dbr = False,
def structure_alox(period = 10,
alox_thickness = 30e-9,
end_thickness = 35e-9,
end_thickness = 28e-9,
alox_mean_al = 0.98,
low_al = 0.9,
high_al = 1.,
......
Markdown is supported
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