g2_shg#
- pynlo.utility.chi2.g2_shg(v0, v_grid, n_eff, a_eff, chi2_eff)[source]#
The 2nd-order nonlinear parameter weighted for second harmonic generation centered around the given input frequency.
- Parameters:
- v0float
The target fundamental frequency to be doubled.
- v_gridarray_like of float
The frequency grid.
- n_effarray_like of float
The effective refractive indices.
- a_effarray_like of float
The effective areas.
- chi2_effarray_like
The effective 2nd-order susceptibilities.
- Returns:
- g2ndarray