NLSE.solvers.nlse_3d

Classes

NLSE_3d

A class to solve the 3D NLSE.

Module Contents

class NLSE.solvers.nlse_3d.NLSE_3d(alpha: float, energy: float, window: list | tuple, n2: float, D0: float, vg: float, V: numpy.ndarray | None, L: float, NX: int = 1024, NY: int = 1024, NZ: int = 1024, Isat: float = np.inf, nl_length: float = 0, wvl: float = 7.8e-07, backend: str = __BACKEND__)[source]

Bases: NLSE.solvers.nlse.NLSE

A class to solve the 3D NLSE.

Propagation of pulses of light in nonlinear media.

energy
NZ = 1024
window_t
power
omega
D0
vg
nl_profile
plot_field(A_plot: numpy.ndarray, z: float) → None[source]

Plot a field for monitoring.

Parameters:
  • A_plot (np.ndarray) – Field to plot.

  • z (float) – Propagation distance in m.