diff options
-rw-r--r-- | openEMS/python/openEMS/__init__.py | 3 | ||||
-rw-r--r-- | openEMS/python/openEMS/nf2ff.py | 4 | ||||
-rw-r--r-- | openEMS/python/openEMS/ports.py | 6 |
3 files changed, 7 insertions, 6 deletions
diff --git a/openEMS/python/openEMS/__init__.py b/openEMS/python/openEMS/__init__.py index fb1ddb9..b54ab97 100644 --- a/openEMS/python/openEMS/__init__.py +++ b/openEMS/python/openEMS/__init__.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- # # Shortcut openEMS import -from openEMS.openEMS import openEMS +#from openEMS.openEMS import openEMS +from openEMS import openEMS diff --git a/openEMS/python/openEMS/nf2ff.py b/openEMS/python/openEMS/nf2ff.py index b6d38d0..5b3ffc1 100644 --- a/openEMS/python/openEMS/nf2ff.py +++ b/openEMS/python/openEMS/nf2ff.py @@ -19,8 +19,8 @@ import os import numpy as np import h5py -from openEMS import _nf2ff -from openEMS import utilities +import _nf2ff +import utilities class nf2ff: """ diff --git a/openEMS/python/openEMS/ports.py b/openEMS/python/openEMS/ports.py index 1af1564..1e42a8f 100644 --- a/openEMS/python/openEMS/ports.py +++ b/openEMS/python/openEMS/ports.py @@ -19,9 +19,9 @@ import os import numpy as np from CSXCAD.Utilities import CheckNyDir -from openEMS import utilities +import utilities -from openEMS.physical_constants import * +from physical_constants import * class UI_data: def __init__(self, fns, path, freq, signal_type='pulse', **kw): @@ -45,7 +45,7 @@ class UI_data: self.ui_f_val.append(utilities.DFT_time2freq(tmp[:,0], tmp[:,1], freq, signal_type=signal_type)) # Port Base-Class -class Port: +class Port(object): """ The port base class. |