pnps.materials#
Material data for fused silica: the index, the Kerr index and the Raman fraction.
Only fused silica (SiO2) is supported, with one model of it: the absorbing
fused-silica fit of [optmat](LupoLab/optmat), solprop’s default
silica, which models deep-ultraviolet absorption; and optmat’s silica nonlinear
bundle (SILICA_BUNDLE), the matched triple of the Kerr fit’s total n2, its
Raman fraction f_R and the Hollenbeck and Cantrell Raman shape. The Kerr fit is
validated from 350 nm to 3500 nm; at a deep-UV carrier n2 is the fit’s
extrapolation, a decided choice that every scan file records (n2_extrapolated).
Module Attributes
The optmat silica nonlinear bundle this package takes n2, f_R and h_R from: Hollenbeck and Cantrell's Raman shape with the Kerr fit's own f_R. |
Functions
|
Carrier propagation constant |
|
Group slowness |
|
Return the third-order susceptibility of fused silica at a carrier. |
|
Return the complex refractive index of fused silica. |
|
Return the slab's material wavenumber squared on the frequency grid. |
|
Return solprop's fused-silica slab, optmat's fit. |
|
Return optmat's total Kerr index of fused silica at a wavelength. |
Return the Raman fraction |
|
|
Sample the Raman shape of the silica nonlinear bundle at non-negative lags. |
- pnps.materials.SILICA_BUNDLE = 'default'#
The optmat silica nonlinear bundle this package takes n2, f_R and h_R from: Hollenbeck and Cantrell’s Raman shape with the Kerr fit’s own f_R. solprop’s
solprop.physdata.glasses.SilicaBundle.resolve()gives the same bundle.
- pnps.materials.beta0_ref(lam0)[source]#
Carrier propagation constant
Re n(omega0) * omega0 / cin rad/m.Subtracted from the linear operator so the envelope phase is slowly varying (the carrier phase is factored out).
- Parameters:
- lam0float
Carrier wavelength in m.
- Returns:
- float
The propagation constant at the carrier, in rad/m.
- pnps.materials.beta1_ref(lam0)[source]#
Group slowness
d(beta)/d(omega)at the carrier, in s/m.Defines the co-moving frame: the linear operator subtracts
beta1 * omegaso the pulse stays centred in the time window. Evaluated by a symmetric finite difference ofbeta(omega) = Re n(omega) omega / c; with a relative step of 1e-6 the truncation and rounding errors are both ~1e-12 relative, far below anything the propagation resolves.- Parameters:
- lam0float
Carrier wavelength in m.
- Returns:
- float
The group slowness
beta1at the carrier, in s/m.
- pnps.materials.chi3_sio2(lam0)[source]#
Return the third-order susceptibility of fused silica at a carrier.
chi3 = (4/3) n2 epsilon_0 c n0^2, with n2silica_n2()at the carrier and n0 the real part of the index there.- Parameters:
- lam0float
Carrier wavelength in m.
- Returns:
- float
The susceptibility chi3, in m^2/V^2.
- pnps.materials.silica_index(omega, *, absorption=False)[source]#
Return the complex refractive index of fused silica.
- Parameters:
- omeganumpy.ndarray or float
Angular frequency in rad/s, positive, any shape.
- absorptionbool, optional
Keep optmat’s material loss. Default False, a real index.
- Returns:
- numpy.ndarray
n + i kappawithkappa >= 0the loss (zero without absorption), the shape ofomega.
- pnps.materials.silica_k2(tgrid, *, absorption=False)[source]#
Return the slab’s material wavenumber squared on the frequency grid.
(n(omega) omega / c)^2on the band (tgrid.sidx) and zero off it, where the index is never evaluated: a placeholder in-band frequency (the carrier) keeps the fit inside the range it is defined on.- Parameters:
- tgridTimeGrid
The temporal grid.
- absorptionbool, optional
Keep optmat’s material loss.
- Returns:
- numpy.ndarray
The complex square,
(nt,), rad^2/m^2.
- pnps.materials.silica_medium(*, absorption=False)[source]#
Return solprop’s fused-silica slab, optmat’s fit.
- Parameters:
- absorptionbool, optional
Keep optmat’s material loss. Default False, a real index.
- Returns:
- solprop.spatial.SpatialMedium
The homogeneous fused-silica medium.
- pnps.materials.silica_n2(lam0)[source]#
Return optmat’s total Kerr index of fused silica at a wavelength.
The n2 of the silica nonlinear bundle (
SILICA_BUNDLE): the Kerr fit’s total long-pulse value, of which a Raman run gives(1 - f_R)to the instantaneous response. The fit is validated from 350 nm to 3500 nm; a deep-UV carrier evaluates it by its fitted dispersion below that, a decided extrapolation (docs/dev/decisions.md) that this function reports instead of warning about.- Parameters:
- lam0float
Vacuum wavelength in m.
- Returns:
- n2float
The total Kerr index in m^2/W.
- extrapolatedbool
True when
lam0is outside the fit’s validated range.
- pnps.materials.silica_raman_fraction()[source]#
Return the Raman fraction
f_Rof the silica nonlinear bundle.- Returns:
- float
The share of the total Kerr index carried by the delayed response, in
(0, 1): 0.2188 for the Hollenbeck and Cantrell shape paired with the Kerr fit.
- pnps.materials.silica_raman_shape(lags)[source]#
Sample the Raman shape of the silica nonlinear bundle at non-negative lags.
The copolarised shape
h_RofSILICA_BUNDLE(Hollenbeck and Cantrell’s), of unit integral, sampled directly as solprop samples it. It opens with a sine, so the trapezoid rule’s half-weight at zero lag is exactly zero.- Parameters:
- lagsnumpy.ndarray
Non-negative delays in s.
- Returns:
- numpy.ndarray
h_Rat the lags, in 1/s.