In [1]:
%matplotlib inline
from ipywidgets import interactive, fixed
from obpds import *

layers = [
    Layer(50*nm, InAs, 1e19/cm3),                # p-type contact layer
    Layer(50*nm, AlAsSb(a=InAs.a()), 1e17/cm3),  # electron blocking layer
    Layer(1.5*um, InAs, 1e17/cm3),               # absorption region
    Layer(6*um, InAs, -1e14/cm3),                # multiplication region
    Layer(1*um, InAs, -1e17/cm3),                # n-type buffer/substrate
    ]

d = TwoTerminalDevice(layers=layers,
                      Fp='left',
                      Fn='right')

In [2]:
d.show_zero_current(V=0)
d.show_zero_current(V=-10)



In [3]:
interactive(d.show_zero_current, V=(-10,1), T=fixed(300), N=fixed(1000), approx=fixed('kane'))