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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ibei-2.0.2.tar.gz
  • Upload date:
  • Size: 44.0 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.2.tar.gz
Algorithm Hash digest
SHA256 3142ed08d1370ddad210a2a6e010e0fe1c4946a6d6267e8b4a220d055f7a5d12
MD5 d80454ef82c4c2488b931a4d2a7aa45a
BLAKE2b-256 fe431a3c214f0dbce77ad828db9ed841d9fb91ba52e3a7d6f25c543b2cdd8d34

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ibei-2.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 81f0b98246656f407f12bf3001a3ed3a7eb62a6e33137876c11a95269bcf3810
MD5 418773769209c8c1abf0f7a57f21c2b1
BLAKE2b-256 20859a3274c873487413cd2eff8a1b6613b5669c04e54029600a5815674fe73a

See more details on using hashes here.

Provenance

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