image data helper in plotting
This commit is contained in:
@@ -60,7 +60,7 @@ def test_rk43_soliton(plot=False):
|
||||
|
||||
res = sc.integrate(spec0, end, lin, non_lin, targets=targets, atol=1e-10, rtol=1e-9)
|
||||
if plot:
|
||||
x, y, z = sc.plotting.transform_2D_propagation(
|
||||
x, y, z = sc.plotting.transform_2D_data(
|
||||
res.spectra,
|
||||
sc.PlotRange(500, 1300, "nm"),
|
||||
w_c + w0,
|
||||
|
||||
Reference in New Issue
Block a user