修改python模块引用方式

这个提交包含在:
2023-04-07 10:14:32 +08:00
父节点 6845ee0834
当前提交 86b7cad3ea
共修改 25 个文件,包含 443 行新增和 56 行删除
+4 -3
查看文件
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
import warnings
warnings.filterwarnings('ignore')
import argparse, json
import os, sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))+'/pyat')
def _argparse():
parser = argparse.ArgumentParser(description='剖面分析工具, 根据标准化剖面,得到声道, 跃层分析结果')
@@ -39,9 +40,9 @@ def main():
if "outPath" not in outParam:
outParam["outPath"] = ""
from pyat.DataBase import DataBase
from DataBase import DataBase
import matplotlib.pyplot as plt
from pyat.ProfileTool import ProfileTool
import ProfileTool
import numpy as np
# 定义时间段
timeIndex = timeType