Fixed a failing doctest. Reorganized _penalized_nnlf

master
Per A Brodtkorb 9 years ago
parent b88a141d54
commit 89b37b64dd

@ -1429,7 +1429,9 @@ class SpecData1D(PlotData):
>>> 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 >>> Hm0 = 7
>>> Tp = 11 >>> Tp = 11
>>> S = sm.Jonswap(4*pi/Tp,[Hm0 Tp]) >>> 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]

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save