Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lucas Laplanche
EAM VCSEL
Commits
4b994561
Commit
4b994561
authored
Jun 10, 2021
by
Lucas Laplanche
Browse files
structures corrigées, interaction matlab ajoutée
parent
b5e31d20
Changes
3
Hide whitespace changes
Inline
Side-by-side
calculation.py
View file @
4b994561
...
...
@@ -66,11 +66,11 @@ def al_doping(bypass_dbr=True):
def
reflectivity
(
bypass_dbr
=
False
,
start_wavelength
=
8
49
e-9
,
stop_wavelength
=
85
2
e-9
,
start_wavelength
=
8
50
e-9
,
stop_wavelength
=
85
1
e-9
,
electric_field
=
0.
,
n_points
=
100
,
l_eam_clad
=
1
5e-9
,
l_eam_clad
=
5e-9
,
l_vcsel_clad
=
15e-9
,
plot
=
True
):
wavelength
=
np
.
linspace
(
start_wavelength
,
stop_wavelength
,
num
=
n_points
)
...
...
@@ -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
=
Tru
e
,
eam_only
=
False
,
grading_type
=
'linear digital'
,
mqw_alloy_type
=
'digital'
,
sl
=
st
.
structure_eam_vcsel
(
bypass_dbr
=
bypass_dbr
,
vcsel_only
=
Fals
e
,
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
)
...
...
macro.py
View file @
4b994561
...
...
@@ -46,10 +46,10 @@ def reflectivity_eam_vcsel_clad_heatmap():
plt
.
plot_std_heatmap
(
l_eam_clad
,
l_vcsel_clad
,
r
)
def
structure_for_matlab
(
vcsel_only
=
False
,
bypass_dbr
=
False
,
wavelength
=
850e-9
):
l_eam_clad
=
8
e-9
def
structure_for_matlab
(
vcsel_only
=
False
,
bypass_dbr
=
False
,
wavelength
=
850
.5
e-9
):
l_eam_clad
=
5
e-9
l_vcsel_clad
=
15e-9
sl
=
st
.
structure_eam_vcsel
(
bypass_dbr
=
bypass_dbr
,
vcsel_only
=
vcsel_only
,
grading_type
=
'
mean
'
,
mqw_alloy_type
=
'
none
'
,
sl
=
st
.
structure_eam_vcsel
(
bypass_dbr
=
bypass_dbr
,
vcsel_only
=
vcsel_only
,
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
,
0.
,
wavelength
)
...
...
xlsx_export.py
View file @
4b994561
...
...
@@ -76,7 +76,7 @@ def eam_structures_description(document_folder=True):
def
vcsel_eam_structures_description
(
document_folder
=
False
):
# create the structures
vcsel_eam
=
st
.
structure_eam_vcsel
(
bypass_dbr
=
False
,
vcsel_only
=
False
,
grading_type
=
'mean
'
,
mqw_alloy_type
=
'
none
'
,
vcsel_eam
=
st
.
structure_eam_vcsel
(
bypass_dbr
=
False
,
vcsel_only
=
False
,
eam_only
=
True
,
grading_type
=
'linear digital
'
,
mqw_alloy_type
=
'
digital
'
,
l_eam_clad
=
10e-9
,
l_vcsel_clad
=
15e-9
)
vcsel_eam_dbr_bypass
=
st
.
structure_eam_vcsel
(
bypass_dbr
=
True
,
grading_type
=
'none'
,
mqw_alloy_type
=
'none'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment