In [1]:
%matplotlib inline
from ipywidgets import interactive, fixed
from obpds import *
layers = [
Layer(1*um, GaAs, 1e17/cm3), # p-type layer
Layer(1*um, GaAs, -1e17/cm3), # n-type layer
]
d = TwoTerminalDevice(layers=layers,
Fp='left',
Fn='right')
In [2]:
d.show_zero_current(V=0)
In [3]:
interactive(d.show_zero_current, V=(-10,1), T=fixed(300), N=fixed(1000), approx=fixed('kane'))