pyMMF.IndexProfile.initStepIndex#
- IndexProfile.initStepIndex(n1, a, NA)[source]#
Initializes the step index profile.
- Parameters:
- n1float
The refractive index inside the core region.
- afloat
The core radius.
- NAfloat
The numerical aperture.
- Returns:
- None
- Parameters:
n1 (float)
a (float)
NA (float)
- Return type:
None
Examples
import pyMMF n1 = 1.45; a = 10; NA = 0.2 npoints = 256 areaSize = 20 profile = pyMMF.IndexProfile(npoints=npoints, areaSize=areaSize) profile.initStepIndex(n1=n1, a=a, NA=NA)