Source:
#
# Copyright (c) 2013-2015, Scott J Maddox
#
# This file is part of openbandparams.
#
# openbandparams is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# openbandparams is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with openbandparams. If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
# Make sure we import the local openbandparams version
import os
import sys
sys.path.insert(0,
os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
from openbandparams import *
import string
# Print all parameters of all strained III-V zinc blende alloys
params = {}
for binary in iii_v_zinc_blende_binaries:
for param in binary.strained_001(0).get_unique_parameters():
if param.name not in params:
params[param.name] = param
names = [n for n,p in sorted(params.items())]
descriptions = [p.description for n,p in sorted(params.items())]
max_name_width = max([len(name) for name in names])
max_desc_width = max([len(desc) for desc in descriptions])
print '='*max_name_width+' '+'='*max_desc_width
print '{} {}'.format(string.ljust('Parameter', max_name_width),'Description')
print '='*max_name_width+' '+'='*max_desc_width
for name, desc in zip(names, descriptions):
print '{} {}'.format(string.ljust(name, max_name_width),desc)
print '='*max_name_width+' '+'='*max_desc_width
Result:
============================ ============================================================================================================
Parameter Description
============================ ============================================================================================================
CBO conduction band offset energy relative to InSb VBO
CBO_Gamma Gamma-valley conduction band offset energy relative to InSb VBO
CBO_L L-valley conduction band offset energy relative to InSb VBO
CBO_X X-valley conduction band offset energy relative to InSb VBO
CBO_hydrostatic_strain_shift shift in the conduction band offset energy due to the hydrostatic strain component
CBO_strain_shift total shift in the conduction band offset energy due to strain
Eg bandgap energy
Eg_hh bandgap energy between the conduction band and the heavy-hole band
Eg_lh bandgap energy between the conduction band and the light-hole band
Eg_strain_shift total shift in the bandgap energy due to strain
VBO valance band offset energy relative to InSb VBO
VBO_hh heavy-hole valance band offset energy
VBO_hh_strain_shift total shift in the heavy-hole valance band offset energy due to strain
VBO_hydrostatic_strain_shift shift in the valance band offset energy due to the hydrostatic strain component
VBO_lh light-hole valance band offset energy
VBO_lh_strain_shift total shift in the light-hole valance band offset energy due to strain
VBO_strain_shift total shift in the valance band offset energy due to strain
VBO_uniaxial_strain_shift shift in the valance band offset energy due to the uniaxial strain component
electron_affinity electron affinity energy
meff_e_Gamma electron effective mass in the Gamma-valley
strain_in_plane strain in the in-plane directions
strain_out_of_plane strain in the out-of-plane direction (the strain measured by X-ray diffraction symmetric omega-2theta scans)
substrate_a substrate lattice parameter
============================ ============================================================================================================