This is a test application for the stack module.

Reflectance of nano-fabricated Bragg mirrors are calculated exactly.

Computed data are in agreement with http://www.batop.de/information/r_Bragg.html


In [13]:
from stack import *

nh=3.49; nl=2.95
N= [21,37,55]; 
L=1064.0/(4.0*nh); L1 = 1064.0/(4.0*nl);dL=0.0

mirrors = map(lambda Nj:random_stack(Nj,1.0,nh,dL,L,L1=L1),N)
output = map(lambda mirror: mirror.set_refr(range(2,mirror.get_stacksize(),2),nl),mirrors)
output = map(lambda mirror: mirror.plot(),mirrors)


spectral reflectance:


In [11]:
output = map(lambda mirror:mirror.scan('reflection',[950,1200],500),mirrors)


reflectance at 1064nm


In [12]:
map(lambda mirror:mirror.get_reflection(1064),mirrors)


Out[12]:
[0.96104343028165717, 0.99730520328571848, 0.99986907519370227]