Example galleries#

Learn PyFiberModes through focused, executable examples. Start with the API fundamentals, continue with measured fibers and field analysis, then explore design, validation, and performance. Every gallery page includes downloadable Python source and a notebook.

Fundamentals

Modes, effective indices, dispersion, and the core API.

Examples: API
SMF-28

A complete workflow using a familiar telecom fiber.

Examples single layer fiber
Specialty fibers

Multilayer and double-clad fiber studies.

Specialty-fiber examples
Fields and power

Vector fields, Poynting flux, overlap, and confinement.

Fields and power
Analysis and design

Structured sweeps, mode discovery, and coupled-mode propagation.

Analysis and design
Validation

Physical limits and independent consistency checks.

Validation
Benchmarks

Reproducible scaling and cache-performance measurements.

Benchmarks