修改python模块引用方式

这个提交包含在:
2023-04-07 10:14:32 +08:00
父节点 6845ee0834
当前提交 86b7cad3ea
共修改 25 个文件,包含 443 行新增和 56 行删除
+4 -2
查看文件
@@ -3,6 +3,8 @@ import warnings
warnings.filterwarnings('ignore')
import argparse, json
from common import NoIndent, MyEncoder
import os, sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))+'/pyat')
def _argparse():
parser = argparse.ArgumentParser(description='tl realtime client')
@@ -61,8 +63,8 @@ def main():
from scipy.interpolate import Akima1DInterpolator
import numpy as np
from pyat.AcousticPara import BathyM, Base, Sed, SSP_
from pyat.tlcore import call_Bellhop, call_krakenc, call_ram
from AcousticPara import BathyM, Base, Sed, SSP_
from tlcore import call_Bellhop, call_krakenc, call_ram
import matplotlib.pyplot as plt
bathym, ssp, sed, base = [], [], [], []