-
Notifications
You must be signed in to change notification settings - Fork 71
/
Absorption.html
1217 lines (1146 loc) · 81.7 KB
/
Absorption.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Absorption calculator — Solcore 5.0.2 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '5.0.2',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Light Sources" href="../spectral/spectral.html" />
<link rel="prev" title="1D arbitrary potential Schrödinger and k•p band structure solvers" href="../QM/Schrodinger.html" />
</head>
<body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../spectral/spectral.html" title="Light Sources"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="../QM/Schrodinger.html" title="1D arbitrary potential Schrödinger and k•p band structure solvers"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">Solcore 5.0.2 documentation</a> »</li>
</ul>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../index.html">
<img class="logo" src="../_static/header2.png" alt="Logo"/>
</a></p>
<h3><a href="../index.html">Table Of Contents</a></h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../installation.html">Installation and configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="../structure.html">Structures and support classes</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Systems/Units.html">The Units System</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Systems/Parameters.html">The Parameters System</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Systems/Materials.html">The Materials System</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Systems/Mobility.html">The mobility module</a></li>
<li class="toctree-l1"><a class="reference internal" href="../QM/Schrodinger.html">1D arbitrary potential Schrödinger and k•p band structure solvers</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Absorption calculator</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#module-solcore.absorption_calculator.adachi_alpha">Absorption of bulk materials using Adachi’s formulation</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-solcore.absorption_calculator.sopra_db">Absorption of bulk materials from the SOPRA database</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-solcore.absorption_calculator.absorption_QW">Absorption of quantum wells</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-solcore.absorption_calculator.transfer_matrix">Optical properties of a stack of materials</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../spectral/spectral.html">Light Sources</a></li>
<li class="toctree-l1"><a class="reference internal" href="../ASC/ASC.html">Analytic solar cells calculator</a></li>
<li class="toctree-l1"><a class="reference internal" href="../PDD/DDsolver.html">Poisson - Drift-Diffusion solver (PDD)</a></li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="../QM/Schrodinger.html"
title="previous chapter">1D arbitrary potential Schrödinger and k•p band structure solvers</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="../spectral/spectral.html"
title="next chapter">Light Sources</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/Absorption/Absorption.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="absorption-calculator">
<h1>Absorption calculator<a class="headerlink" href="#absorption-calculator" title="Permalink to this headline">¶</a></h1>
<p>This package contains the tools necessary to claculate the absorption coefficient of either bulk materials or quantum wells. This package also containes the tools needed to import optical data from the SOPRA database and to calculate the optical properties of a stack of materials using a transfer matrix formalism.</p>
<p>Some of these functions can be accessed directly when importing this package:</p>
<ul class="simple">
<li>create_adachi_alpha (for bulk materials)</li>
<li>SOPRA_DB (for bulk materials)</li>
<li>calc_alpha (for QWs)</li>
<li>calc_emission (for QWs)</li>
<li>Calculate_absorption_profile, calculate_rat, calculate_ellipsometry, OptiStack, DielectricConstantModel (transfer matrix tools)</li>
</ul>
<div class="section" id="module-solcore.absorption_calculator.adachi_alpha">
<span id="absorption-of-bulk-materials-using-adachi-s-formulation"></span><h2>Absorption of bulk materials using Adachi’s formulation<a class="headerlink" href="#module-solcore.absorption_calculator.adachi_alpha" title="Permalink to this headline">¶</a></h2>
<dl class="function">
<dt id="solcore.absorption_calculator.adachi_alpha.create_adachi_alpha">
<code class="descclassname">solcore.absorption_calculator.adachi_alpha.</code><code class="descname">create_adachi_alpha</code><span class="sig-paren">(</span><em>material</em>, <em>Esteps=(1.42</em>, <em>6</em>, <em>3000)</em>, <em>T=300</em>, <em>wl=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/adachi_alpha.html#create_adachi_alpha"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.adachi_alpha.create_adachi_alpha" title="Permalink to this definition">¶</a></dt>
<dd><p>Calculates the n, k.txt and absorption coefficient of a material using Adachi’s formalism of critical points.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>material</strong> – A solcore material</li>
<li><strong>Esteps</strong> – (1.42, 6, 3000) A tuple with the start, end and step energies in which calculating the optical data</li>
<li><strong>T</strong> – <ol class="arabic" start="300">
<li>Temeprature in kelvin</li>
</ol>
</li>
<li><strong>wl</strong> – (None) Optional array indicating the wavelengths in which calculating the data</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A tuple containing 4 arrays: (Energy, n, k.txt, alpha)</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-solcore.absorption_calculator.sopra_db">
<span id="absorption-of-bulk-materials-from-the-sopra-database"></span><h2>Absorption of bulk materials from the SOPRA database<a class="headerlink" href="#module-solcore.absorption_calculator.sopra_db" title="Permalink to this headline">¶</a></h2>
<dl class="exception">
<dt id="solcore.absorption_calculator.sopra_db.SOPRAError">
<em class="property">exception </em><code class="descclassname">solcore.absorption_calculator.sopra_db.</code><code class="descname">SOPRAError</code><span class="sig-paren">(</span><em>message</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/sopra_db.html#SOPRAError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.sopra_db.SOPRAError" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="class">
<dt id="solcore.absorption_calculator.sopra_db.sopra_database">
<em class="property">class </em><code class="descclassname">solcore.absorption_calculator.sopra_db.</code><code class="descname">sopra_database</code><span class="sig-paren">(</span><em>Material</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/sopra_db.html#sopra_database"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.sopra_db.sopra_database" title="Permalink to this definition">¶</a></dt>
<dd><p>Welcome to the SOPRA DB class for Solcore!</p>
<p>This module gives access to the vast library of optical constant data, made freely available by the SOPRA-SA
optoelectronics company founded in 1948. For further detail on the data and SOPRA-SA see the legacy website:
<a class="reference external" href="http://www.sspectra.com/sopra.html">http://www.sspectra.com/sopra.html</a></p>
<p>Import the SOPRA_DB module from the solcore.material_system package and get started by selecting a material from
the extensive list that SOPRA-SA compiled;</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">GaAs</span> <span class="o">=</span> <span class="n">sopra_database</span><span class="p">(</span><span class="s1">'GaAs'</span><span class="p">)</span>
</pre></div>
</div>
<p>Once imported a number of useful methods can be called to return n, k and alpha data for the desired material.</p>
<dl class="staticmethod">
<dt id="solcore.absorption_calculator.sopra_db.sopra_database.material_list">
<em class="property">static </em><code class="descname">material_list</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/sopra_db.html#sopra_database.material_list"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.sopra_db.sopra_database.material_list" title="Permalink to this definition">¶</a></dt>
<dd><p>SOPRA_DB.material_list() :: Loads a list (.pdf file) of all available SOPRA materials.</p>
</dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.sopra_db.sopra_database.load_n">
<code class="descname">load_n</code><span class="sig-paren">(</span><em>Lambda=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/sopra_db.html#sopra_database.load_n"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.sopra_db.sopra_database.load_n" title="Permalink to this definition">¶</a></dt>
<dd><p>SOPRA_DB.load_n(Lambda) :: Load refractive index (n) data of the requested material.
Optional argument Lambda allows user to specify a custom wavelength range. data will be interpolated into</p>
<blockquote>
<div>this range before output.</div></blockquote>
<p>Returns: Tuple of (Wavelength, n)</p>
</dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.sopra_db.sopra_database.load_k">
<code class="descname">load_k</code><span class="sig-paren">(</span><em>Lambda=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/sopra_db.html#sopra_database.load_k"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.sopra_db.sopra_database.load_k" title="Permalink to this definition">¶</a></dt>
<dd><p>SOPRA_DB.load_k(Lambda) :: Load refractive index (n) data of the requested material.
Optional argument Lambda allows user to specify a custom wavelength range. data will be interpolated into</p>
<blockquote>
<div>this range before output.</div></blockquote>
<p>Returns: Tuple of (Wavelength, k)</p>
</dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.sopra_db.sopra_database.load_alpha">
<code class="descname">load_alpha</code><span class="sig-paren">(</span><em>Lambda=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/sopra_db.html#sopra_database.load_alpha"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.sopra_db.sopra_database.load_alpha" title="Permalink to this definition">¶</a></dt>
<dd><p>SOPRA_DB.load_alpha(Lambda) :: Load refractive index (n) data of the requested material.
Optional argument Lambda allows user to specify a custom wavelength range. data will be interpolated into</p>
<blockquote>
<div>this range before output.</div></blockquote>
<p>Returns: Tuple of (Wavelength, alpha)</p>
</dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.sopra_db.sopra_database.load_temperature">
<code class="descname">load_temperature</code><span class="sig-paren">(</span><em>Lambda</em>, <em>T=300</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/sopra_db.html#sopra_database.load_temperature"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.sopra_db.sopra_database.load_temperature" title="Permalink to this definition">¶</a></dt>
<dd><dl class="docutils">
<dt>SOPRA_DB.load_temperature(T, Lambda) :: Loads n and k.txt data for a set of materials with temperature dependent</dt>
<dd>data sets</dd>
</dl>
<p>Optional argument T defaults to 300K
Required argument Lambda specifies a wavelength range and the data is interpolated to fit. This is a</p>
<blockquote>
<div>required argument here as not all data sets in a group are the same length (will be fixed in a
subsequent update).</div></blockquote>
<p>Returns: Tuple of (Wavelength, n, k.txt)</p>
</dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.sopra_db.sopra_database.load_composition">
<code class="descname">load_composition</code><span class="sig-paren">(</span><em>Lambda</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/sopra_db.html#sopra_database.load_composition"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.sopra_db.sopra_database.load_composition" title="Permalink to this definition">¶</a></dt>
<dd><p>SOPRA_DB.load_temperature(T, Lambda) :: Loads n and k data for a set of materials with varying composition.
Required argument Lambda specifies a wavelength range and the data is interpolated to fit. This is a</p>
<blockquote>
<div>required argument here as not all data sets in a group are the same length (will be fixed in a
subsequent update).</div></blockquote>
<p>Keyword argument :: Specify the factional material and fraction of the desired alloy.</p>
<p>Returns: Tuple of (Wavelength, n, k)</p>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="module-solcore.absorption_calculator.absorption_QW">
<span id="absorption-of-quantum-wells"></span><h2>Absorption of quantum wells<a class="headerlink" href="#module-solcore.absorption_calculator.absorption_QW" title="Permalink to this headline">¶</a></h2>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.H">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">H</code><span class="sig-paren">(</span><em>x</em><span class="sig-paren">)</span><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.H" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.D">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">D</code><span class="sig-paren">(</span><em>x</em>, <em>width</em><span class="sig-paren">)</span><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.D" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.L">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">L</code><span class="sig-paren">(</span><em>x</em>, <em>centre</em>, <em>hwhm</em><span class="sig-paren">)</span><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.L" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.Gauss">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">Gauss</code><span class="sig-paren">(</span><em>x</em>, <em>centre</em>, <em>hwhm</em><span class="sig-paren">)</span><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.Gauss" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.exciton_rydberg_energy_2d">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">exciton_rydberg_energy_2d</code><span class="sig-paren">(</span><em>me</em>, <em>mh</em>, <em>eps_r</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#exciton_rydberg_energy_2d"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.exciton_rydberg_energy_2d" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>me</strong> – electron effective mass (units: kg)</li>
<li><strong>mh</strong> – hole effective mass (units: kg)</li>
<li><strong>eps_r</strong> – dielectic constant (units: SI)</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">The exciton Rydberg energy</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.exciton_bohr_radius">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">exciton_bohr_radius</code><span class="sig-paren">(</span><em>me</em>, <em>mh</em>, <em>eps</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#exciton_bohr_radius"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.exciton_bohr_radius" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>me</strong> – electron effective mass (units: kg)</li>
<li><strong>mh</strong> – hole effective mass (units: kg)</li>
<li><strong>eps</strong> – dielectic constant (units: SI)</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">Exciton Borh radius</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.alpha_c_hh_TE">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">alpha_c_hh_TE</code><span class="sig-paren">(</span><em>E</em>, <em>z</em>, <em>E_e</em>, <em>E_hh</em>, <em>psi_e</em>, <em>psi_hh</em>, <em>well_width</em>, <em>me</em>, <em>mhh</em>, <em>Ep</em>, <em>nr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#alpha_c_hh_TE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.alpha_c_hh_TE" title="Permalink to this definition">¶</a></dt>
<dd><p>Absortion coefficient for incident light forming a transision between hh and c band of a quantum well</p>
<p>NB. Assumes that valence band is a zero energy, might need to manually apply an offset.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>E</strong> – photon energy (units: J)</li>
<li><strong>z</strong> – mesh points along growth direction (units: m)</li>
<li><strong>E_e</strong> – Electron state energy (units: J)</li>
<li><strong>E_hh</strong> – Heavy hole state energy (units: J)</li>
<li><strong>psi_e</strong> – Electron envelope function (psi_e^2 must be normalised)</li>
<li><strong>psi_hh</strong> – Heavy hole envelope function (psi_hh^2 must be normalised)</li>
<li><strong>well_width</strong> – (units: m)</li>
<li><strong>me</strong> – electron effective mass (units: kg)</li>
<li><strong>mhh</strong> – heavy hole effective mass (units: kg)</li>
<li><strong>Ep</strong> – the Kane parameter “Optical dipole matrix elemet”, sometimes “Momentum matrix element”, e.g. Ep for GaAs ~ 28eV</li>
<li><strong>nr</strong> – refractive index</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.alpha_c_lh_TE">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">alpha_c_lh_TE</code><span class="sig-paren">(</span><em>E</em>, <em>z</em>, <em>E_e</em>, <em>E_lh</em>, <em>psi_e</em>, <em>psi_lh</em>, <em>well_width</em>, <em>me</em>, <em>mlh</em>, <em>Ep</em>, <em>nr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#alpha_c_lh_TE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.alpha_c_lh_TE" title="Permalink to this definition">¶</a></dt>
<dd><p>Absortion coefficient for incident light forming a transision between hh and c band of a quantum well</p>
<p>NB. Assumes that valence band is a zero energy, might need to manually apply an offset.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>E</strong> – photon energy (units: J)</li>
<li><strong>z</strong> – mesh points along growth direction (units: m)</li>
<li><strong>E_e</strong> – Electron state energy (units: J)</li>
<li><strong>E_hh</strong> – Heavy hole state energy (units: J)</li>
<li><strong>psi_e</strong> – Electron envelope function (psi_e^2 must be normalised)</li>
<li><strong>psi_hh</strong> – Heavy hole envelope function (psi_hh^2 must be normalised)</li>
<li><strong>well_width</strong> – (units: m)</li>
<li><strong>me</strong> – electron effective mass (units: kg)</li>
<li><strong>mhh</strong> – heavy hole effective mass (units: kg)</li>
<li><strong>Ep</strong> – the Kane parameter “Optical dipole matrix elemet”, sometimes “Momentum matrix element”, e.g. Ep for GaAs ~ 28eV</li>
<li><strong>nr</strong> – refractive index</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.alpha_exciton_ehh_TE">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">alpha_exciton_ehh_TE</code><span class="sig-paren">(</span><em>exciton_index</em>, <em>E</em>, <em>z</em>, <em>E_e</em>, <em>E_hh</em>, <em>psi_e</em>, <em>psi_hh</em>, <em>well_width</em>, <em>me</em>, <em>mhh</em>, <em>Ep</em>, <em>nr</em>, <em>eps</em>, <em>hwhm=9.6e-22</em>, <em>dimensionality=0.15</em>, <em>line_shape='Lorenzian'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#alpha_exciton_ehh_TE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.alpha_exciton_ehh_TE" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>exciton_index</strong> – </li>
<li><strong>E</strong> – </li>
<li><strong>z</strong> – </li>
<li><strong>E_e</strong> – </li>
<li><strong>E_hh</strong> – </li>
<li><strong>psi_e</strong> – </li>
<li><strong>psi_hh</strong> – </li>
<li><strong>well_width</strong> – </li>
<li><strong>me</strong> – </li>
<li><strong>mhh</strong> – </li>
<li><strong>Ep</strong> – </li>
<li><strong>nr</strong> – </li>
<li><strong>eps</strong> – </li>
<li><strong>hwhm</strong> – </li>
<li><strong>dimensionality</strong> – </li>
<li><strong>line_shape</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.alpha_exciton_elh_TE">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">alpha_exciton_elh_TE</code><span class="sig-paren">(</span><em>exciton_index</em>, <em>E</em>, <em>z</em>, <em>E_e</em>, <em>E_lh</em>, <em>psi_e</em>, <em>psi_lh</em>, <em>well_width</em>, <em>me</em>, <em>mlh</em>, <em>Ep</em>, <em>nr</em>, <em>eps</em>, <em>hwhm=9.6e-22</em>, <em>dimensionality=0.15</em>, <em>line_shape='Lorenzian'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#alpha_exciton_elh_TE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.alpha_exciton_elh_TE" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>exciton_index</strong> – </li>
<li><strong>E</strong> – </li>
<li><strong>z</strong> – </li>
<li><strong>E_e</strong> – </li>
<li><strong>E_lh</strong> – </li>
<li><strong>psi_e</strong> – </li>
<li><strong>psi_lh</strong> – </li>
<li><strong>well_width</strong> – </li>
<li><strong>me</strong> – </li>
<li><strong>mlh</strong> – </li>
<li><strong>Ep</strong> – </li>
<li><strong>nr</strong> – </li>
<li><strong>eps</strong> – </li>
<li><strong>hwhm</strong> – </li>
<li><strong>dimensionality</strong> – </li>
<li><strong>line_shape</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.sum_alpha_c_hh_TE">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">sum_alpha_c_hh_TE</code><span class="sig-paren">(</span><em>E</em>, <em>z</em>, <em>E_e</em>, <em>E_hh</em>, <em>psi_e</em>, <em>psi_hh</em>, <em>well_width</em>, <em>me</em>, <em>mh</em>, <em>Ep</em>, <em>nr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#sum_alpha_c_hh_TE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.sum_alpha_c_hh_TE" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>E</strong> – </li>
<li><strong>z</strong> – </li>
<li><strong>E_e</strong> – </li>
<li><strong>E_hh</strong> – </li>
<li><strong>psi_e</strong> – </li>
<li><strong>psi_hh</strong> – </li>
<li><strong>well_width</strong> – </li>
<li><strong>me</strong> – </li>
<li><strong>mh</strong> – </li>
<li><strong>Ep</strong> – </li>
<li><strong>nr</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.sum_alpha_c_lh_TE">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">sum_alpha_c_lh_TE</code><span class="sig-paren">(</span><em>E</em>, <em>z</em>, <em>E_e</em>, <em>E_lh</em>, <em>psi_e</em>, <em>psi_lh</em>, <em>well_width</em>, <em>me</em>, <em>mh</em>, <em>Ep</em>, <em>nr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#sum_alpha_c_lh_TE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.sum_alpha_c_lh_TE" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>E</strong> – </li>
<li><strong>z</strong> – </li>
<li><strong>E_e</strong> – </li>
<li><strong>E_lh</strong> – </li>
<li><strong>psi_e</strong> – </li>
<li><strong>psi_lh</strong> – </li>
<li><strong>well_width</strong> – </li>
<li><strong>me</strong> – </li>
<li><strong>mh</strong> – </li>
<li><strong>Ep</strong> – </li>
<li><strong>nr</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.sum_alpha_exciton_c_hh_TE">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">sum_alpha_exciton_c_hh_TE</code><span class="sig-paren">(</span><em>E</em>, <em>z</em>, <em>E_e</em>, <em>E_hh</em>, <em>psi_e</em>, <em>psi_hh</em>, <em>well_width</em>, <em>me</em>, <em>mh</em>, <em>Ep</em>, <em>nr</em>, <em>eps</em>, <em>hwhm=9.6e-22</em>, <em>dimensionality=0.5</em>, <em>line_shape='Lorenzian'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#sum_alpha_exciton_c_hh_TE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.sum_alpha_exciton_c_hh_TE" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>E</strong> – </li>
<li><strong>z</strong> – </li>
<li><strong>E_e</strong> – </li>
<li><strong>E_hh</strong> – </li>
<li><strong>psi_e</strong> – </li>
<li><strong>psi_hh</strong> – </li>
<li><strong>well_width</strong> – </li>
<li><strong>me</strong> – </li>
<li><strong>mh</strong> – </li>
<li><strong>Ep</strong> – </li>
<li><strong>nr</strong> – </li>
<li><strong>eps</strong> – </li>
<li><strong>hwhm</strong> – </li>
<li><strong>dimensionality</strong> – </li>
<li><strong>line_shape</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.sum_alpha_exciton_c_lh_TE">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">sum_alpha_exciton_c_lh_TE</code><span class="sig-paren">(</span><em>E</em>, <em>z</em>, <em>E_e</em>, <em>E_lh</em>, <em>psi_e</em>, <em>psi_lh</em>, <em>well_width</em>, <em>me</em>, <em>mlh</em>, <em>Ep</em>, <em>nr</em>, <em>eps</em>, <em>hwhm=9.6e-22</em>, <em>dimensionality=0.5</em>, <em>line_shape='Lorenzian'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#sum_alpha_exciton_c_lh_TE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.sum_alpha_exciton_c_lh_TE" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>E</strong> – </li>
<li><strong>z</strong> – </li>
<li><strong>E_e</strong> – </li>
<li><strong>E_lh</strong> – </li>
<li><strong>psi_e</strong> – </li>
<li><strong>psi_lh</strong> – </li>
<li><strong>well_width</strong> – </li>
<li><strong>me</strong> – </li>
<li><strong>mlh</strong> – </li>
<li><strong>Ep</strong> – </li>
<li><strong>nr</strong> – </li>
<li><strong>eps</strong> – </li>
<li><strong>hwhm</strong> – </li>
<li><strong>dimensionality</strong> – </li>
<li><strong>line_shape</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.calc_alpha">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">calc_alpha</code><span class="sig-paren">(</span><em>QM_result</em>, <em>well_width</em>, <em>kane_parameter=4.48e-18</em>, <em>refractive_index=3.5</em>, <em>hwhm=9.6e-22</em>, <em>dimensionality=0.5</em>, <em>theta=0</em>, <em>eps=1.1421902283930001e-10</em>, <em>espace=None</em>, <em>line_shape='Lorenzian'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#calc_alpha"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.calc_alpha" title="Permalink to this definition">¶</a></dt>
<dd><p>Calculates the absorption coeficient of a quantum well structure assuming the parabolic approximation for the
effective masses.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>QM_result</strong> – The output of the Schrodinger solver, incldued in the ‘quantum_mechanics’ package</li>
<li><strong>well_width</strong> – The well width</li>
<li><strong>kane_parameter</strong> – The Kane parameter</li>
<li><strong>refractive_index</strong> – Refractive (effective) index of the QW</li>
<li><strong>hwhm</strong> – Full width at half maximum of the excitonic lineshape</li>
<li><strong>dimensionality</strong> – </li>
<li><strong>theta</strong> – </li>
<li><strong>eps</strong> – </li>
<li><strong>espace</strong> – </li>
<li><strong>line_shape</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.NonBlackBodyEmission">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">NonBlackBodyEmission</code><span class="sig-paren">(</span><em>E</em>, <em>voltage=0</em>, <em>nr=3.5</em>, <em>T=300</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#NonBlackBodyEmission"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.NonBlackBodyEmission" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>E</strong> – </li>
<li><strong>voltage</strong> – </li>
<li><strong>nr</strong> – </li>
<li><strong>T</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.absorption_QW.calc_emission">
<code class="descclassname">solcore.absorption_calculator.absorption_QW.</code><code class="descname">calc_emission</code><span class="sig-paren">(</span><em>QM_result</em>, <em>well_width</em>, <em>voltage=0</em>, <em>theta=0</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/absorption_QW.html#calc_emission"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.absorption_QW.calc_emission" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>QM_result</strong> – </li>
<li><strong>well_width</strong> – </li>
<li><strong>voltage</strong> – </li>
<li><strong>theta</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="module-solcore.absorption_calculator.transfer_matrix">
<span id="optical-properties-of-a-stack-of-materials"></span><h2>Optical properties of a stack of materials<a class="headerlink" href="#module-solcore.absorption_calculator.transfer_matrix" title="Permalink to this headline">¶</a></h2>
<p>This module serves as interface between solcore structures (junctions, layers, materials…) and the
transfer matrix package developed by Steven Byrnes and included in the PyPi repository.</p>
<dl class="class">
<dt id="solcore.absorption_calculator.transfer_matrix.OptiStack">
<em class="property">class </em><code class="descclassname">solcore.absorption_calculator.transfer_matrix.</code><code class="descname">OptiStack</code><span class="sig-paren">(</span><em>structure=()</em>, <em>no_back_reflexion=False</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/transfer_matrix.html#OptiStack"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.transfer_matrix.OptiStack" title="Permalink to this definition">¶</a></dt>
<dd><p>Class that contains an optical structure: a sequence of layers with a thickness and a complex refractive index.</p>
<p>It serves as an intermediate step between solcore layers and materials and the stack of thicknesses and
and n and k.txt values necessary to run calculations involving TMM. When creating an OptiStack object, the thicknesses
of all the layers forming the Solcore structure and the optical data of the materials of the layers are extracted
and arranged in such a way they can be easily and fastly read by the TMM functions.</p>
<p>In addition to a solcore structure with Layers, it can also take a list where each element represent a layer
written as a list and contains the layer thickness and the dielectrical model, the raw n and k data as a function
of wavelengths, or a whole Device structure as the type used in the PDD model.</p>
<p>In summary, this class acepts:</p>
<blockquote>
<div><ul class="simple">
<li>A solcore structure with layers</li>
<li>A list where each element is [thickness, DielectricModel]</li>
<li>A list where each element is [thickness, wavelength, n, k]</li>
<li><dl class="first docutils">
<dt>A list mixing the above:</dt>
<dd><dl class="first last docutils">
<dt>[ [thickness, DielectricModel],</dt>
<dd>[thickness, wavelength, n, k],
solcore.Layer,
solcore.Layer ]</dd>
</dl>
</dd>
</dl>
</li>
</ul>
</div></blockquote>
<p>This allows for maximum flexibility when creating the optical model, allowing to construct the stack with
experimental data, modelled data and known material properties from the database.</p>
<p>Yet anther way of defining the layers mixes experimental data with a DielectricModel within the same layer but in
spectrally distinct regions. The syntaxis for the layer is:</p>
<p>layer = [thickness, wavelength, n, k, DielectricModel, mixing]</p>
<p>where mixing is a list containing three elements: [the mixing point (nm), the mixing width (nm), zero or one]
depending if the mixing function should be increasing with the wavelength or decreasing. If increasing (zero), the
Dielectric model will be used at long wavelengths and the experimental data at short wavelengths. If decreasing
(one) the oposite is done. The mixing point and mixing width control how smooth is the transition between one and
the other type of data.</p>
<p>Extra layers such as he semi-infinite, air-like first and last medium, and a back highly absorbing layer are
included at runtime to fulfill the requirements of the TMM solver or to solve some of its limitations.</p>
<dl class="method">
<dt id="solcore.absorption_calculator.transfer_matrix.OptiStack.get_indices">
<code class="descname">get_indices</code><span class="sig-paren">(</span><em>wl</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/transfer_matrix.html#OptiStack.get_indices"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.transfer_matrix.OptiStack.get_indices" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the complex refractive index of the stack.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>wl</strong> – Wavelength of the light in nm.</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A list with the complex refractive index of each layer, including the semi-infinite front and back</td>
</tr>
</tbody>
</table>
<p>layers and, opionally, the back absorbing layer used to suppress back surface relfexion.</p>
</dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.transfer_matrix.OptiStack.get_widths">
<code class="descname">get_widths</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/transfer_matrix.html#OptiStack.get_widths"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.transfer_matrix.OptiStack.get_widths" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the widths of the layers of the stack.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">A list with the widths each layer, including the semi-infinite front and back layers and, opionally,</td>
</tr>
</tbody>
</table>
<p>the back absorbing layer used to suppress back surface relfexion, defined as 1 mm thick.</p>
</dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.transfer_matrix.OptiStack.add_layers">
<code class="descname">add_layers</code><span class="sig-paren">(</span><em>layers</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/transfer_matrix.html#OptiStack.add_layers"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.transfer_matrix.OptiStack.add_layers" title="Permalink to this definition">¶</a></dt>
<dd><p>Generic function to add layers to the OptiStack. Internally, it calls add_solcore_layer,
add_modelled_layer or add_raw_nk_layer.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>layers</strong> – A list with the layers to add (even if it is just one layer) It can be one or more and it can</td>
</tr>
</tbody>
</table>
<p>mixed, Solcore-based and modelled layers.
:return: None</p>
</dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.transfer_matrix.OptiStack.remove_layer">
<code class="descname">remove_layer</code><span class="sig-paren">(</span><em>idx</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/transfer_matrix.html#OptiStack.remove_layer"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.transfer_matrix.OptiStack.remove_layer" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes layer with index idx from the OptiStack</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>idx</strong> – Index of the layer to remove</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">None</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.transfer_matrix.OptiStack.swap_layers">
<code class="descname">swap_layers</code><span class="sig-paren">(</span><em>idx1</em>, <em>idx2</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/transfer_matrix.html#OptiStack.swap_layers"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.transfer_matrix.OptiStack.swap_layers" title="Permalink to this definition">¶</a></dt>
<dd><p>Swaps two layers in the OptiStack.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>idx1</strong> – The index of one of the layers.</li>
<li><strong>idx2</strong> – The index of the other.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">None</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.transfer_matrix.calculate_rat">
<code class="descclassname">solcore.absorption_calculator.transfer_matrix.</code><code class="descname">calculate_rat</code><span class="sig-paren">(</span><em>structure</em>, <em>wavelength</em>, <em>angle=0</em>, <em>pol='u'</em>, <em>coherent=True</em>, <em>coherency_list=None</em>, <em>no_back_reflexion=True</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/transfer_matrix.html#calculate_rat"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.transfer_matrix.calculate_rat" title="Permalink to this definition">¶</a></dt>
<dd><p>Calculates the reflected, absorbed and transmitted intensity of the structure for the wavelengths and angles
defined.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>structure</strong> – A solcore Structure object with layers and materials or a OptiStack object.</li>
<li><strong>wavelength</strong> – Wavelengths (in nm) in which calculate the data.</li>
<li><strong>angle</strong> – Angle (in degrees) of the incident light. Default: 0 (normal incidence).</li>
<li><strong>pol</strong> – Polarisation of the light: ‘s’, ‘p’ or ‘u’. Default: ‘u’ (unpolarised).</li>
<li><strong>coherent</strong> – If the light is coeherent or not. If not, a coherency list must be added.</li>
<li><strong>coherency_list</strong> – A list indicating in which layers light should be treated as coeherent (‘c’) and in which</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>incoherent (‘i’). It needs as many elements as layers in the structure.
:param no_back_reflexion: If reflexion from the back must be supressed. Default=True.
:return: A dictionary with the R, A and T at the specified wavelengths and angle.</p>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.transfer_matrix.calculate_ellipsometry">
<code class="descclassname">solcore.absorption_calculator.transfer_matrix.</code><code class="descname">calculate_ellipsometry</code><span class="sig-paren">(</span><em>structure</em>, <em>wavelength</em>, <em>angle</em>, <em>no_back_reflexion=True</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/transfer_matrix.html#calculate_ellipsometry"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.transfer_matrix.calculate_ellipsometry" title="Permalink to this definition">¶</a></dt>
<dd><p>Calculates the ellipsometric parameters psi and delta. It can only deal with coherent light and the whole stack
(including back surface) is considered, so caution must be taken when comparing the simulated results with
experiments where the back surface is rough or layers are thick and coherent light propagation makes no sense.</p>
<p>The optional argument no_back_reflexion can be included to add an extra layer on the back absorbing all light that
reaches that position without any reflexion, to remove the reflexion from the back surface.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>structure</strong> – A solcore structure with layers and materials.</li>
<li><strong>wavelength</strong> – Wavelengths (in nm) in which calculate the data.</li>
<li><strong>angle</strong> – A tupple or list with the angles (in degrees) in which to calculate the data.</li>
<li><strong>no_back_reflexion</strong> – If reflexion from the back must be supressed. Default=True.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A dictionary with psi and delta at the specified wavelengths and angles (2D arrays).</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="solcore.absorption_calculator.transfer_matrix.calculate_absorption_profile">
<code class="descclassname">solcore.absorption_calculator.transfer_matrix.</code><code class="descname">calculate_absorption_profile</code><span class="sig-paren">(</span><em>structure</em>, <em>wavelength</em>, <em>z_limit=None</em>, <em>steps_size=2</em>, <em>dist=None</em>, <em>no_back_reflexion=True</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/transfer_matrix.html#calculate_absorption_profile"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.transfer_matrix.calculate_absorption_profile" title="Permalink to this definition">¶</a></dt>
<dd><p>It calculates the absorbed energy density within the material. From the documentation:</p>
<p>‘In principle this has units of [power]/[volume], but we can express it as a multiple of incoming light power
density on the material, which has units [power]/[area], so that absorbed energy density has units of 1/[length].’</p>
<p>Integrating this absorption profile in the whole stack gives the same result that the absorption obtained with
calculate_rat as long as the spacial mesh (controlled by steps_thinest_layer) is fine enough. If the structure is
very thick and the mesh not thin enough, the calculation might diverege at short wavelengths.</p>
<p>For now, it only works for normal incident, coherent light.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>structure</strong> – A solcore structure with layers and materials.</li>
<li><strong>wavelength</strong> – Wavelengths in which calculate the data (in nm). An array-like object.</li>
<li><strong>z_limit</strong> – Maximum value in the z direction</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A dictionary containing the positions (in nm) and a 2D array with the absorption in the structure as a</p>
</td>
</tr>
</tbody>
</table>
<p>function of the position and the wavelength.</p>
</dd></dl>
<span class="target" id="module-solcore.absorption_calculator.dielectric_constant_models"></span><p>This module contains a collection of mathematical models to calculate the dielectric constant of a material. The
modelling is largely based in the equations and naming used by:</p>
<ol class="upperalpha simple" start="10">
<li><ol class="first upperalpha">
<li>Woollam, Guide to using WVASE: Spectroscopic Ellipsometry Data Acquisition and Analysis Software. 2012, pp. 1–696.</li>
</ol>
</li>
</ol>
<dl class="class">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Poles">
<em class="property">class </em><code class="descclassname">solcore.absorption_calculator.dielectric_constant_models.</code><code class="descname">Poles</code><span class="sig-paren">(</span><em>A=0.0</em>, <em>Ec=5.0</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/dielectric_constant_models.html#Poles"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Poles" title="Permalink to this definition">¶</a></dt>
<dd><p>Basic oscillator model for fitting ellipsometry and RAT data. It a pole without broadening and therefore can
only represent non-absorbing materials. Usually, the central energy must lie outside the spectral range of interest.</p>
<div class="math">
<p><img src="../_images/math/a025c1d0ef8d93e099be6dfad99fd59f6767637e.png" alt="\epsilon = \frac {A_n E_n^2} {E_n^2 - E^2}"/></p>
</div><p>with:</p>
<ul class="simple">
<li>An = the amplitud of the oscillator (dimensionless)</li>
<li>En = the central energy of the pole (in eV)</li>
</ul>
<p>It is equivalent to Pol.2 in WVASE</p>
<dl class="attribute">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Poles.name">
<code class="descname">name</code><em class="property"> = 'poles'</em><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Poles.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Poles.var">
<code class="descname">var</code><em class="property"> = 2</em><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Poles.var" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Poles.dielectric">
<code class="descname">dielectric</code><span class="sig-paren">(</span><em>x</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/dielectric_constant_models.html#Poles.dielectric"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Poles.dielectric" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the dielectric function as modelled by this class at the given x input values (a single value or
an array of values.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> – Spectral position in nm</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The dielectric constant at this spectral position</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Lorentz">
<em class="property">class </em><code class="descclassname">solcore.absorption_calculator.dielectric_constant_models.</code><code class="descname">Lorentz</code><span class="sig-paren">(</span><em>An=0.0</em>, <em>En=2.0</em>, <em>Brn=0.1</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/dielectric_constant_models.html#Lorentz"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Lorentz" title="Permalink to this definition">¶</a></dt>
<dd><p>Classic Lorentz oscillator involving a central energy and a broadening responsible for the absorption.</p>
<div class="math">
<p><img src="../_images/math/f4f544cd1224398240f840b0f72fd069706870f7.png" alt="\epsilon = \frac {A_n E_n^2} {E_n^2 - E^2 - i Br_n E}"/></p>
</div><p>with:</p>
<ul class="simple">
<li>An = the amplitud of the oscillator (dimensionless)</li>
<li>Brn = the broadening (eV)</li>
<li>En = the central energy (eV)</li>
</ul>
<p>It is equivalent to Lor.2 in WVASE.</p>
<dl class="attribute">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Lorentz.name">
<code class="descname">name</code><em class="property"> = 'lorentz'</em><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Lorentz.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Lorentz.var">
<code class="descname">var</code><em class="property"> = 3</em><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Lorentz.var" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Lorentz.dielectric">
<code class="descname">dielectric</code><span class="sig-paren">(</span><em>x</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/dielectric_constant_models.html#Lorentz.dielectric"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Lorentz.dielectric" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the dielectric function as modelled by this class at the given x input values (a single value or
an array of values.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> – Spectral position in nm</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The dielectric constant at this spectral position</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Gauss">
<em class="property">class </em><code class="descclassname">solcore.absorption_calculator.dielectric_constant_models.</code><code class="descname">Gauss</code><span class="sig-paren">(</span><em>A=0.0</em>, <em>Ec=2.0</em>, <em>Br=0.1</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/dielectric_constant_models.html#Gauss"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Gauss" title="Permalink to this definition">¶</a></dt>
<dd><p>Gauss oscillator involving a central energy and a broadening responsible for the absorption. It is defined as:</p>
<div class="math">
<p><img src="../_images/math/0fdda0687fac364aff8121062e65fa996f8f04c8.png" alt="\epsilon = \epsilon_1 + i \epsilon_2"/></p>
</div><div class="math">
<p><img src="../_images/math/14391557e5469734eff16cbbb5f8b5d8dcc24310.png" alt="\epsilon_2 = A \exp^{-{\left( \frac{E - E_c}{\sigma} \right)}^2} - A \exp^{-{\left( \frac{E + E_c}{\sigma} \right)}^2}"/></p>
</div><div class="math">
<p><img src="../_images/math/cd24d2300938243bf4c4c8e237475e98705a69fa.png" alt="\sigma = \frac{Br}{2 \sqrt{\ln(2)}}"/></p>
</div><p>Epsilon_1 is calculated using the Kramers-Kronig relationships</p>
<p>with:</p>
<ul class="simple">
<li>A = the amplitud of the oscillator (dimensionless)</li>
<li>Br = the broadening (eV)</li>
<li>Ec = the central energy (eV)</li>
</ul>
<p>It is equivalent to Gau.0 in WVASE.</p>
<dl class="attribute">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Gauss.name">
<code class="descname">name</code><em class="property"> = 'gauss'</em><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Gauss.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Gauss.var">
<code class="descname">var</code><em class="property"> = 3</em><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Gauss.var" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Gauss.dielectric">
<code class="descname">dielectric</code><span class="sig-paren">(</span><em>x</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/dielectric_constant_models.html#Gauss.dielectric"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Gauss.dielectric" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the dielectric function as modelled by this class at the given x input values (a single value or
an array of values.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> – Spectral position in nm</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The dielectric constant at this spectral position</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Drude">
<em class="property">class </em><code class="descclassname">solcore.absorption_calculator.dielectric_constant_models.</code><code class="descname">Drude</code><span class="sig-paren">(</span><em>An=0.0</em>, <em>Brn=0.1</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/solcore/absorption_calculator/dielectric_constant_models.html#Drude"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Drude" title="Permalink to this definition">¶</a></dt>
<dd><p>The classic Drude oscillator describes free carrier effects on the dielectric response. Its form is a Lorentz
oscillator with zero center energy.</p>
<div class="math">
<p><img src="../_images/math/2bb13b7b4857be2b849a14970ad0106fa0dbba9e.png" alt="\epsilon = - \frac {A_n Br_n} {E^2 + i Br_n E}"/></p>
</div><p>with:</p>
<ul class="simple">
<li>An = the amplitud of the oscillator (eV)</li>
<li>Brn = the broadening (eV)</li>
</ul>
<p>It is equivalent to Drd.0 in WVASE.</p>
<dl class="attribute">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Drude.name">
<code class="descname">name</code><em class="property"> = 'drude'</em><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Drude.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="solcore.absorption_calculator.dielectric_constant_models.Drude.var">
<code class="descname">var</code><em class="property"> = 2</em><a class="headerlink" href="#solcore.absorption_calculator.dielectric_constant_models.Drude.var" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>