Calculator for incomplete Bose-Einstein integral
Project description
ibei - Calculator for incomplete Bose-Einstein integral
This README is a quickstart. See the full documentation for more details.
Scope
The ibei
python module implements a calculation of the
upper-incomplete Bose-Einstein integral which is given in terms of
the polylogarithm
function and described by
Smith.
Installation
This package is installable via pip
.
pip install ibei
Alternatively, download the source, install
hatch
, and build.
git clone git@github.com:jrsmith3/ibei.git
pip install hatch
hatch build
pip install dist/ibei-1.0.6.tar.gz # Or whatever is the latest version in that directory.
Example
Calculate the number of above-bandgap photons from Si at 300K.
>>> import ibei
>>> bandgap = 1.1
>>> bei = ibei.BEI(order=2, energy_bound=bandgap, temperature=300., chemical_potential=0.)
<Quantity 10549124.09538381 1 / (m2 s)>
License
MIT
Documentation
Full documenation can be found in the doc
directory, at the
official documentation page, and
within the module's docstrings.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ibei-2.0.0.tar.gz
(43.1 kB
view details)
File details
Details for the file ibei-2.0.0.tar.gz
.
File metadata
- Download URL: ibei-2.0.0.tar.gz
- Upload date:
- Size: 43.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d7a9408aa5dbb7edb77496fbda95a5a32a05781f852dbfc3550a9799e62a5e |
|
MD5 | 0cf9d7e5993b6c244c4c4a7b979228b1 |
|
BLAKE2b-256 | 16819b6cb96edf3b0ed7d6e6022af6632ab1e57517181daf054421159cdee449 |