feat: 添加测试代码

This commit is contained in:
mayge
2025-10-02 04:35:41 -04:00
parent 15d1c042fe
commit f02cfbeec0
8 changed files with 532 additions and 1 deletions

7
test/gvf_plot_poles.py Normal file
View File

@@ -0,0 +1,7 @@
from ovf.core.GVFManager import GVFManager
gvf = GVFManager.load("outputs/mtee_gvf.pkl")
# gvf = GVFManager()
# gvf.load_from_datasets("examples/data/capa.json",npoles_cplx=2,max_points=20)
# gvf.save("outputs/capa_gvf.pkl")
gvf.plot_poles("outputs/mtee_poles",degree=3,geometry_1="L1",geometry_2="L2")