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.1.tar.gz (43.1 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.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ibei-2.0.1.tar.gz
  • Upload date:
  • Size: 43.1 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.1.tar.gz
Algorithm Hash digest
SHA256 478eb60bb2f28a603c1790f9616b8317b32aa9f891a51b4269010bb9aca3037d
MD5 d4375f07aa1fb5550eadbb7144b4ed9c
BLAKE2b-256 a4c9153824a25b4364a48d3c03e557ea43c7379f9d1a9e4973c4ca7649f11157

See more details on using hashes here.

Provenance

The following attestation bundles were made for ibei-2.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: ibei-2.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 892f93105bbb79afc083d8a8239a24f3456912b3edc12b8048031e02ec3ab9c9
MD5 d9151169795f18825375fe3089dff4b7
BLAKE2b-256 e92307d6c7212db7eaa06de375a5f87762d75307b8ca87286f80ffd7b5f84141

See more details on using hashes here.

Provenance

The following attestation bundles were made for ibei-2.0.1-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