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.

Metadata

Release files for ofiber 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ofiber 1.0.0
File Size Uploaded
ofiber-1.0.0.tar.gz 70.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ofiber 1.0.0
File Interpreter ABI Platform
ofiber-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 106.1 kB

Release files / ofiber-1.0.0.tar.gz

Download URL ofiber-1.0.0.tar.gz
Size 70.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4ec1421f1ba01877552ecaace4c0f01b1726e6eee6dd9ce8bbd1cd7a0b5bad14
BLAKE2b-256 checksum
How to use checksums
e07e5929e06da256ab7d78ae179bc143b351354c94924a28b9d8b92b813b39dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / ofiber-1.0.0-py3-none-any.whl

Download URL ofiber-1.0.0-py3-none-any.whl
Size 35.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a84d7a3f35bd353eba7daa0393fccb2e09190efde80787b7730bb05ee0ce50a
BLAKE2b-256 checksum
How to use checksums
7d4b8cd8d6d63df21b7baf46c07227f6df45f1a7330dea1389e02c1c8636f855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.6.2

2 release files

0.6.1

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page