Skip to main content

Light Propagation in Optical Fibers

Project description

PyPI GitHub Conda DOI

License Testing Documentation Downloads

Try Online

ofiber is a Python library for analyzing guided-wave propagation in optical fibers and related dielectric waveguiding structures. It provides analytical and numerical tools for mode analysis, dispersion engineering, and far-field radiation modeling.

The theoretical framework closely follows well-established treatments in:

The accompanying examples and notebooks are intended to support instruction, research reproducibility, and optical design workflows.

Installation

With pip:

pip install ofiber

Or with conda from conda-forge:

conda install -c conda-forge ofiber

Documentation and Examples

Comprehensive user documentation, theory notes, and executable Jupyter examples are available at:

📄 https://ofiber.readthedocs.io

or use immediately in your browser via the JupyterLite button below

Try Online

Examples

Symmetric planar waveguides

https://raw.githubusercontent.com/scottprahl/ofiber/main/docs/planarwaveguide.svg

Cylindrical step-index fibers

https://raw.githubusercontent.com/scottprahl/ofiber/main/docs/stepindexmodes.svg https://raw.githubusercontent.com/scottprahl/ofiber/main/docs/modeirradiance.svg

Far-field radiation patterns

https://raw.githubusercontent.com/scottprahl/ofiber/main/docs/farfieldirradiance.svg

Fiber design and dispersion control

https://raw.githubusercontent.com/scottprahl/ofiber/main/docs/fiberdesign.svg

Citation

If you use ofiber in academic, instructional, or applied technical work, please cite:

Prahl, S. (2025). ofiber: A Python module for modeling guided-wave light propagation in optical fibers (Version 0.9.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.8368598

BibTeX

@software{ofiber_prahl_2025,
  author    = {Scott Prahl},
  title     = {ofiber: A Python module for modeling guided-wave light propagation in optical fibers},
  year      = {2025},
  version   = {0.9.0},
  doi       = {10.5281/zenodo.8368598},
  url       = {https://github.com/scottprahl/ofiber},
  publisher = {Zenodo}
}

License

ofiber is released under the MIT License.

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

ofiber-0.9.1.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

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

ofiber-0.9.1-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file ofiber-0.9.1.tar.gz.

File metadata

  • Download URL: ofiber-0.9.1.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ofiber-0.9.1.tar.gz
Algorithm Hash digest
SHA256 89c27cd297c13d2e2da000577b951723f519d44d0f3542f3468d1722a210cfad
MD5 40d664de58087183ae77577d426b3fa6
BLAKE2b-256 11f2c74cc3e1da3515ac1e5ee8cc399c9de3828cefb4fce4d6e5d47ec1997604

See more details on using hashes here.

Provenance

The following attestation bundles were made for ofiber-0.9.1.tar.gz:

Publisher: pypi.yaml on scottprahl/ofiber

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

File details

Details for the file ofiber-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: ofiber-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ofiber-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba9e344dc38e6b04c573c4f6a03b015de8386cc5a6149ae88539a2292f183f69
MD5 97358b899c10f27d161aeaa2c088a80f
BLAKE2b-256 84f7ed663987a156b32924ca062dba30bf2cde947cdc48f3b0c963b379bf2bc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ofiber-0.9.1-py3-none-any.whl:

Publisher: pypi.yaml on scottprahl/ofiber

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