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.
SMF-28
A complete workflow using a familiar telecom fiber.
Specialty fibers
Multilayer and double-clad fiber studies.
Fields and power
Vector fields, Poynting flux, overlap, and confinement.
Analysis and design
Structured sweeps, mode discovery, and coupled-mode propagation.
Validation
Physical limits and independent consistency checks.
Benchmarks
Reproducible scaling and cache-performance measurements.