├── docs ├── .nojekyll ├── source │ ├── api │ │ ├── pynlo.device.rst │ │ ├── pynlo.medium.Mode.D.rst │ │ ├── pynlo.medium.Mode.n.rst │ │ ├── pynlo.medium.Mode.z.rst │ │ ├── pynlo.utility.fft.fft.rst │ │ ├── pynlo.utility.fft.ifft.rst │ │ ├── pynlo.utility.fft.rfft.rst │ │ ├── pynlo.utility.shift.rst │ │ ├── pynlo.utility.vacuum.rst │ │ ├── pynlo.light.Pulse.CW.rst │ │ ├── pynlo.light.Pulse.v0.rst │ │ ├── pynlo.medium.Mode.g2.rst │ │ ├── pynlo.medium.Mode.g3.rst │ │ ├── pynlo.medium.Mode.r3.rst │ │ ├── pynlo.utility.fft.irfft.rst │ │ ├── pynlo.light.Pulse.Sech.rst │ │ ├── pynlo.light.Pulse.a_t.rst │ │ ├── pynlo.light.Pulse.a_v.rst │ │ ├── pynlo.light.Pulse.copy.rst │ │ ├── pynlo.light.Pulse.e_p.rst │ │ ├── pynlo.light.Pulse.p_t.rst │ │ ├── pynlo.light.Pulse.p_v.rst │ │ ├── pynlo.medium.Mode.beta.rst │ │ ├── pynlo.medium.Mode.copy.rst │ │ ├── pynlo.medium.Mode.d_12.rst │ │ ├── pynlo.medium.Mode.n_g.rst │ │ ├── pynlo.medium.Mode.v_g.rst │ │ ├── pynlo.model.Model.step.rst │ │ ├── pynlo.utility.TFGrid.n.rst │ │ ├── pynlo.utility.chi3.raman.rst │ │ ├── pynlo.light.Pulse.ra_t.rst │ │ ├── pynlo.light.Pulse.rp_t.rst │ │ ├── pynlo.light.Pulse.tg_v.rst │ │ ├── pynlo.light.Pulse.vg_t.rst │ │ ├── pynlo.medium.Mode.alpha.rst │ │ ├── pynlo.medium.Mode.beta1.rst │ │ ├── pynlo.medium.Mode.beta2.rst │ │ ├── pynlo.medium.Mode.gamma.rst │ │ ├── pynlo.utility.TFGrid.dt.rst │ │ ├── pynlo.utility.TFGrid.dv.rst │ │ ├── pynlo.utility.TFGrid.rn.rst │ │ ├── pynlo.utility.chi2.g2_shg.rst │ │ ├── pynlo.utility.chi3.g3_spm.rst │ │ ├── pynlo.light.Pulse.phi_t.rst │ │ ├── pynlo.light.Pulse.phi_v.rst │ │ ├── pynlo.medium.Mode.g2_inv.rst │ │ ├── pynlo.medium.Mode.g2_pol.rst │ │ ├── pynlo.medium.Mode.v_grid.rst │ │ ├── pynlo.medium.Mode.z_mode.rst │ │ ├── pynlo.utility.TFGrid.copy.rst │ │ ├── pynlo.utility.TFGrid.rdt.rst │ │ ├── pynlo.utility.TFGrid.rdv.rst │ │ ├── pynlo.utility.chi2.g2_split.rst │ │ ├── pynlo.utility.chi3.g3_split.rst │ │ ├── pynlo.utility.fft.fftshift.rst │ │ ├── pynlo.utility.fft.ifftshift.rst │ │ ├── pynlo.utility.resample_t.rst │ │ ├── pynlo.utility.resample_v.rst │ │ ├── pynlo.light.Pulse.t_width.rst │ │ ├── pynlo.light.Pulse.v0_idx.rst │ │ ├── pynlo.light.Pulse.v_width.rst │ │ ├── pynlo.medium.Mode.rv_grid.rst │ │ ├── pynlo.model.UPE.propagate.rst │ │ ├── pynlo.light.Pulse.Gaussian.rst │ │ ├── pynlo.light.Pulse.Parabolic.rst │ │ ├── pynlo.medium.Mode.z_linear.rst │ │ ├── pynlo.model.Model.propagate.rst │ │ ├── pynlo.model.Model.simulate.rst │ │ ├── pynlo.model.NLSE.propagate.rst │ │ ├── pynlo.utility.TFGrid.rt_ref.rst │ │ ├── pynlo.utility.TFGrid.rv_ref.rst │ │ ├── pynlo.utility.TFGrid.t_grid.rst │ │ ├── pynlo.utility.TFGrid.t_ref.rst │ │ ├── pynlo.utility.TFGrid.v_grid.rst │ │ ├── pynlo.utility.TFGrid.v_ref.rst │ │ ├── pynlo.utility.chi1.D_to_beta2.rst │ │ ├── pynlo.utility.chi1.beta2_to_D.rst │ │ ├── pynlo.utility.chi1.beta_to_n.rst │ │ ├── pynlo.utility.chi1.n_to_beta.rst │ │ ├── pynlo.utility.taylor_series.rst │ │ ├── pynlo.light.Pulse.Lorentzian.rst │ │ ├── pynlo.utility.TFGrid.rt_grid.rst │ │ ├── pynlo.utility.TFGrid.rv_grid.rst │ │ ├── pynlo.utility.chi3.g3_to_gamma.rst │ │ ├── pynlo.utility.chi3.gamma_to_g3.rst │ │ ├── pynlo.light.Pulse.spectrogram.rst │ │ ├── pynlo.medium.Mode.z_nonlinear.rst │ │ ├── pynlo.model.UPE.update_poling.rst │ │ ├── pynlo.utility.TFGrid.rn_range.rst │ │ ├── pynlo.utility.TFGrid.rn_slice.rst │ │ ├── pynlo.utility.TFGrid.rtf_grids.rst │ │ ├── pynlo.utility.TFGrid.t_window.rst │ │ ├── pynlo.utility.TFGrid.v_window.rst │ │ ├── pynlo.utility.TFGrid.rt_window.rst │ │ ├── pynlo.utility.TFGrid.rv_window.rst │ │ ├── pynlo.model.Model.update_poling.rst │ │ ├── pynlo.light.Pulse.autocorrelation.rst │ │ ├── pynlo.medium.Mode.linear_operator.rst │ │ ├── pynlo.utility.TFGrid.FromFreqRange.rst │ │ ├── pynlo.model.Model.linear_operator.rst │ │ ├── pynlo.model.Model.update_linearity.rst │ │ ├── pynlo.model.NLSE.update_linearity.rst │ │ ├── pynlo.model.UPE.nonlinear_operator.rst │ │ ├── pynlo.utility.chi2.domain_inversions.rst │ │ ├── pynlo.light.Pulse.FromPowerSpectrum.rst │ │ ├── pynlo.model.NLSE.nonlinear_operator.rst │ │ ├── pynlo.model.UPE.update_nonlinearity.rst │ │ ├── pynlo.model.Model.estimate_step_size.rst │ │ ├── pynlo.model.Model.nonlinear_operator.rst │ │ ├── pynlo.model.NLSE.update_nonlinearity.rst │ │ ├── pynlo.model.Model.update_nonlinearity.rst │ │ ├── pynlo.model.UPE.nonlinear_operator_separable.rst │ │ ├── pynlo.light.rst │ │ ├── pynlo.medium.rst │ │ ├── pynlo.model.rst │ │ ├── pynlo.utility.chi2.rst │ │ ├── pynlo.utility.chi1.rst │ │ ├── pynlo.utility.fft.rst │ │ ├── pynlo.utility.chi3.rst │ │ ├── pynlo.model.NLSE.rst │ │ ├── pynlo.model.UPE.rst │ │ ├── pynlo.model.Model.rst │ │ ├── pynlo.utility.rst │ │ ├── pynlo.medium.Mode.rst │ │ ├── pynlo.light.Pulse.rst │ │ └── pynlo.utility.TFGrid.rst │ ├── _templates │ │ ├── base.rst │ │ ├── class.rst │ │ └── module.rst │ ├── examples │ │ ├── phase-matching.rst │ │ ├── optical-solitons.rst │ │ ├── ppln_cascaded-chi2.rst │ │ └── silica-pcf_supercontinuum.rst │ ├── _static │ │ ├── custom.css │ │ ├── pynlo-dark.svg │ │ └── pynlo-light.svg │ ├── guides.rst │ ├── api.rst │ ├── notes.rst │ ├── examples.rst │ ├── index.rst │ ├── overview.rst │ └── conf.py ├── build.bat ├── build │ └── html │ │ ├── objects.inv │ │ ├── _sources │ │ ├── api │ │ │ ├── pynlo.device.rst.txt │ │ │ ├── pynlo.medium.Mode.D.rst.txt │ │ │ ├── pynlo.medium.Mode.n.rst.txt │ │ │ ├── pynlo.medium.Mode.z.rst.txt │ │ │ ├── pynlo.utility.fft.fft.rst.txt │ │ │ ├── pynlo.utility.shift.rst.txt │ │ │ ├── pynlo.light.Pulse.CW.rst.txt │ │ │ ├── pynlo.medium.Mode.g2.rst.txt │ │ │ ├── pynlo.medium.Mode.g3.rst.txt │ │ │ ├── pynlo.medium.Mode.r3.rst.txt │ │ │ ├── pynlo.utility.fft.ifft.rst.txt │ │ │ ├── pynlo.utility.fft.rfft.rst.txt │ │ │ ├── pynlo.utility.vacuum.rst.txt │ │ │ ├── pynlo.light.Pulse.v0.rst.txt │ │ │ ├── pynlo.medium.Mode.copy.rst.txt │ │ │ ├── pynlo.medium.Mode.n_g.rst.txt │ │ │ ├── pynlo.medium.Mode.v_g.rst.txt │ │ │ ├── pynlo.utility.TFGrid.n.rst.txt │ │ │ ├── pynlo.utility.chi3.raman.rst.txt │ │ │ ├── pynlo.utility.fft.irfft.rst.txt │ │ │ ├── pynlo.light.Pulse.Sech.rst.txt │ │ │ ├── pynlo.light.Pulse.a_t.rst.txt │ │ │ ├── pynlo.light.Pulse.a_v.rst.txt │ │ │ ├── pynlo.light.Pulse.copy.rst.txt │ │ │ ├── pynlo.light.Pulse.e_p.rst.txt │ │ │ ├── pynlo.light.Pulse.p_t.rst.txt │ │ │ ├── pynlo.light.Pulse.p_v.rst.txt │ │ │ ├── pynlo.medium.Mode.beta.rst.txt │ │ │ ├── pynlo.medium.Mode.d_12.rst.txt │ │ │ ├── pynlo.model.Model.step.rst.txt │ │ │ ├── pynlo.utility.TFGrid.dt.rst.txt │ │ │ ├── pynlo.utility.TFGrid.dv.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rn.rst.txt │ │ │ ├── pynlo.utility.chi2.g2_shg.rst.txt │ │ │ ├── pynlo.utility.chi3.g3_spm.rst.txt │ │ │ ├── pynlo.light.Pulse.phi_t.rst.txt │ │ │ ├── pynlo.light.Pulse.phi_v.rst.txt │ │ │ ├── pynlo.light.Pulse.ra_t.rst.txt │ │ │ ├── pynlo.light.Pulse.rp_t.rst.txt │ │ │ ├── pynlo.light.Pulse.tg_v.rst.txt │ │ │ ├── pynlo.light.Pulse.vg_t.rst.txt │ │ │ ├── pynlo.medium.Mode.alpha.rst.txt │ │ │ ├── pynlo.medium.Mode.beta1.rst.txt │ │ │ ├── pynlo.medium.Mode.beta2.rst.txt │ │ │ ├── pynlo.medium.Mode.gamma.rst.txt │ │ │ ├── pynlo.utility.TFGrid.copy.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rdt.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rdv.rst.txt │ │ │ ├── pynlo.utility.fft.fftshift.rst.txt │ │ │ ├── pynlo.utility.resample_t.rst.txt │ │ │ ├── pynlo.utility.resample_v.rst.txt │ │ │ ├── pynlo.light.Pulse.v0_idx.rst.txt │ │ │ ├── pynlo.medium.Mode.g2_inv.rst.txt │ │ │ ├── pynlo.medium.Mode.g2_pol.rst.txt │ │ │ ├── pynlo.medium.Mode.v_grid.rst.txt │ │ │ ├── pynlo.medium.Mode.z_mode.rst.txt │ │ │ ├── pynlo.model.UPE.propagate.rst.txt │ │ │ ├── pynlo.utility.chi2.g2_split.rst.txt │ │ │ ├── pynlo.utility.chi3.g3_split.rst.txt │ │ │ ├── pynlo.utility.fft.ifftshift.rst.txt │ │ │ ├── pynlo.light.Pulse.Gaussian.rst.txt │ │ │ ├── pynlo.light.Pulse.t_width.rst.txt │ │ │ ├── pynlo.light.Pulse.v_width.rst.txt │ │ │ ├── pynlo.medium.Mode.rv_grid.rst.txt │ │ │ ├── pynlo.medium.Mode.z_linear.rst.txt │ │ │ ├── pynlo.model.Model.simulate.rst.txt │ │ │ ├── pynlo.model.NLSE.propagate.rst.txt │ │ │ ├── pynlo.utility.TFGrid.t_ref.rst.txt │ │ │ ├── pynlo.utility.TFGrid.v_ref.rst.txt │ │ │ ├── pynlo.utility.chi1.beta_to_n.rst.txt │ │ │ ├── pynlo.utility.chi1.n_to_beta.rst.txt │ │ │ ├── pynlo.light.Pulse.Parabolic.rst.txt │ │ │ ├── pynlo.model.Model.propagate.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rt_ref.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rv_ref.rst.txt │ │ │ ├── pynlo.utility.TFGrid.t_grid.rst.txt │ │ │ ├── pynlo.utility.TFGrid.v_grid.rst.txt │ │ │ ├── pynlo.utility.chi1.D_to_beta2.rst.txt │ │ │ ├── pynlo.utility.chi1.beta2_to_D.rst.txt │ │ │ ├── pynlo.utility.taylor_series.rst.txt │ │ │ ├── pynlo.light.Pulse.Lorentzian.rst.txt │ │ │ ├── pynlo.light.Pulse.spectrogram.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rn_range.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rn_slice.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rt_grid.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rv_grid.rst.txt │ │ │ ├── pynlo.utility.TFGrid.t_window.rst.txt │ │ │ ├── pynlo.utility.TFGrid.v_window.rst.txt │ │ │ ├── pynlo.utility.chi3.g3_to_gamma.rst.txt │ │ │ ├── pynlo.utility.chi3.gamma_to_g3.rst.txt │ │ │ ├── pynlo.medium.Mode.z_nonlinear.rst.txt │ │ │ ├── pynlo.model.UPE.update_poling.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rt_window.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rtf_grids.rst.txt │ │ │ ├── pynlo.utility.TFGrid.rv_window.rst.txt │ │ │ ├── pynlo.model.Model.update_poling.rst.txt │ │ │ ├── pynlo.light.Pulse.autocorrelation.rst.txt │ │ │ ├── pynlo.medium.Mode.linear_operator.rst.txt │ │ │ ├── pynlo.model.Model.linear_operator.rst.txt │ │ │ ├── pynlo.model.NLSE.update_linearity.rst.txt │ │ │ ├── pynlo.utility.TFGrid.FromFreqRange.rst.txt │ │ │ ├── pynlo.utility.chi2.domain_inversions.rst.txt │ │ │ ├── pynlo.light.Pulse.FromPowerSpectrum.rst.txt │ │ │ ├── pynlo.model.Model.update_linearity.rst.txt │ │ │ ├── pynlo.model.UPE.nonlinear_operator.rst.txt │ │ │ ├── pynlo.model.Model.nonlinear_operator.rst.txt │ │ │ ├── pynlo.model.NLSE.nonlinear_operator.rst.txt │ │ │ ├── pynlo.model.NLSE.update_nonlinearity.rst.txt │ │ │ ├── pynlo.model.UPE.update_nonlinearity.rst.txt │ │ │ ├── pynlo.model.Model.estimate_step_size.rst.txt │ │ │ ├── pynlo.model.Model.update_nonlinearity.rst.txt │ │ │ ├── pynlo.model.UPE.nonlinear_operator_separable.rst.txt │ │ │ ├── pynlo.light.rst.txt │ │ │ ├── pynlo.medium.rst.txt │ │ │ ├── pynlo.model.rst.txt │ │ │ ├── pynlo.utility.chi2.rst.txt │ │ │ ├── pynlo.utility.chi1.rst.txt │ │ │ ├── pynlo.utility.chi3.rst.txt │ │ │ ├── pynlo.utility.fft.rst.txt │ │ │ ├── pynlo.model.NLSE.rst.txt │ │ │ ├── pynlo.model.UPE.rst.txt │ │ │ ├── pynlo.model.Model.rst.txt │ │ │ ├── pynlo.utility.rst.txt │ │ │ ├── pynlo.medium.Mode.rst.txt │ │ │ ├── pynlo.light.Pulse.rst.txt │ │ │ └── pynlo.utility.TFGrid.rst.txt │ │ ├── examples │ │ │ ├── optical-solitons.rst.txt │ │ │ ├── phase-matching.rst.txt │ │ │ ├── ppln_cascaded-chi2.rst.txt │ │ │ └── silica-pcf_supercontinuum.rst.txt │ │ ├── guides.rst.txt │ │ ├── api.rst.txt │ │ ├── notes.rst.txt │ │ ├── examples.rst.txt │ │ ├── index.rst.txt │ │ └── overview.rst.txt │ │ ├── _static │ │ ├── file.png │ │ ├── minus.png │ │ ├── plus.png │ │ ├── styles │ │ │ └── theme.css │ │ ├── vendor │ │ │ └── fontawesome │ │ │ │ └── 6.5.1 │ │ │ │ ├── webfonts │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff2 │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ ├── fa-v4compatibility.ttf │ │ │ │ └── fa-v4compatibility.woff2 │ │ │ │ ├── js │ │ │ │ └── all.min.js.LICENSE.txt │ │ │ │ └── LICENSE.txt │ │ ├── custom.css │ │ ├── scripts │ │ │ └── bootstrap.js.LICENSE.txt │ │ ├── documentation_options.js │ │ ├── nbsphinx-gallery.css │ │ ├── design-tabs.js │ │ ├── webpack-macros.html │ │ ├── nbsphinx-no-thumbnail.svg │ │ ├── pynlo-dark.svg │ │ ├── pynlo-light.svg │ │ ├── nbsphinx-broken-thumbnail.svg │ │ ├── doctools.js │ │ ├── sphinx_highlight.js │ │ └── language_data.js │ │ ├── .buildinfo │ │ └── _sphinx_design_static │ │ └── design-tabs.js ├── autosummary │ └── templates │ │ └── autosummary │ │ ├── base.rst │ │ ├── class.rst │ │ └── module.rst ├── index.html ├── update_api.bat ├── Makefile └── make.bat ├── .gitignore ├── pyproject.toml ├── pynlo ├── __init__.py └── utility │ ├── chi1.py │ ├── misc.py │ └── fft.py ├── README.rst ├── tests └── test_light.py ├── examples ├── silica-pcf_supercontinuum.py └── ppln_cascaded-chi2.py └── COPYING.LESSER.txt /docs/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .spyproject/ 2 | *.pyc 3 | docs/build/doctrees/ 4 | .pylint.d/ 5 | -------------------------------------------------------------------------------- /docs/source/api/pynlo.device.rst: -------------------------------------------------------------------------------- 1 | pynlo.device 2 | ============ 3 | .. automodule:: pynlo.device -------------------------------------------------------------------------------- /docs/build.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | rd "source\api" /s /q 4 | rd "build\" /s /q 5 | 6 | make html 7 | -------------------------------------------------------------------------------- /docs/build/html/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/objects.inv -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.device.rst.txt: -------------------------------------------------------------------------------- 1 | pynlo.device 2 | ============ 3 | .. automodule:: pynlo.device -------------------------------------------------------------------------------- /docs/build/html/_static/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/file.png -------------------------------------------------------------------------------- /docs/build/html/_static/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/minus.png -------------------------------------------------------------------------------- /docs/build/html/_static/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/plus.png -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.D.rst: -------------------------------------------------------------------------------- 1 | Mode.D 2 | ====== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.D -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.n.rst: -------------------------------------------------------------------------------- 1 | Mode.n 2 | ====== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.n -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.z.rst: -------------------------------------------------------------------------------- 1 | Mode.z 2 | ====== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.z -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.fft.fft.rst: -------------------------------------------------------------------------------- 1 | fft 2 | === 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: fft -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.fft.ifft.rst: -------------------------------------------------------------------------------- 1 | ifft 2 | ==== 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: ifft -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.fft.rfft.rst: -------------------------------------------------------------------------------- 1 | rfft 2 | ==== 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: rfft -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.shift.rst: -------------------------------------------------------------------------------- 1 | shift 2 | ===== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: shift -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.vacuum.rst: -------------------------------------------------------------------------------- 1 | vacuum 2 | ====== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: vacuum -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.CW.rst: -------------------------------------------------------------------------------- 1 | Pulse.CW 2 | ======== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.CW -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.v0.rst: -------------------------------------------------------------------------------- 1 | Pulse.v0 2 | ======== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.v0 -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.g2.rst: -------------------------------------------------------------------------------- 1 | Mode.g2 2 | ======= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.g2 -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.g3.rst: -------------------------------------------------------------------------------- 1 | Mode.g3 2 | ======= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.g3 -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.r3.rst: -------------------------------------------------------------------------------- 1 | Mode.r3 2 | ======= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.r3 -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.fft.irfft.rst: -------------------------------------------------------------------------------- 1 | irfft 2 | ===== 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: irfft -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.Sech.rst: -------------------------------------------------------------------------------- 1 | Pulse.Sech 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.Sech -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.a_t.rst: -------------------------------------------------------------------------------- 1 | Pulse.a\_t 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.a_t -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.a_v.rst: -------------------------------------------------------------------------------- 1 | Pulse.a\_v 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.a_v -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.copy.rst: -------------------------------------------------------------------------------- 1 | Pulse.copy 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.copy -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.e_p.rst: -------------------------------------------------------------------------------- 1 | Pulse.e\_p 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.e_p -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.p_t.rst: -------------------------------------------------------------------------------- 1 | Pulse.p\_t 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.p_t -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.p_v.rst: -------------------------------------------------------------------------------- 1 | Pulse.p\_v 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.p_v -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.beta.rst: -------------------------------------------------------------------------------- 1 | Mode.beta 2 | ========= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.beta -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.copy.rst: -------------------------------------------------------------------------------- 1 | Mode.copy 2 | ========= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. automethod:: Mode.copy -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.d_12.rst: -------------------------------------------------------------------------------- 1 | Mode.d\_12 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. automethod:: Mode.d_12 -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.n_g.rst: -------------------------------------------------------------------------------- 1 | Mode.n\_g 2 | ========= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.n_g -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.v_g.rst: -------------------------------------------------------------------------------- 1 | Mode.v\_g 2 | ========= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.v_g -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.Model.step.rst: -------------------------------------------------------------------------------- 1 | Model.step 2 | ========== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.step -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.n.rst: -------------------------------------------------------------------------------- 1 | TFGrid.n 2 | ======== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.n -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi3.raman.rst: -------------------------------------------------------------------------------- 1 | raman 2 | ===== 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: raman -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.D.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.D 2 | ====== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.D -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.n.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.n 2 | ====== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.n -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.z.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.z 2 | ====== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.z -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.fft.fft.rst.txt: -------------------------------------------------------------------------------- 1 | fft 2 | === 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: fft -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.shift.rst.txt: -------------------------------------------------------------------------------- 1 | shift 2 | ===== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: shift -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.ra_t.rst: -------------------------------------------------------------------------------- 1 | Pulse.ra\_t 2 | =========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.ra_t -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.rp_t.rst: -------------------------------------------------------------------------------- 1 | Pulse.rp\_t 2 | =========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.rp_t -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.tg_v.rst: -------------------------------------------------------------------------------- 1 | Pulse.tg\_v 2 | =========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.tg_v -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.vg_t.rst: -------------------------------------------------------------------------------- 1 | Pulse.vg\_t 2 | =========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.vg_t -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.alpha.rst: -------------------------------------------------------------------------------- 1 | Mode.alpha 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.alpha -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.beta1.rst: -------------------------------------------------------------------------------- 1 | Mode.beta1 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.beta1 -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.beta2.rst: -------------------------------------------------------------------------------- 1 | Mode.beta2 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.beta2 -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.gamma.rst: -------------------------------------------------------------------------------- 1 | Mode.gamma 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.gamma -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.dt.rst: -------------------------------------------------------------------------------- 1 | TFGrid.dt 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.dt -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.dv.rst: -------------------------------------------------------------------------------- 1 | TFGrid.dv 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.dv -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rn.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rn 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rn -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi2.g2_shg.rst: -------------------------------------------------------------------------------- 1 | g2\_shg 2 | ======= 3 | 4 | .. currentmodule:: pynlo.utility.chi2 5 | 6 | .. autofunction:: g2_shg -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi3.g3_spm.rst: -------------------------------------------------------------------------------- 1 | g3\_spm 2 | ======= 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: g3_spm -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.CW.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.CW 2 | ======== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.CW -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.g2.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.g2 2 | ======= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.g2 -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.g3.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.g3 2 | ======= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.g3 -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.r3.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.r3 2 | ======= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.r3 -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.fft.ifft.rst.txt: -------------------------------------------------------------------------------- 1 | ifft 2 | ==== 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: ifft -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.fft.rfft.rst.txt: -------------------------------------------------------------------------------- 1 | rfft 2 | ==== 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: rfft -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.vacuum.rst.txt: -------------------------------------------------------------------------------- 1 | vacuum 2 | ====== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: vacuum -------------------------------------------------------------------------------- /docs/build/html/_static/styles/theme.css: -------------------------------------------------------------------------------- 1 | /* Provided by Sphinx's 'basic' theme, and included in the final set of assets */ 2 | @import "../basic.css"; 3 | -------------------------------------------------------------------------------- /docs/source/_templates/base.rst: -------------------------------------------------------------------------------- 1 | {{ objname | escape | underline}} 2 | 3 | .. currentmodule:: {{ module }} 4 | 5 | .. auto{{ objtype }}:: {{ objname }} 6 | -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.phi_t.rst: -------------------------------------------------------------------------------- 1 | Pulse.phi\_t 2 | ============ 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.phi_t -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.phi_v.rst: -------------------------------------------------------------------------------- 1 | Pulse.phi\_v 2 | ============ 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.phi_v -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.g2_inv.rst: -------------------------------------------------------------------------------- 1 | Mode.g2\_inv 2 | ============ 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.g2_inv -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.g2_pol.rst: -------------------------------------------------------------------------------- 1 | Mode.g2\_pol 2 | ============ 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.g2_pol -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.v_grid.rst: -------------------------------------------------------------------------------- 1 | Mode.v\_grid 2 | ============ 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.v_grid -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.z_mode.rst: -------------------------------------------------------------------------------- 1 | Mode.z\_mode 2 | ============ 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.z_mode -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.copy.rst: -------------------------------------------------------------------------------- 1 | TFGrid.copy 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. automethod:: TFGrid.copy -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rdt.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rdt 2 | ========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rdt -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rdv.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rdv 2 | ========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rdv -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi2.g2_split.rst: -------------------------------------------------------------------------------- 1 | g2\_split 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility.chi2 5 | 6 | .. autofunction:: g2_split -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi3.g3_split.rst: -------------------------------------------------------------------------------- 1 | g3\_split 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: g3_split -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.fft.fftshift.rst: -------------------------------------------------------------------------------- 1 | fftshift 2 | ======== 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: fftshift -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.fft.ifftshift.rst: -------------------------------------------------------------------------------- 1 | ifftshift 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: ifftshift -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.resample_t.rst: -------------------------------------------------------------------------------- 1 | resample\_t 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: resample_t -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.resample_v.rst: -------------------------------------------------------------------------------- 1 | resample\_v 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: resample_v -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.v0.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.v0 2 | ======== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.v0 -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.copy.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.copy 2 | ========= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. automethod:: Mode.copy -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.n_g.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.n\_g 2 | ========= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.n_g -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.v_g.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.v\_g 2 | ========= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.v_g -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.n.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.n 2 | ======== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.n -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi3.raman.rst.txt: -------------------------------------------------------------------------------- 1 | raman 2 | ===== 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: raman -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.fft.irfft.rst.txt: -------------------------------------------------------------------------------- 1 | irfft 2 | ===== 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: irfft -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.t_width.rst: -------------------------------------------------------------------------------- 1 | Pulse.t\_width 2 | ============== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.t_width -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.v0_idx.rst: -------------------------------------------------------------------------------- 1 | Pulse.v0\_idx 2 | ============= 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.v0_idx -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.v_width.rst: -------------------------------------------------------------------------------- 1 | Pulse.v\_width 2 | ============== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.v_width -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.rv_grid.rst: -------------------------------------------------------------------------------- 1 | Mode.rv\_grid 2 | ============= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.rv_grid -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.UPE.propagate.rst: -------------------------------------------------------------------------------- 1 | UPE.propagate 2 | ============= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.propagate -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.Sech.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.Sech 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.Sech -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.a_t.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.a\_t 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.a_t -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.a_v.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.a\_v 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.a_v -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.copy.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.copy 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.copy -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.e_p.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.e\_p 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.e_p -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.p_t.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.p\_t 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.p_t -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.p_v.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.p\_v 2 | ========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.p_v -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.beta.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.beta 2 | ========= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.beta -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.d_12.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.d\_12 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. automethod:: Mode.d_12 -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.Model.step.rst.txt: -------------------------------------------------------------------------------- 1 | Model.step 2 | ========== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.step -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.dt.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.dt 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.dt -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.dv.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.dv 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.dv -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rn.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rn 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rn -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi2.g2_shg.rst.txt: -------------------------------------------------------------------------------- 1 | g2\_shg 2 | ======= 3 | 4 | .. currentmodule:: pynlo.utility.chi2 5 | 6 | .. autofunction:: g2_shg -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi3.g3_spm.rst.txt: -------------------------------------------------------------------------------- 1 | g3\_spm 2 | ======= 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: g3_spm -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.Gaussian.rst: -------------------------------------------------------------------------------- 1 | Pulse.Gaussian 2 | ============== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.Gaussian -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.Parabolic.rst: -------------------------------------------------------------------------------- 1 | Pulse.Parabolic 2 | =============== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.Parabolic -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.z_linear.rst: -------------------------------------------------------------------------------- 1 | Mode.z\_linear 2 | ============== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.z_linear -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.Model.propagate.rst: -------------------------------------------------------------------------------- 1 | Model.propagate 2 | =============== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.propagate -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.Model.simulate.rst: -------------------------------------------------------------------------------- 1 | Model.simulate 2 | ============== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.simulate -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.NLSE.propagate.rst: -------------------------------------------------------------------------------- 1 | NLSE.propagate 2 | ============== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: NLSE.propagate -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rt_ref.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rt\_ref 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rt_ref -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rv_ref.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rv\_ref 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rv_ref -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.t_grid.rst: -------------------------------------------------------------------------------- 1 | TFGrid.t\_grid 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.t_grid -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.t_ref.rst: -------------------------------------------------------------------------------- 1 | TFGrid.t\_ref 2 | ============= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.t_ref -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.v_grid.rst: -------------------------------------------------------------------------------- 1 | TFGrid.v\_grid 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.v_grid -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.v_ref.rst: -------------------------------------------------------------------------------- 1 | TFGrid.v\_ref 2 | ============= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.v_ref -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi1.D_to_beta2.rst: -------------------------------------------------------------------------------- 1 | D\_to\_beta2 2 | ============ 3 | 4 | .. currentmodule:: pynlo.utility.chi1 5 | 6 | .. autofunction:: D_to_beta2 -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi1.beta2_to_D.rst: -------------------------------------------------------------------------------- 1 | beta2\_to\_D 2 | ============ 3 | 4 | .. currentmodule:: pynlo.utility.chi1 5 | 6 | .. autofunction:: beta2_to_D -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi1.beta_to_n.rst: -------------------------------------------------------------------------------- 1 | beta\_to\_n 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility.chi1 5 | 6 | .. autofunction:: beta_to_n -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi1.n_to_beta.rst: -------------------------------------------------------------------------------- 1 | n\_to\_beta 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility.chi1 5 | 6 | .. autofunction:: n_to_beta -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.taylor_series.rst: -------------------------------------------------------------------------------- 1 | taylor\_series 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: taylor_series -------------------------------------------------------------------------------- /docs/autosummary/templates/autosummary/base.rst: -------------------------------------------------------------------------------- 1 | {{ fullname | escape | underline}} 2 | 3 | .. currentmodule:: {{ module }} 4 | 5 | .. auto{{ objtype }}:: {{ objname }} 6 | -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.phi_t.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.phi\_t 2 | ============ 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.phi_t -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.phi_v.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.phi\_v 2 | ============ 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.phi_v -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.ra_t.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.ra\_t 2 | =========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.ra_t -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.rp_t.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.rp\_t 2 | =========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.rp_t -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.tg_v.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.tg\_v 2 | =========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.tg_v -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.vg_t.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.vg\_t 2 | =========== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.vg_t -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.alpha.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.alpha 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.alpha -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.beta1.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.beta1 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.beta1 -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.beta2.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.beta2 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.beta2 -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.gamma.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.gamma 2 | ========== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.gamma -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.copy.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.copy 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. automethod:: TFGrid.copy -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rdt.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rdt 2 | ========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rdt -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rdv.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rdv 2 | ========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rdv -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.fft.fftshift.rst.txt: -------------------------------------------------------------------------------- 1 | fftshift 2 | ======== 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: fftshift -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.resample_t.rst.txt: -------------------------------------------------------------------------------- 1 | resample\_t 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: resample_t -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.resample_v.rst.txt: -------------------------------------------------------------------------------- 1 | resample\_v 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: resample_v -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.Lorentzian.rst: -------------------------------------------------------------------------------- 1 | Pulse.Lorentzian 2 | ================ 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.Lorentzian -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rt_grid.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rt\_grid 2 | =============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rt_grid -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rv_grid.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rv\_grid 2 | =============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rv_grid -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi3.g3_to_gamma.rst: -------------------------------------------------------------------------------- 1 | g3\_to\_gamma 2 | ============= 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: g3_to_gamma -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi3.gamma_to_g3.rst: -------------------------------------------------------------------------------- 1 | gamma\_to\_g3 2 | ============= 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: gamma_to_g3 -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.v0_idx.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.v0\_idx 2 | ============= 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. autoproperty:: Pulse.v0_idx -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.g2_inv.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.g2\_inv 2 | ============ 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.g2_inv -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.g2_pol.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.g2\_pol 2 | ============ 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.g2_pol -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.v_grid.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.v\_grid 2 | ============ 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.v_grid -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.z_mode.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.z\_mode 2 | ============ 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.z_mode -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.UPE.propagate.rst.txt: -------------------------------------------------------------------------------- 1 | UPE.propagate 2 | ============= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.propagate -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi2.g2_split.rst.txt: -------------------------------------------------------------------------------- 1 | g2\_split 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility.chi2 5 | 6 | .. autofunction:: g2_split -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi3.g3_split.rst.txt: -------------------------------------------------------------------------------- 1 | g3\_split 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: g3_split -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.fft.ifftshift.rst.txt: -------------------------------------------------------------------------------- 1 | ifftshift 2 | ========= 3 | 4 | .. currentmodule:: pynlo.utility.fft 5 | 6 | .. autofunction:: ifftshift -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.spectrogram.rst: -------------------------------------------------------------------------------- 1 | Pulse.spectrogram 2 | ================= 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.spectrogram -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.z_nonlinear.rst: -------------------------------------------------------------------------------- 1 | Mode.z\_nonlinear 2 | ================= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.z_nonlinear -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.UPE.update_poling.rst: -------------------------------------------------------------------------------- 1 | UPE.update\_poling 2 | ================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.update_poling -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rn_range.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rn\_range 2 | ================ 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rn_range -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rn_slice.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rn\_slice 2 | ================ 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rn_slice -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rtf_grids.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rtf\_grids 2 | ================= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. automethod:: TFGrid.rtf_grids -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.t_window.rst: -------------------------------------------------------------------------------- 1 | TFGrid.t\_window 2 | ================ 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.t_window -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.v_window.rst: -------------------------------------------------------------------------------- 1 | TFGrid.v\_window 2 | ================ 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.v_window -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.Gaussian.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.Gaussian 2 | ============== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.Gaussian -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.t_width.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.t\_width 2 | ============== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.t_width -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.v_width.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.v\_width 2 | ============== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.v_width -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.rv_grid.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.rv\_grid 2 | ============= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.rv_grid -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.z_linear.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.z\_linear 2 | ============== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.z_linear -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.Model.simulate.rst.txt: -------------------------------------------------------------------------------- 1 | Model.simulate 2 | ============== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.simulate -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.NLSE.propagate.rst.txt: -------------------------------------------------------------------------------- 1 | NLSE.propagate 2 | ============== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: NLSE.propagate -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.t_ref.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.t\_ref 2 | ============= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.t_ref -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.v_ref.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.v\_ref 2 | ============= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.v_ref -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi1.beta_to_n.rst.txt: -------------------------------------------------------------------------------- 1 | beta\_to\_n 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility.chi1 5 | 6 | .. autofunction:: beta_to_n -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi1.n_to_beta.rst.txt: -------------------------------------------------------------------------------- 1 | n\_to\_beta 2 | =========== 3 | 4 | .. currentmodule:: pynlo.utility.chi1 5 | 6 | .. autofunction:: n_to_beta -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rt_window.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rt\_window 2 | ================= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rt_window -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.rv_window.rst: -------------------------------------------------------------------------------- 1 | TFGrid.rv\_window 2 | ================= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rv_window -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.Parabolic.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.Parabolic 2 | =============== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.Parabolic -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.Model.propagate.rst.txt: -------------------------------------------------------------------------------- 1 | Model.propagate 2 | =============== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.propagate -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rt_ref.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rt\_ref 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rt_ref -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rv_ref.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rv\_ref 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rv_ref -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.t_grid.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.t\_grid 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.t_grid -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.v_grid.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.v\_grid 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.v_grid -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi1.D_to_beta2.rst.txt: -------------------------------------------------------------------------------- 1 | D\_to\_beta2 2 | ============ 3 | 4 | .. currentmodule:: pynlo.utility.chi1 5 | 6 | .. autofunction:: D_to_beta2 -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi1.beta2_to_D.rst.txt: -------------------------------------------------------------------------------- 1 | beta2\_to\_D 2 | ============ 3 | 4 | .. currentmodule:: pynlo.utility.chi1 5 | 6 | .. autofunction:: beta2_to_D -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.taylor_series.rst.txt: -------------------------------------------------------------------------------- 1 | taylor\_series 2 | ============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autofunction:: taylor_series -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.Model.update_poling.rst: -------------------------------------------------------------------------------- 1 | Model.update\_poling 2 | ==================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.update_poling -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.Lorentzian.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.Lorentzian 2 | ================ 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.Lorentzian -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.spectrogram.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.spectrogram 2 | ================= 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.spectrogram -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rn_range.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rn\_range 2 | ================ 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rn_range -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rn_slice.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rn\_slice 2 | ================ 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rn_slice -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rt_grid.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rt\_grid 2 | =============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rt_grid -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rv_grid.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rv\_grid 2 | =============== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rv_grid -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.t_window.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.t\_window 2 | ================ 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.t_window -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.v_window.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.v\_window 2 | ================ 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.v_window -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi3.g3_to_gamma.rst.txt: -------------------------------------------------------------------------------- 1 | g3\_to\_gamma 2 | ============= 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: g3_to_gamma -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi3.gamma_to_g3.rst.txt: -------------------------------------------------------------------------------- 1 | gamma\_to\_g3 2 | ============= 3 | 4 | .. currentmodule:: pynlo.utility.chi3 5 | 6 | .. autofunction:: gamma_to_g3 -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.autocorrelation.rst: -------------------------------------------------------------------------------- 1 | Pulse.autocorrelation 2 | ===================== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.autocorrelation -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.Mode.linear_operator.rst: -------------------------------------------------------------------------------- 1 | Mode.linear\_operator 2 | ===================== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. automethod:: Mode.linear_operator -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.TFGrid.FromFreqRange.rst: -------------------------------------------------------------------------------- 1 | TFGrid.FromFreqRange 2 | ==================== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. automethod:: TFGrid.FromFreqRange -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.z_nonlinear.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.z\_nonlinear 2 | ================= 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. autoproperty:: Mode.z_nonlinear -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.UPE.update_poling.rst.txt: -------------------------------------------------------------------------------- 1 | UPE.update\_poling 2 | ================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.update_poling -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rt_window.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rt\_window 2 | ================= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rt_window -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rtf_grids.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rtf\_grids 2 | ================= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. automethod:: TFGrid.rtf_grids -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.rv_window.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.rv\_window 2 | ================= 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. autoproperty:: TFGrid.rv_window -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.Model.linear_operator.rst: -------------------------------------------------------------------------------- 1 | Model.linear\_operator 2 | ====================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.linear_operator -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.Model.update_linearity.rst: -------------------------------------------------------------------------------- 1 | Model.update\_linearity 2 | ======================= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.update_linearity -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.NLSE.update_linearity.rst: -------------------------------------------------------------------------------- 1 | NLSE.update\_linearity 2 | ====================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: NLSE.update_linearity -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.UPE.nonlinear_operator.rst: -------------------------------------------------------------------------------- 1 | UPE.nonlinear\_operator 2 | ======================= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.nonlinear_operator -------------------------------------------------------------------------------- /docs/source/api/pynlo.utility.chi2.domain_inversions.rst: -------------------------------------------------------------------------------- 1 | domain\_inversions 2 | ================== 3 | 4 | .. currentmodule:: pynlo.utility.chi2 5 | 6 | .. autofunction:: domain_inversions -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.Model.update_poling.rst.txt: -------------------------------------------------------------------------------- 1 | Model.update\_poling 2 | ==================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.update_poling -------------------------------------------------------------------------------- /docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.Pulse.FromPowerSpectrum.rst: -------------------------------------------------------------------------------- 1 | Pulse.FromPowerSpectrum 2 | ======================= 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.FromPowerSpectrum -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.NLSE.nonlinear_operator.rst: -------------------------------------------------------------------------------- 1 | NLSE.nonlinear\_operator 2 | ======================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: NLSE.nonlinear_operator -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.UPE.update_nonlinearity.rst: -------------------------------------------------------------------------------- 1 | UPE.update\_nonlinearity 2 | ======================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.update_nonlinearity -------------------------------------------------------------------------------- /docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.Model.estimate_step_size.rst: -------------------------------------------------------------------------------- 1 | Model.estimate\_step\_size 2 | ========================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.estimate_step_size -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.Model.nonlinear_operator.rst: -------------------------------------------------------------------------------- 1 | Model.nonlinear\_operator 2 | ========================= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.nonlinear_operator -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.NLSE.update_nonlinearity.rst: -------------------------------------------------------------------------------- 1 | NLSE.update\_nonlinearity 2 | ========================= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: NLSE.update_nonlinearity -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.autocorrelation.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.autocorrelation 2 | ===================== 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.autocorrelation -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.Mode.linear_operator.rst.txt: -------------------------------------------------------------------------------- 1 | Mode.linear\_operator 2 | ===================== 3 | 4 | .. currentmodule:: pynlo.medium 5 | 6 | .. automethod:: Mode.linear_operator -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.Model.linear_operator.rst.txt: -------------------------------------------------------------------------------- 1 | Model.linear\_operator 2 | ====================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.linear_operator -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.NLSE.update_linearity.rst.txt: -------------------------------------------------------------------------------- 1 | NLSE.update\_linearity 2 | ====================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: NLSE.update_linearity -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.TFGrid.FromFreqRange.rst.txt: -------------------------------------------------------------------------------- 1 | TFGrid.FromFreqRange 2 | ==================== 3 | 4 | .. currentmodule:: pynlo.utility 5 | 6 | .. automethod:: TFGrid.FromFreqRange -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.utility.chi2.domain_inversions.rst.txt: -------------------------------------------------------------------------------- 1 | domain\_inversions 2 | ================== 3 | 4 | .. currentmodule:: pynlo.utility.chi2 5 | 6 | .. autofunction:: domain_inversions -------------------------------------------------------------------------------- /docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.Model.update_nonlinearity.rst: -------------------------------------------------------------------------------- 1 | Model.update\_nonlinearity 2 | ========================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.update_nonlinearity -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.Pulse.FromPowerSpectrum.rst.txt: -------------------------------------------------------------------------------- 1 | Pulse.FromPowerSpectrum 2 | ======================= 3 | 4 | .. currentmodule:: pynlo.light 5 | 6 | .. automethod:: Pulse.FromPowerSpectrum -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.Model.update_linearity.rst.txt: -------------------------------------------------------------------------------- 1 | Model.update\_linearity 2 | ======================= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.update_linearity -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.UPE.nonlinear_operator.rst.txt: -------------------------------------------------------------------------------- 1 | UPE.nonlinear\_operator 2 | ======================= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.nonlinear_operator -------------------------------------------------------------------------------- /docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdfredrick/PyNLO/HEAD/docs/build/html/_static/vendor/fontawesome/6.5.1/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /docs/source/examples/phase-matching.rst: -------------------------------------------------------------------------------- 1 | Phase Matching 2 | ============== 3 | .. literalinclude:: ../../../examples/phase-matching.py 4 | :caption: examples/phase-matching.py 5 | :language: python 6 | 7 | -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.Model.nonlinear_operator.rst.txt: -------------------------------------------------------------------------------- 1 | Model.nonlinear\_operator 2 | ========================= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.nonlinear_operator -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.NLSE.nonlinear_operator.rst.txt: -------------------------------------------------------------------------------- 1 | NLSE.nonlinear\_operator 2 | ======================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: NLSE.nonlinear_operator -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.NLSE.update_nonlinearity.rst.txt: -------------------------------------------------------------------------------- 1 | NLSE.update\_nonlinearity 2 | ========================= 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: NLSE.update_nonlinearity -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.UPE.update_nonlinearity.rst.txt: -------------------------------------------------------------------------------- 1 | UPE.update\_nonlinearity 2 | ======================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.update_nonlinearity -------------------------------------------------------------------------------- /docs/source/examples/optical-solitons.rst: -------------------------------------------------------------------------------- 1 | Optical Solitons 2 | ================ 3 | .. literalinclude:: ../../../examples/optical-solitons.py 4 | :caption: examples/optical-solitons.py 5 | :language: python 6 | -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.Model.estimate_step_size.rst.txt: -------------------------------------------------------------------------------- 1 | Model.estimate\_step\_size 2 | ========================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.estimate_step_size -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.Model.update_nonlinearity.rst.txt: -------------------------------------------------------------------------------- 1 | Model.update\_nonlinearity 2 | ========================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: Model.update_nonlinearity -------------------------------------------------------------------------------- /docs/source/_static/custom.css: -------------------------------------------------------------------------------- 1 | div.math { 2 | overflow-x: auto; 3 | overflow-y: hidden; 4 | } 5 | 6 | p + div.math { 7 | margin-top: -24px; 8 | } 9 | 10 | .wy-nav-content { 11 | max-width: 850px; 12 | } -------------------------------------------------------------------------------- /docs/build/html/_static/custom.css: -------------------------------------------------------------------------------- 1 | div.math { 2 | overflow-x: auto; 3 | overflow-y: hidden; 4 | } 5 | 6 | p + div.math { 7 | margin-top: -24px; 8 | } 9 | 10 | .wy-nav-content { 11 | max-width: 850px; 12 | } -------------------------------------------------------------------------------- /docs/build/html/_sources/examples/optical-solitons.rst.txt: -------------------------------------------------------------------------------- 1 | Optical Solitons 2 | ================ 3 | .. literalinclude:: ../../../examples/optical-solitons.py 4 | :caption: examples/optical-solitons.py 5 | :language: python 6 | -------------------------------------------------------------------------------- /docs/build/html/_sources/examples/phase-matching.rst.txt: -------------------------------------------------------------------------------- 1 | Phase Matching 2 | ============== 3 | .. literalinclude:: ../../../examples/phase-matching.py 4 | :caption: examples/phase-matching.py 5 | :language: python 6 | 7 | -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.UPE.nonlinear_operator_separable.rst: -------------------------------------------------------------------------------- 1 | UPE.nonlinear\_operator\_separable 2 | ================================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.nonlinear_operator_separable -------------------------------------------------------------------------------- /docs/source/examples/ppln_cascaded-chi2.rst: -------------------------------------------------------------------------------- 1 | PPLN: Cascaded Chi2 2 | =================== 3 | .. literalinclude:: ../../../examples/ppln_cascaded-chi2.py 4 | :caption: examples/ppln_cascaded-chi2.py 5 | :language: python 6 | 7 | -------------------------------------------------------------------------------- /docs/source/api/pynlo.light.rst: -------------------------------------------------------------------------------- 1 | pynlo.light 2 | =========== 3 | .. automodule:: pynlo.light 4 | 5 | Classes 6 | ------- 7 | .. autosummary:: 8 | :template: class.rst 9 | :toctree: 10 | :caption: Classes 11 | 12 | Pulse -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.model.UPE.nonlinear_operator_separable.rst.txt: -------------------------------------------------------------------------------- 1 | UPE.nonlinear\_operator\_separable 2 | ================================== 3 | 4 | .. currentmodule:: pynlo.model 5 | 6 | .. automethod:: UPE.nonlinear_operator_separable -------------------------------------------------------------------------------- /docs/build/html/_sources/examples/ppln_cascaded-chi2.rst.txt: -------------------------------------------------------------------------------- 1 | PPLN: Cascaded Chi2 2 | =================== 3 | .. literalinclude:: ../../../examples/ppln_cascaded-chi2.py 4 | :caption: examples/ppln_cascaded-chi2.py 5 | :language: python 6 | 7 | -------------------------------------------------------------------------------- /docs/source/api/pynlo.medium.rst: -------------------------------------------------------------------------------- 1 | pynlo.medium 2 | ============ 3 | .. automodule:: pynlo.medium 4 | 5 | Classes 6 | ------- 7 | .. autosummary:: 8 | :template: class.rst 9 | :toctree: 10 | :caption: Classes 11 | 12 | Mode -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 7 | 8 | Redirect to Documentation Webpage 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.light.rst.txt: -------------------------------------------------------------------------------- 1 | pynlo.light 2 | =========== 3 | .. automodule:: pynlo.light 4 | 5 | Classes 6 | ------- 7 | .. autosummary:: 8 | :template: class.rst 9 | :toctree: 10 | :caption: Classes 11 | 12 | Pulse -------------------------------------------------------------------------------- /docs/source/examples/silica-pcf_supercontinuum.rst: -------------------------------------------------------------------------------- 1 | Silica PCF: Supercontinuum 2 | ========================== 3 | .. literalinclude:: ../../../examples/silica-pcf_supercontinuum.py 4 | :caption: examples/silica-pcf_supercontinuum.py 5 | :language: python 6 | -------------------------------------------------------------------------------- /docs/update_api.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | rd "source\api" /s /q 4 | 5 | setlocal 6 | 7 | set SPHINX_APIDOC_OPTIONS=show-inheritance 8 | 9 | sphinx-apidoc --no-toc --module-first --templatedir="source\_templates" -o "source\api" "..\pynlo" 10 | 11 | endlocal -------------------------------------------------------------------------------- /docs/build/html/_sources/api/pynlo.medium.rst.txt: -------------------------------------------------------------------------------- 1 | pynlo.medium 2 | ============ 3 | .. automodule:: pynlo.medium 4 | 5 | Classes 6 | ------- 7 | .. autosummary:: 8 | :template: class.rst 9 | :toctree: 10 | :caption: Classes 11 | 12 | Mode -------------------------------------------------------------------------------- /docs/build/html/.buildinfo: -------------------------------------------------------------------------------- 1 | # Sphinx build info version 1 2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. 3 | config: fee5708fbe89b9b330e6cd9de290883f 4 | tags: 645f666f9bcd5a90fca523b33c5a78b7 5 | -------------------------------------------------------------------------------- /docs/source/api/pynlo.model.rst: -------------------------------------------------------------------------------- 1 | pynlo.model 2 | =========== 3 | .. automodule:: pynlo.model 4 | 5 | Classes 6 | ------- 7 | .. autosummary:: 8 | :template: class.rst 9 | :toctree: 10 | :caption: Classes 11 | 12 | Model 13 | NLSE 14 | UPE -------------------------------------------------------------------------------- /docs/build/html/_sources/examples/silica-pcf_supercontinuum.rst.txt: -------------------------------------------------------------------------------- 1 | Silica PCF: Supercontinuum 2 | ========================== 3 | .. literalinclude:: ../../../examples/silica-pcf_supercontinuum.py 4 | :caption: examples/silica-pcf_supercontinuum.py 5 | :language: python 6 | -------------------------------------------------------------------------------- /docs/source/guides.rst: -------------------------------------------------------------------------------- 1 | User Guide 2 | ========== 3 | 4 | .. include:: ../../README.rst 5 | :start-line: 8 6 | 7 | .. toctree:: 8 | :hidden: 9 | :maxdepth: 1 10 | :titlesonly: 11 | 12 | Introduction' + 111 | '' + 112 | _("Hide Search Matches") + 113 | "
" 114 | ) 115 | ); 116 | }, 117 | 118 | /** 119 | * helper function to hide the search marks again 120 | */ 121 | hideSearchWords: () => { 122 | document 123 | .querySelectorAll("#searchbox .highlight-link") 124 | .forEach((el) => el.remove()); 125 | document 126 | .querySelectorAll("span.highlighted") 127 | .forEach((el) => el.classList.remove("highlighted")); 128 | localStorage.removeItem("sphinx_highlight_terms") 129 | }, 130 | 131 | initEscapeListener: () => { 132 | // only install a listener if it is really needed 133 | if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return; 134 | 135 | document.addEventListener("keydown", (event) => { 136 | // bail for input elements 137 | if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; 138 | // bail with special keys 139 | if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return; 140 | if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) { 141 | SphinxHighlight.hideSearchWords(); 142 | event.preventDefault(); 143 | } 144 | }); 145 | }, 146 | }; 147 | 148 | _ready(() => { 149 | /* Do not call highlightSearchWords() when we are on the search page. 150 | * It will highlight words from the *previous* search query. 151 | */ 152 | if (typeof Search === "undefined") SphinxHighlight.highlightSearchWords(); 153 | SphinxHighlight.initEscapeListener(); 154 | }); 155 | -------------------------------------------------------------------------------- /docs/build/html/_static/language_data.js: -------------------------------------------------------------------------------- 1 | /* 2 | * language_data.js 3 | * ~~~~~~~~~~~~~~~~ 4 | * 5 | * This script contains the language-specific data used by searchtools.js, 6 | * namely the list of stopwords, stemmer, scorer and splitter. 7 | * 8 | * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. 9 | * :license: BSD, see LICENSE for details. 10 | * 11 | */ 12 | 13 | var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"]; 14 | 15 | 16 | /* Non-minified version is copied as a separate JS file, if available */ 17 | 18 | /** 19 | * Porter Stemmer 20 | */ 21 | var Stemmer = function() { 22 | 23 | var step2list = { 24 | ational: 'ate', 25 | tional: 'tion', 26 | enci: 'ence', 27 | anci: 'ance', 28 | izer: 'ize', 29 | bli: 'ble', 30 | alli: 'al', 31 | entli: 'ent', 32 | eli: 'e', 33 | ousli: 'ous', 34 | ization: 'ize', 35 | ation: 'ate', 36 | ator: 'ate', 37 | alism: 'al', 38 | iveness: 'ive', 39 | fulness: 'ful', 40 | ousness: 'ous', 41 | aliti: 'al', 42 | iviti: 'ive', 43 | biliti: 'ble', 44 | logi: 'log' 45 | }; 46 | 47 | var step3list = { 48 | icate: 'ic', 49 | ative: '', 50 | alize: 'al', 51 | iciti: 'ic', 52 | ical: 'ic', 53 | ful: '', 54 | ness: '' 55 | }; 56 | 57 | var c = "[^aeiou]"; // consonant 58 | var v = "[aeiouy]"; // vowel 59 | var C = c + "[^aeiouy]*"; // consonant sequence 60 | var V = v + "[aeiou]*"; // vowel sequence 61 | 62 | var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 63 | var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 64 | var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 65 | var s_v = "^(" + C + ")?" + v; // vowel in stem 66 | 67 | this.stemWord = function (w) { 68 | var stem; 69 | var suffix; 70 | var firstch; 71 | var origword = w; 72 | 73 | if (w.length < 3) 74 | return w; 75 | 76 | var re; 77 | var re2; 78 | var re3; 79 | var re4; 80 | 81 | firstch = w.substr(0,1); 82 | if (firstch == "y") 83 | w = firstch.toUpperCase() + w.substr(1); 84 | 85 | // Step 1a 86 | re = /^(.+?)(ss|i)es$/; 87 | re2 = /^(.+?)([^s])s$/; 88 | 89 | if (re.test(w)) 90 | w = w.replace(re,"$1$2"); 91 | else if (re2.test(w)) 92 | w = w.replace(re2,"$1$2"); 93 | 94 | // Step 1b 95 | re = /^(.+?)eed$/; 96 | re2 = /^(.+?)(ed|ing)$/; 97 | if (re.test(w)) { 98 | var fp = re.exec(w); 99 | re = new RegExp(mgr0); 100 | if (re.test(fp[1])) { 101 | re = /.$/; 102 | w = w.replace(re,""); 103 | } 104 | } 105 | else if (re2.test(w)) { 106 | var fp = re2.exec(w); 107 | stem = fp[1]; 108 | re2 = new RegExp(s_v); 109 | if (re2.test(stem)) { 110 | w = stem; 111 | re2 = /(at|bl|iz)$/; 112 | re3 = new RegExp("([^aeiouylsz])\\1$"); 113 | re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); 114 | if (re2.test(w)) 115 | w = w + "e"; 116 | else if (re3.test(w)) { 117 | re = /.$/; 118 | w = w.replace(re,""); 119 | } 120 | else if (re4.test(w)) 121 | w = w + "e"; 122 | } 123 | } 124 | 125 | // Step 1c 126 | re = /^(.+?)y$/; 127 | if (re.test(w)) { 128 | var fp = re.exec(w); 129 | stem = fp[1]; 130 | re = new RegExp(s_v); 131 | if (re.test(stem)) 132 | w = stem + "i"; 133 | } 134 | 135 | // Step 2 136 | re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; 137 | if (re.test(w)) { 138 | var fp = re.exec(w); 139 | stem = fp[1]; 140 | suffix = fp[2]; 141 | re = new RegExp(mgr0); 142 | if (re.test(stem)) 143 | w = stem + step2list[suffix]; 144 | } 145 | 146 | // Step 3 147 | re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; 148 | if (re.test(w)) { 149 | var fp = re.exec(w); 150 | stem = fp[1]; 151 | suffix = fp[2]; 152 | re = new RegExp(mgr0); 153 | if (re.test(stem)) 154 | w = stem + step3list[suffix]; 155 | } 156 | 157 | // Step 4 158 | re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; 159 | re2 = /^(.+?)(s|t)(ion)$/; 160 | if (re.test(w)) { 161 | var fp = re.exec(w); 162 | stem = fp[1]; 163 | re = new RegExp(mgr1); 164 | if (re.test(stem)) 165 | w = stem; 166 | } 167 | else if (re2.test(w)) { 168 | var fp = re2.exec(w); 169 | stem = fp[1] + fp[2]; 170 | re2 = new RegExp(mgr1); 171 | if (re2.test(stem)) 172 | w = stem; 173 | } 174 | 175 | // Step 5 176 | re = /^(.+?)e$/; 177 | if (re.test(w)) { 178 | var fp = re.exec(w); 179 | stem = fp[1]; 180 | re = new RegExp(mgr1); 181 | re2 = new RegExp(meq1); 182 | re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); 183 | if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) 184 | w = stem; 185 | } 186 | re = /ll$/; 187 | re2 = new RegExp(mgr1); 188 | if (re.test(w) && re2.test(w)) { 189 | re = /.$/; 190 | w = w.replace(re,""); 191 | } 192 | 193 | // and turn initial Y back to y 194 | if (firstch == "y") 195 | w = firstch.toLowerCase() + w.substr(1); 196 | return w; 197 | } 198 | } 199 | 200 | -------------------------------------------------------------------------------- /pynlo/utility/fft.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | Aliases to fast FFT implementations and associated helper functions. 4 | 5 | """ 6 | 7 | __all__ = ["fft", "ifft", "rfft", "irfft", 8 | "fftshift", "ifftshift"] 9 | 10 | 11 | # %% Imports 12 | 13 | from scipy.fft import next_fast_len, fftshift as _fftshift, ifftshift as _ifftshift 14 | import mkl_fft 15 | 16 | 17 | # %% Helper Functions 18 | 19 | #---- FFT Shifts 20 | def fftshift(x, axis=-1): 21 | """ 22 | Shift the origin from the beginning to the center of the array. 23 | 24 | This function is used after an `fft` operation to shift from fft to monotic 25 | ordering. 26 | 27 | Parameters 28 | ---------- 29 | x : array_like 30 | Input array 31 | axis : int, optional 32 | The axis over which to shift. The default is the last axis. 33 | 34 | Returns 35 | ------- 36 | ndarray 37 | The shifted array. 38 | 39 | """ 40 | return _fftshift(x, axes=axis) 41 | 42 | def ifftshift(x, axis=-1): 43 | """ 44 | Shift the origin from the center to the beginning of the array. 45 | 46 | The inverse of fftshift. This function is used before an `fft` operation to 47 | shift from monotonic to fft ordering. Although identical for even-length 48 | `x`, `ifftshift` differs from `fftshift` by one sample for odd-length `x`. 49 | 50 | Parameters 51 | ---------- 52 | x : array_like 53 | Input array. 54 | axis : int, optional 55 | The axis over which to shift. The default is the last axis. 56 | 57 | Returns 58 | ------- 59 | ndarray 60 | The shifted array. 61 | 62 | """ 63 | return _ifftshift(x, axes=axis) 64 | 65 | 66 | # %% Transforms 67 | 68 | #---- FFTs 69 | def fft(x, fsc=1.0, n=None, axis=-1, overwrite_x=False): 70 | """ 71 | Use MKL to perform a 1D FFT of the input array along the given axis. 72 | 73 | Parameters 74 | ---------- 75 | x : array_like 76 | Input array, can be complex. 77 | fsc : float, optional 78 | The forward transform scale factor. The default is 1.0. 79 | n : int, optional 80 | Length of the transformed axis of the output. If `n` is smaller than 81 | the length of the input, the input is cropped. If it is larger, the 82 | input is padded with zeros. 83 | axis : int, optional 84 | Axis over which to compute the FFT. The default is the last axis. 85 | overwrite_x : bool, optional 86 | If True, the contents of x may be overwritten during the computation. 87 | The default is False. 88 | 89 | Returns 90 | ------- 91 | complex ndarray 92 | The transformed array. 93 | 94 | """ 95 | return mkl_fft.fft(x, n=n, axis=axis, overwrite_x=overwrite_x, forward_scale=fsc) 96 | 97 | def ifft(x, fsc=1.0, n=None, axis=-1, overwrite_x=False): 98 | """ 99 | Use MKL to perform a 1D IFFT of the input array along the given axis. 100 | 101 | Parameters 102 | ---------- 103 | x : array_like 104 | Input array, can be complex. 105 | fsc : float, optional 106 | The forward transform scale factor. Internally, this function sets the 107 | reverse transform scale factor as ``1/(n*fsc)``. The default is 1.0. 108 | n : int, optional 109 | Length of the transformed axis of the output. If `n` is smaller than 110 | the length of the input, the input is cropped. If it is larger, the 111 | input is padded with zeros. 112 | axis : int, optional 113 | Axis over which to compute the inverse FFT. The default is the last 114 | axis. 115 | overwrite_x : bool, optional 116 | If True, the contents of x may be overwritten during the computation. 117 | The default is False. 118 | 119 | Returns 120 | ------- 121 | complex ndarray 122 | The transformed array. 123 | 124 | """ 125 | return mkl_fft.ifft(x, n=n, axis=axis, overwrite_x=overwrite_x, forward_scale=fsc) 126 | 127 | #---- Real FFTs 128 | def rfft(x, fsc=1.0, n=None, axis=-1): 129 | """ 130 | Use MKL to perform a 1D FFT of the real input array along the given axis. 131 | The output array is complex and only contains positive frequencies. 132 | 133 | The length of the transformed axis is ``n//2 + 1``. 134 | 135 | Parameters 136 | ---------- 137 | x : array_like 138 | Input array, must be real. 139 | fsc : float, optional 140 | The forward transform scale factor. The default is 1.0. 141 | n : int, optional 142 | Number of points to use along the transformed axis of the input. If 143 | `n` is smaller than the length of the input, the input is cropped. If 144 | it is larger, the input is padded with zeros. 145 | axis : int, optional 146 | Axis over which to compute the FFT. The default is the last axis. 147 | 148 | Returns 149 | ------- 150 | complex ndarray 151 | The transformed array. 152 | 153 | """ 154 | return mkl_fft.rfft_numpy(x, n=n, axis=axis, forward_scale=fsc) 155 | 156 | def irfft(x, fsc=1.0, n=None, axis=-1): 157 | """ 158 | Use MKL to perform a 1D IFFT of the input array along the given axis. The 159 | input is assumed to contain only positive frequencies, and the output is 160 | always real. 161 | 162 | If `n` is not given the length of the transformed axis is ``2*(m-1)``, 163 | where `m` is the length of the transformed axis of the input. To get an odd 164 | number of output points, `n` must be specified. 165 | 166 | Parameters 167 | ---------- 168 | x : array_like 169 | Input array, can be complex. 170 | fsc : float, optional 171 | The forward transform scale factor. Internally, this function sets the 172 | reverse transform scale factor as ``1/(n*fsc)``. The default is 1.0. 173 | n : int, optional 174 | Length of the transformed axis of the output. For `n` output points, 175 | ``n//2+1`` input points are necessary. If the input is longer than 176 | this, it is cropped. If it is shorter than this, it is padded with 177 | zeros. 178 | axis : int, optional 179 | Axis over which to compute the inverse FFT. The default is the last 180 | axis. 181 | 182 | Returns 183 | ------- 184 | ndarray 185 | The transformed array. 186 | 187 | """ 188 | return mkl_fft.irfft_numpy(x, n=n, axis=axis, forward_scale=fsc) 189 | -------------------------------------------------------------------------------- /examples/silica-pcf_supercontinuum.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | This example demonstrates supercontinuum generation due to soliton effects in 4 | silica-based photonic crystal fiber. The simulation uses the nonlinear 5 | Schrödinger equation (NLSE) and is based on the parameters given in part V-A of 6 | Dudley et al. (2006). 7 | 8 | References 9 | ---------- 10 | Dudley JM, Genty G, Coen S. Supercontinuum generation in photonic crystal 11 | fiber. Reviews of modern physics. 2006;78(4):1135-84. 12 | https://doi.org/10.1103/RevModPhys.78.1135 13 | 14 | """ 15 | 16 | 17 | # %% Imports 18 | import numpy as np 19 | from scipy.constants import pi, c 20 | from matplotlib import pyplot as plt 21 | 22 | import pynlo 23 | from pynlo import utility as ut 24 | 25 | 26 | # %% Pulse Properties 27 | """ 28 | We start by initializing a hyperbolic secant pulse using one of the built-in 29 | pulse shapes of the `Pulse` class. The first few parameters constrain the 30 | frequency grid, the number of points and the frequency range, while the last 31 | three set the initial pulse properties, its center frequency, pulse energy, and 32 | pulse width. 33 | 34 | """ 35 | n_points = 2**12 36 | v_min = c/1500e-9 # 200 THz 37 | v_max = c/500e-9 # 600 THz 38 | 39 | v0 = c/835e-9 # 360 THz 40 | e_p = 285e-12 # 285 pJ 41 | t_fwhm = 50e-15 # 50 fs 42 | 43 | pulse = pynlo.light.Pulse.Sech(n_points, v_min, v_max, v0, e_p, t_fwhm) 44 | 45 | 46 | # %% Mode Properties 47 | """ 48 | We next need to define both the linear and nonlinear properties of the 49 | waveguide. In this example, we are only given the waveguide properties at a 50 | single frequency so we must extrapolate to the rest of the frequency grid. For 51 | the beta parameter this is accomplished using a Taylor series, but for the 52 | nonlinearity we use the `gamma_to_g3` conversion function from the 53 | `utility.chi3` submodule. This function calculates the generalized 3rd-order 54 | nonlinear parameter (required by the PyNLO propagation models) from the gamma 55 | parameter and the optical shock time scale. If available, the nonlinear 56 | parameter can also be generated from the refractive index, effective area, and 57 | nonlinear susceptibility, see `utility.chi3` for more details. The Raman effect 58 | is implemented using the Raman response function given in section 2.3.3 of 59 | Agrawal. 60 | 61 | References 62 | ---------- 63 | Agrawal GP. Nonlinear Fiber Optics. Sixth ed. London; San Diego, 64 | CA;: Academic Press; 2019. 65 | https://doi.org/10.1016/B978-0-12-817042-7.00009-9 66 | 67 | """ 68 | length = 15e-2 # 15 cm 69 | 70 | #---- Phase Coefficient 71 | beta_n = 11*[0] 72 | beta_n[2] = -11.830 * 1e-12**2/1e3 # -11.830 ps**2 / km 73 | beta_n[3] = 8.1038e-2 * 1e-12**3/1e3 # 8.1038e-2 ps**3 / km 74 | beta_n[4] = -9.5205e-5 * 1e-12**4/1e3 # -9.5205e-5 ps**4 / km 75 | beta_n[5] = 2.0737e-7 * 1e-12**5/1e3 # 2.0737e-7 ps**5 / km 76 | beta_n[6] = -5.3943e-10 * 1e-12**6/1e3 # -5.3943e-10 ps**6 / km 77 | beta_n[7] = 1.3486e-12 * 1e-12**7/1e3 # 1.3486e-12 ps**7 / km 78 | beta_n[8] = -2.5495e-15 * 1e-12**8/1e3 # -2.5495e-15 ps**8 / km 79 | beta_n[9] = 3.0524e-18 * 1e-12**9/1e3 # 3.0524e-18 ps**9 / km 80 | beta_n[10] = -1.7140e-21 * 1e-12**10/1e3 # -1.7140e-21 ps**10 / km 81 | 82 | beta = ut.taylor_series(2*pi*pulse.v0, beta_n)(2*pi*pulse.v_grid) 83 | 84 | #---- 3rd-Order Nonlinearity 85 | gamma = 0.11 # 0.11 / W * m 86 | t_shock = 0.56e-15 # 0.56 fs 87 | g3 = ut.chi3.gamma_to_g3(pulse.v_grid, gamma, t_shock) 88 | 89 | # Raman effect 90 | r_weights = [0.245*(1-0.21), 12.2e-15, 32e-15] # resonant contribution 91 | b_weights = [0.245*0.21, 96e-15] # boson contribution 92 | rv_grid, raman = ut.chi3.raman(pulse.n, pulse.dt, r_weights, b_weights) 93 | 94 | mode = pynlo.medium.Mode(pulse.v_grid, beta, g3=g3, rv_grid=rv_grid, r3=raman) 95 | 96 | 97 | # %% Model 98 | """ 99 | The NLSE model is initialized with the pulse and mode objects defined above. At 100 | this stage we also estimate the optimal initial step size given a target local 101 | error. 102 | 103 | """ 104 | model = pynlo.model.NLSE(pulse, mode) 105 | 106 | #---- Estimate step size 107 | local_error = 1e-6 108 | dz = model.estimate_step_size(local_error=local_error) 109 | 110 | 111 | # %% Simulate 112 | """ 113 | The model's `simulate` method runs the simulation. We input the total 114 | propagation length, the initial step size, local error, and the number of 115 | simulation steps we wish to record. We receive the output pulse and the 116 | propagations distance, pulse spectrum, and complex envelope at each record 117 | point. To view real-time simulation results (updated whenever the simulation 118 | reaches a record point), set the `plot` keyword to "time", "frq", or "wvl". 119 | 120 | """ 121 | pulse_out, z, a_t, a_v = model.simulate( 122 | length, dz=dz, local_error=local_error, n_records=100, plot=None) 123 | 124 | 125 | # %% Plot Results 126 | """ 127 | For comparison with Dudley, we plot the evolution in the time and wavelength 128 | domains. For accurate representation of the density, plotting over wavelength 129 | requires converting the power from a per Hz basis to a per m basis. This is 130 | accomplished by multiplying the frequency domain power spectral density by the 131 | ratio of the frequency and wavelength differentials. The power spectral density 132 | is then converted to decibel (dB) scale to increase the visible dynamic range. 133 | 134 | """ 135 | fig = plt.figure("Simulation Results", clear=True) 136 | ax0 = plt.subplot2grid((3,2), (0, 0), rowspan=1) 137 | ax1 = plt.subplot2grid((3,2), (0, 1), rowspan=1) 138 | ax2 = plt.subplot2grid((3,2), (1, 0), rowspan=2, sharex=ax0) 139 | ax3 = plt.subplot2grid((3,2), (1, 1), rowspan=2, sharex=ax1) 140 | 141 | p_l_dB = 10*np.log10(np.abs(a_v)**2 * model.dv_dl) 142 | p_l_dB -= p_l_dB.max() 143 | ax0.plot(1e9*c/pulse.v_grid, p_l_dB[0], color="b") 144 | ax0.plot(1e9*c/pulse.v_grid, p_l_dB[-1], color="g") 145 | ax2.pcolormesh(1e9*c/pulse.v_grid, 1e3*z, p_l_dB, 146 | vmin=-40.0, vmax=0, shading="auto") 147 | ax0.set_ylim(bottom=-50, top=10) 148 | ax2.set_xlabel('Wavelength (nm)') 149 | 150 | p_t_dB = 10*np.log10(np.abs(a_t)**2) 151 | p_t_dB -= p_t_dB.max() 152 | ax1.plot(1e12*pulse.t_grid, p_t_dB[0], color="b") 153 | ax1.plot(1e12*pulse.t_grid, p_t_dB[-1], color="g") 154 | ax3.pcolormesh(1e12*pulse.t_grid, 1e3*z, p_t_dB, 155 | vmin=-40.0, vmax=0, shading="auto") 156 | ax1.set_ylim(bottom=-50, top=10) 157 | ax3.set_xlabel('Time (ps)') 158 | 159 | ax0.set_ylabel('Power (dB)') 160 | ax2.set_ylabel('Propagation Distance (mm)') 161 | fig.tight_layout() 162 | fig.show() 163 | -------------------------------------------------------------------------------- /examples/ppln_cascaded-chi2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | This example demonstrates supercontinuum generation due to phase-mismatched 4 | second harmonic generation (SHG) in periodically poled lithium niobate (PPLN). 5 | The simulation uses the unidirectional propagation equation (UPE) and is based 6 | on the parameters given for the second example in part III of Conforti et al. 7 | (2010). 8 | 9 | References 10 | ---------- 11 | Conforti M, Baronio F, De Angelis C. Nonlinear envelope equation for broadband 12 | optical pulses in quadratic media. Physical review. A, Atomic, molecular, and 13 | optical physics. 2010;81(5). 14 | https://doi.org/10.1103/PhysRevA.81.053841 15 | 16 | """ 17 | 18 | 19 | # %% Imports 20 | import numpy as np 21 | from scipy.constants import pi, c 22 | from matplotlib import pyplot as plt 23 | 24 | import pynlo 25 | from pynlo import utility as ut 26 | 27 | 28 | # %% Pulse Properties 29 | """ 30 | We first initialize a Gaussian pulse using one of the built-in pulse shapes of 31 | the `Pulse` class. The first few parameters constrain the frequency grid, the 32 | number of points and the frequency range, while the last three set the initial 33 | pulse properties, its center frequency, pulse energy, and pulse width. Since we 34 | are going to be simulating 2nd-order effects, the `alias` parameter has been 35 | increased to support two alias-free Nyquist zones. 36 | 37 | """ 38 | n_points = 2**13 39 | v_min = c/3500e-9 # c / 3500 nm 40 | v_max = c/450e-9 # c / 450 nm 41 | 42 | v0 = c/1580e-9 # c / 1580 nm 43 | e_p = 1e-9 # 1 nJ 44 | t_fwhm = 50e-15 # 50 fs 45 | 46 | pulse = pynlo.light.Pulse.Gaussian(n_points, v_min, v_max, v0, e_p, t_fwhm, 47 | alias=2) # anti-aliasing 48 | 49 | 50 | # %% Mode Properties 51 | """ 52 | In this example we use the refractive index, effective area, and nonlinear 53 | susceptibility to calculate the linear and nonlinear properties of the mode. 54 | The material used in this case is congruent lithium niobate, and we use the 55 | Sellmeier equations from Jundt (1997) for the refractive index. The generalized 56 | 2nd-order nonlinear parameter is weighted for second-harmonic generation using 57 | the `g2_shg` function from the `utility.chi2` submodule. Poling is implemented 58 | by indicating the location of each domain inversion. This is calculated using 59 | the `domain_inversion` function of the `utility.chi2` submodule. This example 60 | only uses a constant poling period, but the function also supports the 61 | generation of arbitrarily chirped poling periods. 62 | 63 | """ 64 | length = 7e-3 # 7 mm 65 | a_eff = 15e-6 * 15e-6 # 15 um * 15 um 66 | 67 | #---- Phase Coefficient 68 | def n_cLN(v, T=24.5): 69 | """ 70 | Refractive index of congruent lithium niobate. 71 | 72 | References 73 | ---------- 74 | Dieter H. Jundt, "Temperature-dependent Sellmeier equation for the index of 75 | refraction, ne, in congruent lithium niobate," Opt. Lett. 22, 1553-1555 76 | (1997). https://doi.org/10.1364/OL.22.001553 77 | 78 | """ 79 | a1 = 5.35583 80 | a2 = 0.100473 81 | a3 = 0.20692 82 | a4 = 100. 83 | a5 = 11.34927 84 | a6 = 1.5334e-2 85 | b1 = 4.629e-7 86 | b2 = 3.862e-8 87 | b3 = -0.89e-8 88 | b4 = 2.657e-5 89 | 90 | wvl = c/v * 1e6 # um 91 | f = (T-24.5)*(T+570.82) 92 | n2 = (a1 + b1*f + (a2 + b2*f)/(wvl**2 - (a3 + b3*f)**2) 93 | + (a4 + b4*f)/(wvl**2 - a5**2) - a6*wvl**2) 94 | return n2**0.5 95 | n_eff = n_cLN(pulse.v_grid) 96 | 97 | beta = n_eff * 2*pi*pulse.v_grid/c 98 | 99 | #---- 2nd-order nonlinearity 100 | d_eff = 27e-12 # 27 pm / V 101 | chi2_eff = 2 * d_eff 102 | g2 = ut.chi2.g2_shg(v0, pulse.v_grid, n_eff, a_eff, chi2_eff) 103 | 104 | # Poling 105 | p0 = 30e-6 # 30 um poling period 106 | z_invs, domains, poled = ut.chi2.domain_inversions(length, 2*pi/p0) 107 | 108 | mode = pynlo.medium.Mode(pulse.v_grid, beta, g2=g2, g2_inv=z_invs) 109 | 110 | 111 | # %% Model 112 | """ 113 | The UPE model is initialized with the pulse and mode objects defined above. At 114 | this stage we also use the target local error to estimate the optimal initial 115 | step size. 116 | 117 | """ 118 | model = pynlo.model.UPE(pulse, mode) 119 | 120 | #---- Estimate step size 121 | local_error = 1e-6 122 | dz = model.estimate_step_size(local_error=local_error) 123 | 124 | 125 | # %% Simulate 126 | """ 127 | The model's `simulate` method runs the simulation. We input the total 128 | propagation length, the initial step size, local error, and the number of 129 | simulation steps we wish to record. We receive the output pulse and the 130 | propagations distance, pulse spectrum, and complex envelope at each record 131 | point. To view real-time simulation results (updated whenever the simulation 132 | reaches a record point), set the `plot` keyword to "time", "frq", or "wvl". 133 | 134 | """ 135 | pulse_out, z, a_t, a_v = model.simulate( 136 | length, dz=dz, local_error=local_error, n_records=100, plot=None) 137 | 138 | 139 | # %% Plot Results 140 | """ 141 | The results are plotted in the time and frequency domains. Although the 142 | 3rd-order nonlinearity is not directly included in the propagation model we see 143 | several 3rd-order phenomena due to cascaded 2nd-order effects. Phase-mismatched 144 | SHG yields an effective Kerr effect (see DeSalvo et al. (1992)), which leads to 145 | soliton and dispersive wave generation. Additionally, the high frequency spike 146 | is third-harmonic generation due to cascaded second-harmonic and sum-frequency 147 | generation from the pump frequency. The other spike is due to SHG quasi-phase 148 | matched off of the 3rd-order spatial harmonic of the poling structure. 149 | 150 | References 151 | ---------- 152 | R. DeSalvo, D. J. Hagan, M. Sheik-Bahae, G. Stegeman, E. W. Van Stryland, and 153 | H. Vanherzeele, "Self-focusing and self-defocusing by cascaded second-order 154 | effects in KTP," Opt. Lett. 17, 28-30 (1992) 155 | 156 | """ 157 | fig = plt.figure("Simulation Results", clear=True) 158 | ax0 = plt.subplot2grid((3,2), (0, 0), rowspan=1) 159 | ax1 = plt.subplot2grid((3,2), (0, 1), rowspan=1) 160 | ax2 = plt.subplot2grid((3,2), (1, 0), rowspan=2, sharex=ax0) 161 | ax3 = plt.subplot2grid((3,2), (1, 1), rowspan=2, sharex=ax1) 162 | 163 | p_v_dB = 10*np.log10(np.abs(a_v)**2) 164 | p_v_dB -= p_v_dB.max() 165 | ax0.plot(1e-12*pulse.v_grid, p_v_dB[0], color="b") 166 | ax0.plot(1e-12*pulse.v_grid, p_v_dB[-1], color="g") 167 | ax2.pcolormesh(1e-12*pulse.v_grid, 1e3*z, p_v_dB, 168 | vmin=-40.0, vmax=0, shading="auto") 169 | ax0.set_ylim(bottom=-50, top=10) 170 | ax2.set_xlabel('Frequency (THz)') 171 | 172 | p_t_dB = 10*np.log10(np.abs(a_t)**2) 173 | p_t_dB -= p_t_dB.max() 174 | ax1.plot(1e12*pulse.t_grid, p_t_dB[0], color="b") 175 | ax1.plot(1e12*pulse.t_grid, p_t_dB[-1], color="g") 176 | ax3.pcolormesh(1e12*pulse.t_grid, 1e3*z, p_t_dB, 177 | vmin=-40.0, vmax=0, shading="auto") 178 | ax1.set_ylim(bottom=-50, top=10) 179 | ax3.set_xlabel('Time (ps)') 180 | 181 | ax0.set_ylabel('Power (dB)') 182 | ax2.set_ylabel('Propagation Distance (mm)') 183 | fig.tight_layout() 184 | fig.show() 185 | -------------------------------------------------------------------------------- /docs/build/html/_static/vendor/fontawesome/6.5.1/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Fonticons, Inc. (https://fontawesome.com) 2 | 3 | -------------------------------------------------------------------------------- 4 | 5 | Font Awesome Free License 6 | 7 | Font Awesome Free is free, open source, and GPL friendly. You can use it for 8 | commercial projects, open source projects, or really almost whatever you want. 9 | Full Font Awesome Free license: https://fontawesome.com/license/free. 10 | 11 | -------------------------------------------------------------------------------- 12 | 13 | # Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) 14 | 15 | The Font Awesome Free download is licensed under a Creative Commons 16 | Attribution 4.0 International License and applies to all icons packaged 17 | as SVG and JS file types. 18 | 19 | -------------------------------------------------------------------------------- 20 | 21 | # Fonts: SIL OFL 1.1 License 22 | 23 | In the Font Awesome Free download, the SIL OFL license applies to all icons 24 | packaged as web and desktop font files. 25 | 26 | Copyright (c) 2023 Fonticons, Inc. (https://fontawesome.com) 27 | with Reserved Font Name: "Font Awesome". 28 | 29 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 30 | This license is copied below, and is also available with a FAQ at: 31 | http://scripts.sil.org/OFL 32 | 33 | SIL OPEN FONT LICENSE 34 | Version 1.1 - 26 February 2007 35 | 36 | PREAMBLE 37 | The goals of the Open Font License (OFL) are to stimulate worldwide 38 | development of collaborative font projects, to support the font creation 39 | efforts of academic and linguistic communities, and to provide a free and 40 | open framework in which fonts may be shared and improved in partnership 41 | with others. 42 | 43 | The OFL allows the licensed fonts to be used, studied, modified and 44 | redistributed freely as long as they are not sold by themselves. The 45 | fonts, including any derivative works, can be bundled, embedded, 46 | redistributed and/or sold with any software provided that any reserved 47 | names are not used by derivative works. The fonts and derivatives, 48 | however, cannot be released under any other type of license. The 49 | requirement for fonts to remain under this license does not apply 50 | to any document created using the fonts or their derivatives. 51 | 52 | DEFINITIONS 53 | "Font Software" refers to the set of files released by the Copyright 54 | Holder(s) under this license and clearly marked as such. This may 55 | include source files, build scripts and documentation. 56 | 57 | "Reserved Font Name" refers to any names specified as such after the 58 | copyright statement(s). 59 | 60 | "Original Version" refers to the collection of Font Software components as 61 | distributed by the Copyright Holder(s). 62 | 63 | "Modified Version" refers to any derivative made by adding to, deleting, 64 | or substituting — in part or in whole — any of the components of the 65 | Original Version, by changing formats or by porting the Font Software to a 66 | new environment. 67 | 68 | "Author" refers to any designer, engineer, programmer, technical 69 | writer or other person who contributed to the Font Software. 70 | 71 | PERMISSION & CONDITIONS 72 | Permission is hereby granted, free of charge, to any person obtaining 73 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 74 | redistribute, and sell modified and unmodified copies of the Font 75 | Software, subject to the following conditions: 76 | 77 | 1) Neither the Font Software nor any of its individual components, 78 | in Original or Modified Versions, may be sold by itself. 79 | 80 | 2) Original or Modified Versions of the Font Software may be bundled, 81 | redistributed and/or sold with any software, provided that each copy 82 | contains the above copyright notice and this license. These can be 83 | included either as stand-alone text files, human-readable headers or 84 | in the appropriate machine-readable metadata fields within text or 85 | binary files as long as those fields can be easily viewed by the user. 86 | 87 | 3) No Modified Version of the Font Software may use the Reserved Font 88 | Name(s) unless explicit written permission is granted by the corresponding 89 | Copyright Holder. This restriction only applies to the primary font name as 90 | presented to the users. 91 | 92 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 93 | Software shall not be used to promote, endorse or advertise any 94 | Modified Version, except to acknowledge the contribution(s) of the 95 | Copyright Holder(s) and the Author(s) or with their explicit written 96 | permission. 97 | 98 | 5) The Font Software, modified or unmodified, in part or in whole, 99 | must be distributed entirely under this license, and must not be 100 | distributed under any other license. The requirement for fonts to 101 | remain under this license does not apply to any document created 102 | using the Font Software. 103 | 104 | TERMINATION 105 | This license becomes null and void if any of the above conditions are 106 | not met. 107 | 108 | DISCLAIMER 109 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 110 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 111 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 112 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 113 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 114 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 115 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 116 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 117 | OTHER DEALINGS IN THE FONT SOFTWARE. 118 | 119 | -------------------------------------------------------------------------------- 120 | 121 | # Code: MIT License (https://opensource.org/licenses/MIT) 122 | 123 | In the Font Awesome Free download, the MIT license applies to all non-font and 124 | non-icon files. 125 | 126 | Copyright 2023 Fonticons, Inc. 127 | 128 | Permission is hereby granted, free of charge, to any person obtaining a copy of 129 | this software and associated documentation files (the "Software"), to deal in the 130 | Software without restriction, including without limitation the rights to use, copy, 131 | modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, 132 | and to permit persons to whom the Software is furnished to do so, subject to the 133 | following conditions: 134 | 135 | The above copyright notice and this permission notice shall be included in all 136 | copies or substantial portions of the Software. 137 | 138 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 139 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 140 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 141 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 142 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 143 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 144 | 145 | -------------------------------------------------------------------------------- 146 | 147 | # Attribution 148 | 149 | Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font 150 | Awesome Free files already contain embedded comments with sufficient 151 | attribution, so you shouldn't need to do anything additional when using these 152 | files normally. 153 | 154 | We've kept attribution comments terse, so we ask that you do not actively work 155 | to remove them from files, especially code. They're a great way for folks to 156 | learn about Font Awesome. 157 | 158 | -------------------------------------------------------------------------------- 159 | 160 | # Brand Icons 161 | 162 | All brand icons are trademarks of their respective owners. The use of these 163 | trademarks does not indicate endorsement of the trademark holder by Font 164 | Awesome, nor vice versa. **Please do not use brand logos for any purpose except 165 | to represent the company, product, or service to which they refer.** 166 | -------------------------------------------------------------------------------- /COPYING.LESSER.txt: -------------------------------------------------------------------------------- 1 | GNU LESSER GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc.