Examples#
The PyNLO workflow starts by defining a Pulse
. This also provides a set of time and frequency grids you can use throughout the rest of your project. The next step is to define a Mode
, which holds the effective linear and nonlinear properties of your fiber, waveguide, or bulk medium. With a Pulse and Mode object you can initialize a propagation model. Both 2nd-order and 3rd-order nonlinearities can be simulated using the UPE
model. The simpler NLSE
model can be used if you only need the 3rd-order Kerr and Raman nonlinearities.
The examples below explore various nonlinear effects and are organized by the nonlinear propagation model used in the simulation.