Fixed failing doctest

master
pbrod 9 years ago
parent b88a141d54
commit a7cb4adc2d

@ -1427,9 +1427,8 @@ class SpecData1D(PlotData):
>>> Sj = sm.Jonswap() >>> Sj = sm.Jonswap()
>>> S = Sj.tospecdata() >>> S = Sj.tospecdata()
>>> f = S.to_t_pdf(pdef='Tc', paramt=(0, 10, 51), speed=7) >>> f = S.to_t_pdf(pdef='Tc', paramt=(0, 10, 51), speed=7)
>>> Hm0 = 7 >>> S = sm.Jonswap(4*pi/Tp, Hm0=7, Tp=11)
>>> Tp = 11
>>> S = sm.Jonswap(4*pi/Tp,[Hm0 Tp])
Sk = spec2spec(S,'k1d') Sk = spec2spec(S,'k1d')
L0 = spec2mom(S,1) L0 = spec2mom(S,1)
paramu = [sqrt(L0)*[-4 4] 41] paramu = [sqrt(L0)*[-4 4] 41]

Loading…
Cancel
Save