From 3e08ffb25ef6af987d5503dd594a6035d0d89fcd Mon Sep 17 00:00:00 2001 From: pbrod Date: Sat, 11 Jun 2016 01:58:35 +0200 Subject: [PATCH] Updated doctest --- wafo/spectrum/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wafo/spectrum/core.py b/wafo/spectrum/core.py index 2366204..87f847b 100644 --- a/wafo/spectrum/core.py +++ b/wafo/spectrum/core.py @@ -1427,7 +1427,7 @@ class SpecData1D(PlotData): >>> Sj = sm.Jonswap() >>> S = Sj.tospecdata() >>> f = S.to_t_pdf(pdef='Tc', paramt=(0, 10, 51), speed=7) - >>> S = sm.Jonswap(4*pi/Tp, Hm0=7, Tp=11) + >>> S = sm.Jonswap(wnc=2, Hm0=7, Tp=11) Sk = spec2spec(S,'k1d')