added import of k2w from dispersion_relation.py

master
Per.Andreas.Brodtkorb 14 years ago
parent ada3cc71fb
commit 6fba3b39f2

@ -52,7 +52,7 @@ from numpy import (inf, atleast_1d, newaxis, any, minimum, maximum, array, #@Unr
asarray, exp, log, sqrt, where, pi, arange, linspace, sin, cos, abs, sinh, #@UnresolvedImport asarray, exp, log, sqrt, where, pi, arange, linspace, sin, cos, abs, sinh, #@UnresolvedImport
isfinite, mod, expm1, tanh, cosh, finfo, ones, ones_like, isnan, #@UnresolvedImport isfinite, mod, expm1, tanh, cosh, finfo, ones, ones_like, isnan, #@UnresolvedImport
zeros_like, flatnonzero, sinc, hstack, vstack, real, flipud, clip) #@UnresolvedImport zeros_like, flatnonzero, sinc, hstack, vstack, real, flipud, clip) #@UnresolvedImport
from dispersion_relation import w2k from dispersion_relation import w2k, k2w
from wafo.spectrum import SpecData1D, SpecData2D from wafo.spectrum import SpecData1D, SpecData2D
sech = lambda x: 1.0 / cosh(x) sech = lambda x: 1.0 / cosh(x)

Loading…
Cancel
Save