你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Remove unused imports.
这个提交包含在:
@@ -31,7 +31,6 @@ Coordinate(x=0.1, y=0.2, z=0.3)
|
||||
>>> print c.x, c.y, c.z
|
||||
0.1 0.2 0.3
|
||||
"""
|
||||
import sys
|
||||
|
||||
from collections import namedtuple
|
||||
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.exceptions import CmdInputError
|
||||
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.utilities import round_value
|
||||
|
||||
|
@@ -16,8 +16,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with gprMax. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from collections import OrderedDict
|
||||
|
||||
import numpy as np
|
||||
|
||||
from gprMax.constants import z0, floattype
|
||||
|
@@ -24,7 +24,6 @@ import numpy as np
|
||||
|
||||
from gprMax.constants import c, floattype
|
||||
from gprMax.exceptions import CmdInputError
|
||||
from gprMax.pml import PML, CFS
|
||||
from gprMax.utilities import round_value, human_size
|
||||
from gprMax.waveforms import Waveform
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
import numpy as np
|
||||
|
||||
from gprMax.constants import e0, m0, floattype, complextype
|
||||
from gprMax.constants import e0, m0, complextype
|
||||
|
||||
|
||||
class Material(object):
|
||||
|
@@ -19,7 +19,6 @@
|
||||
import h5py
|
||||
|
||||
from gprMax._version import __version__
|
||||
from gprMax.constants import floattype
|
||||
|
||||
|
||||
def write_hdf5(outputfile, Ex, Ey, Ez, Hx, Hy, Hz, G):
|
||||
|
@@ -4,8 +4,6 @@ import h5py
|
||||
from lxml import etree
|
||||
import numpy as np
|
||||
|
||||
import time
|
||||
|
||||
from gprMax.grid import Grid
|
||||
|
||||
class ListCounter():
|
||||
|
在新工单中引用
屏蔽一个用户