Added from __future__ import absolute_import

master
Per A Brodtkorb 9 years ago
parent b57307ab7c
commit 6d7beed94b

@ -1,7 +1,7 @@
from __future__ import absolute_import
import warnings import warnings
from wafo.graphutil import cltext # @UnresolvedImport from .graphutil import cltext
from .plotbackend import plotbackend
from plotbackend import plotbackend
from time import gmtime, strftime from time import gmtime, strftime
import numpy as np import numpy as np
from scipy.integrate.quadrature import cumtrapz # @UnresolvedImport from scipy.integrate.quadrature import cumtrapz # @UnresolvedImport

@ -2341,7 +2341,7 @@ def main():
d2.children = [d1] d2.children = [d1]
d2.plot() d2.plot()
print 'Done' print('Done')
def test_docstrings(): def test_docstrings():

@ -3,10 +3,11 @@ Created on 8. mai 2014
@author: pab @author: pab
''' '''
from wafo.transform.core import TrData from __future__ import absolute_import
from wafo.transform.models import TrHermite, TrOchi, TrLinear from .core import TrData
from wafo.stats import edf, skew, kurtosis from .models import TrHermite, TrOchi, TrLinear
from wafo.interpolate import SmoothSpline from ..stats import edf, skew, kurtosis
from ..interpolate import SmoothSpline
from scipy.special import ndtri as invnorm from scipy.special import ndtri as invnorm
from scipy.integrate import cumtrapz from scipy.integrate import cumtrapz
import warnings import warnings

@ -1,2 +1,3 @@
from core import * from __future__ import absolute_import
import dispersion_relation from .core import *
from . import dispersion_relation

Loading…
Cancel
Save