Skip to main content

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


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.4.tar.gz (44.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ibei-2.0.4-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file ibei-2.0.4.tar.gz.

File metadata

  • Download URL: ibei-2.0.4.tar.gz
  • Upload date:
  • Size: 44.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ibei-2.0.4.tar.gz
Algorithm Hash digest
SHA256 91c4cc56e7efae4d603ea51aab7fe7c1edcc48b192811435b630bc8eed3f62b5
MD5 ec55f704c495b4fd9c5b98cb1f28ae0e
BLAKE2b-256 9a0721806ee788ed65329f80abac59a8f8d8b59e2c3577c62c0cf4c5756afa01

See more details on using hashes here.

Provenance

The following attestation bundles were made for ibei-2.0.4.tar.gz:

Publisher: create-release-from-version-tag.yml on jrsmith3/ibei

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ibei-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: ibei-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ibei-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cdac00966b0fd918fdcd838e59ac14e997a101bb432a153295c7914eae146e94
MD5 d8f74bd13880f59e051c63939e31d34d
BLAKE2b-256 ba0ccebb04c52b70db2cc9817351d548c63852096807be683d6e0438c26a3fe4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ibei-2.0.4-py3-none-any.whl:

Publisher: create-release-from-version-tag.yml on jrsmith3/ibei

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page