INNER CODE UNIT · Python

eg

SMTG-Bham/ThermoParser · tp/cli/cli.py:439

    eg = cbm - vbm

    print('The bandgap is {:.3f} {}, and at {:d} {} 10kbT = {:.3f} {}.'.format(
          eg, data['meta']['units']['energy'],
          int(np.ceil(data['meta']['temperature'])),
          data['meta']['units']['temperature'],
          10 * kb * int(np.ceil(data['meta']['temperature'])),
          data['meta']['units']['energy']))
    print('Your chosen carrier concentration is {} {}.'.format(
          data['meta']['doping'], data['meta']['units']['doping']))
    print('There are {:.3e} holes {} in the valence band and {:.3e} '
          'electrons {} in the conduction band.'.format(
          h, data['meta']['units']['doping'],
          e, data['meta']['units']['doping']))

    return


View source record →

📰 Research Paper
Loading…
⏳ Fetching content…