Model#
- class pynlo.model.Model(pulse, mode)[source]#
Bases:
object
A model for simulating single-mode pulse propagation.
This model only implements linear effects.
Methods#
|
Estimate the step size that yields the target local error. |
|
Simulate propagation of the input pulse through the optical mode. |
|
Propagate the given pulse spectrum from z to z_stop using an adaptive step size algorithm. |
|
Advance the given pulse spectrum from z to z_next. |
|
The action of the linear operator integrated over the given step size. |
|
The action of the nonlinear operator on the given pulse spectrum. |
|
Update all z-dependent linear parameters. |
|
Update all z-dependent nonlinear parameters. |
|
Update the poled sign of the 2nd-order nonlinearity. |