pynlo.medium# Optical modes in waveguides or other media. Classes# Mode(v_grid, beta[, alpha, g2, g2_inv, g3, ...]) An optical mode.