Remove unused imports.

这个提交包含在:
Craig Warren
2016-07-21 15:57:13 +01:00
父节点 2b305805a1
当前提交 84346c797e
共有 7 个文件被更改,包括 2 次插入9 次删除

查看文件

@@ -31,7 +31,6 @@ Coordinate(x=0.1, y=0.2, z=0.3)
>>> print c.x, c.y, c.z >>> print c.x, c.y, c.z
0.1 0.2 0.3 0.1 0.2 0.3
""" """
import sys
from collections import namedtuple from collections import namedtuple
Coordinate_tuple = namedtuple('Coordinate', ['x', 'y', 'z']) Coordinate_tuple = namedtuple('Coordinate', ['x', 'y', 'z'])

查看文件

@@ -26,7 +26,7 @@ from gprMax.input_cmds_file import check_cmd_names
from gprMax.input_cmds_multiuse import process_multicmds from gprMax.input_cmds_multiuse import process_multicmds
from gprMax.exceptions import CmdInputError from gprMax.exceptions import CmdInputError
from gprMax.fractals import FractalSurface, FractalVolume, Grass from gprMax.fractals import FractalSurface, FractalVolume, Grass
from gprMax.geometry_primitives import build_edge_x, build_edge_y, build_edge_z, build_face_yz, build_face_xz, build_face_xy, build_triangle, build_voxel, build_box, build_cylinder, build_cylindrical_sector, build_sphere, build_voxels_from_array, build_voxels_from_array_mask from gprMax.geometry_primitives import build_edge_x, build_edge_y, build_edge_z, build_face_yz, build_face_xz, build_face_xy, build_triangle, build_box, build_cylinder, build_cylindrical_sector, build_sphere, build_voxels_from_array, build_voxels_from_array_mask
from gprMax.materials import Material from gprMax.materials import Material
from gprMax.utilities import round_value from gprMax.utilities import round_value

查看文件

@@ -16,8 +16,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with gprMax. If not, see <http://www.gnu.org/licenses/>. # along with gprMax. If not, see <http://www.gnu.org/licenses/>.
from collections import OrderedDict
import numpy as np import numpy as np
from gprMax.constants import z0, floattype from gprMax.constants import z0, floattype

查看文件

@@ -24,7 +24,6 @@ import numpy as np
from gprMax.constants import c, floattype from gprMax.constants import c, floattype
from gprMax.exceptions import CmdInputError from gprMax.exceptions import CmdInputError
from gprMax.pml import PML, CFS
from gprMax.utilities import round_value, human_size from gprMax.utilities import round_value, human_size
from gprMax.waveforms import Waveform from gprMax.waveforms import Waveform

查看文件

@@ -18,7 +18,7 @@
import numpy as np import numpy as np
from gprMax.constants import e0, m0, floattype, complextype from gprMax.constants import e0, m0, complextype
class Material(object): class Material(object):

查看文件

@@ -19,7 +19,6 @@
import h5py import h5py
from gprMax._version import __version__ from gprMax._version import __version__
from gprMax.constants import floattype
def write_hdf5(outputfile, Ex, Ey, Ez, Hx, Hy, Hz, G): def write_hdf5(outputfile, Ex, Ey, Ez, Hx, Hy, Hz, G):

查看文件

@@ -4,8 +4,6 @@ import h5py
from lxml import etree from lxml import etree
import numpy as np import numpy as np
import time
from gprMax.grid import Grid from gprMax.grid import Grid
class ListCounter(): class ListCounter():