Group Index¶
Getting Started¶
This function returns group index of the fundamental mode for given waveguide width and wavelength.
Group Index is calculated using the following equation where $n_\mathrm{eff}$ is the effective index, $n_g$ is the group index, $w$ is the waveguide width, and $\lambda$ is the wavelength.
$$n_g(w, \lambda) = n_\mathrm{eff}(w, \lambda) - \lambda \cdot \frac{\partial n_\mathrm{eff}(w, \lambda)}{\partial \lambda}$$This is what is implemented in the built-in function group_index.
Note: group_index function implementation is based on finite difference method. Therefore, the result is not exact. However, the result is accurate enough for most of the cases. If you need exact result, please use grad_neff function to calculate the derivative of neff function.
import sipkit
my_ng = sipkit.group_index(width=0.5, wavelength=1.55)
print(my_ng)
WARNING:jax._src.lib.xla_bridge:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
4.197232659481747
Free Spectral Range (FSR)¶
As an example, the group index can be used to calculate the free spectral range (FSR) of a resonator, the spectral spacing between two consecutive resonant wavelengths. The FSR can be expressed as the following equation where $L$ is the round-trip cavity length, $\lambda$ is the wavelength, and $n_g$ is the group index.
$$FSR = \frac{\lambda^2}{n_{g}L}$$def fsr(length, width, wavelength):
"""
Calculates the free spectral range of a waveguide. This is the distance
between two consecutive resonances.
:param length: Propagation length in micrometers.
:param width: Waveguide width in micrometers.
:param wavelength: Wavelength in micrometers.
:return: Free spectral range in micrometers.
"""
return wavelength ** 2 / (sipkit.group_index(width, wavelength) * length)
my_fsr = fsr(wavelength=1.55, width=0.5, wavelength=1.55)
print(my_fsr)
File "/tmp/ipykernel_390/1374955699.py", line 13 my_fsr = fsr(wavelength=1.55, width=0.5, wavelength=1.55) ^ SyntaxError: keyword argument repeated
Created: 2022-10-19