From 6fba3b39f268663be3e47740dadb7cebe348e615 Mon Sep 17 00:00:00 2001 From: "Per.Andreas.Brodtkorb" Date: Tue, 5 Apr 2011 13:05:10 +0000 Subject: [PATCH] added import of k2w from dispersion_relation.py --- pywafo/src/wafo/spectrum/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywafo/src/wafo/spectrum/models.py b/pywafo/src/wafo/spectrum/models.py index 75e0858..c169e09 100644 --- a/pywafo/src/wafo/spectrum/models.py +++ b/pywafo/src/wafo/spectrum/models.py @@ -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 isfinite, mod, expm1, tanh, cosh, finfo, ones, ones_like, isnan, #@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 sech = lambda x: 1.0 / cosh(x)