Units and conventions#
PyFiberModes accepts bare numbers and uses SI units internally. Unit-aware objects are not converted automatically, so convert values before passing them to the package.
Quantity |
Unit |
Example |
|---|---|---|
Wavelength, radius, distance |
m |
|
Refractive index, numerical aperture |
dimensionless |
|
Propagation constant \(\beta\) |
rad/m |
|
Phase or group velocity |
m/s |
|
Group-velocity dispersion |
s2/m |
|
Dispersion |
ps/(nm km) |
|
Effective area |
m2 |
Multiply by |
Geometry convention#
Layer radii are interface radii measured from the fiber axis. The final layer
is the exterior medium and is treated as extending outward; its stored outer
radius is not a second finite interface. Layers are indexed from the innermost
layer in the constructed Fiber, even though YAML
files are written from the outside toward the center for readability and
compatibility with the loader.
Mode convention#
A Mode combines a family, azimuthal order nu,
and radial order m. Radial numbering starts at one. TE and TM families use
nu = 0; HE and EH hybrid modes use positive azimuthal orders. LP modes are
the scalar weak-guidance representation and should not be mixed with vector
families when counting physically distinct modes without accounting for their
correspondence and degeneracy.
Angles passed as phi and theta to field component methods are in
radians. phi selects the azimuthal phase of the modal pattern; theta
rotates the transverse observation axes.