Skip to main content

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/images/planarwaveguide.svg

Cylindrical step-index fibers

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

Far-field radiation patterns

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

Fiber design and dispersion control

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

Citation

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

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

BibTeX

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

License

ofiber is released under the MIT License.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ofiber-1.0.0.tar.gz (70.2 kB view details)

Uploaded Source

Built Distribution

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

ofiber-1.0.0-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ofiber-1.0.0.tar.gz
  • Upload date:
  • Size: 70.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ofiber-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4ec1421f1ba01877552ecaace4c0f01b1726e6eee6dd9ce8bbd1cd7a0b5bad14
MD5 6d400b5deccd1a4f340a671a3aacbfee
BLAKE2b-256 e07e5929e06da256ab7d78ae179bc143b351354c94924a28b9d8b92b813b39dc

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ofiber-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 35.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ofiber-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a84d7a3f35bd353eba7daa0393fccb2e09190efde80787b7730bb05ee0ce50a
MD5 ef664198437e55981b50f2902abe56d7
BLAKE2b-256 7d4b8cd8d6d63df21b7baf46c07227f6df45f1a7330dea1389e02c1c8636f855

See more details on using hashes here.

Provenance

The following attestation bundles were made for ofiber-1.0.0-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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.9.1

2 files

0.9.0

2 files

0.8.1

2 files

0.8.0

2 files

0.7.1

2 files

0.6.2

2 files

0.6.1

1 file

0.6.0

1 file

0.5.0

1 file

0.4.3

1 file

0.4.2

1 file

0.3.0

1 file

0.2.1

1 file

0.2.0

1 file

0.1.0

1 file

Supported by

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