change: moved dB to math
This commit is contained in:
@@ -39,7 +39,7 @@ quit()
|
||||
interp = interp1d(stats["z"], solution, axis=0)
|
||||
z = np.linspace(0, params.length, 128)
|
||||
plt.imshow(
|
||||
sc.units.to_log(interp(z)),
|
||||
sc.math.to_dB(interp(z)),
|
||||
vmin=-50,
|
||||
extent=sc.get_extent(sc.units.THz_inv(params.w), z),
|
||||
origin="lower",
|
||||
|
||||
Reference in New Issue
Block a user