minore improvements
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "scgenerator"
|
||||
version = "0.3.22"
|
||||
version = "0.3.23"
|
||||
description = "Simulate nonlinear pulse propagation in optical fibers"
|
||||
readme = "README.md"
|
||||
authors = [{ name = "Benoit Sierro", email = "benoit.sierro@iap.unibe.ch" }]
|
||||
|
||||
@@ -1168,7 +1168,7 @@ def summary_plot(
|
||||
axes: tuple[Axes, Axes] | None = None,
|
||||
wl_db="1D",
|
||||
time_db=False,
|
||||
cmap: str | matplotlib.colors.LinearSegmentedColormap = "viridis",
|
||||
cmap: str | matplotlib.colors.LinearSegmentedColormap = None,
|
||||
):
|
||||
wl_int = specs.wl_int
|
||||
time_int = specs.time_int
|
||||
|
||||
@@ -29,7 +29,7 @@ def test_rk43_soliton(plot=False):
|
||||
n = 1024
|
||||
l0 = 835e-9
|
||||
w0 = sc.units.m(l0)
|
||||
b2 = sc.fiber.D_to_beta2(sc.units.D_ps_nm_km(24), l0)
|
||||
b2 = sc.fiber.dispersion_parameter_to_beta2(sc.units.D_ps_nm_km(24), l0)
|
||||
gamma = 0.08
|
||||
t0_fwhm = 50e-15
|
||||
p0 = 1.26e3
|
||||
|
||||
Reference in New Issue
Block a user