n_to_beta#

pynlo.utility.chi1.n_to_beta(v_grid, n)[source]#

Refractive index to phase coefficient.

Parameters:
v_gridarray_like of float

The frequency grid.

narray_like of float

The refractive indices.

Returns:
beta