plt.tight_layout()

本文介绍了一个实验特性的tight_layout功能,它能自动调整子图参数,使图表填充整个图像区域,仅检查坐标轴标签、刻度标签及标题部分。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

tight_layout会自动调整子图参数,使之填充整个图像区域。这是个实验特性,可能在一些情况下不工作。它仅仅检查坐标轴标签、刻度标签以及标题的部分。
使用之前:
在这里插入图片描述
使用之后:
在这里插入图片描述

参考:https://www.jianshu.com/p/91eb0d616adb

粗匹配完成 (0.00s) ADE优化完成 (0.02s) 时间步 8: 执行重采样 (N_eff=180.0/1200) 时间步 11: 执行重采样 (N_eff=148.4/1200) 时间步 14: 执行重采样 (N_eff=120.2/1200) 时间步 17: 执行重采样 (N_eff=172.0/1200) 时间步 20: 执行重采样 (N_eff=157.1/1200) 时间步 23: 执行重采样 (N_eff=117.2/1200) 时间步 26: 执行重采样 (N_eff=98.6/1200) 时间步 29: 执行重采样 (N_eff=55.7/1200) 时间步 31: 执行重采样 (N_eff=151.1/1200) 时间步 34: 执行重采样 (N_eff=49.9/1200) 时间步 37: 执行重采样 (N_eff=179.9/1200) 时间步 43: 执行重采样 (N_eff=191.1/1200) 时间步 54: 执行重采样 (N_eff=204.9/1200) 时间步 58: 执行重采样 (N_eff=149.2/1200) 粒子滤波完成 (2.27s), 平均有效样本数: 579.7/1200 Backend qtagg is interactive backend. Turning interactive mode on. PS E:\网页下载> ^C PS E:\网页下载> PS E:\网页下载> e:; cd 'e:\网页下载'; & 'd:\A\python.exe' 'c:\Users\86181\.vscode\extensions\ms-python.debugpy-2025.10.0-win32-x64\bundled\libs\debugpy\launcher' '57054' '--' 'E:\网页下载\Magnetic Matching with ADE and Particle Filter.py' === 开始地磁匹配优化 === 粗匹配完成 (0.00s) ADE优化完成 (0.02s) 时间步 25: 执行重采样 (N_eff=229.3/1200) 时间步 27: 执行重采样 (N_eff=217.5/1200) 时间步 29: 执行重采样 (N_eff=185.1/1200) 时间步 31: 执行重采样 (N_eff=147.0/1200) 时间步 33: 执行重采样 (N_eff=68.7/1200) 时间步 35: 执行重采样 (N_eff=43.7/1200) 时间步 37: 执行重采样 (N_eff=75.1/1200) 时间步 39: 执行重采样 (N_eff=50.1/1200) 时间步 41: 执行重采样 (N_eff=21.9/1200) 时间步 42: 执行重采样 (N_eff=225.1/1200) 时间步 43: 执行重采样 (N_eff=62.9/1200) 时间步 44: 执行重采样 (N_eff=114.7/1200) 时间步 45: 执行重采样 (N_eff=111.6/1200) 时间步 46: 执行重采样 (N_eff=103.1/1200) 时间步 47: 执行重采样 (N_eff=115.0/1200) 警告: 时间步 48 所有权重接近零,执行粒子恢复 时间步 49: 执行重采样 (N_eff=226.4/1200) 时间步 53: 执行重采样 (N_eff=115.9/1200) 时间步 56: 执行重采样 (N_eff=138.4/1200) 时间步 59: 执行重采样 (N_eff=95.3/1200) 粒子滤波完成 (2.21s), 平均有效样本数: 426.1/1200 禁忌搜索完成 (0.00s) 最终轨迹与真实轨迹的平均偏差: 0.20438 总耗时: 2.23s 轨迹完整性检查: 输入INS轨迹点数: 60 粗匹配轨迹点数: 60 粒子滤波轨迹点数: 60 精细轨迹点数: 60 真实轨迹点数: 60 E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 36712 (\N{CJK UNIFIED IDEOGRAPH-8F68}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 36857 (\N{CJK UNIFIED IDEOGRAPH-8FF9}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 23545 (\N{CJK UNIFIED IDEOGRAPH-5BF9}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 27604 (\N{CJK UNIFIED IDEOGRAPH-6BD4}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 31895 (\N{CJK UNIFIED IDEOGRAPH-7C97}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 21305 (\N{CJK UNIFIED IDEOGRAPH-5339}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 37197 (\N{CJK UNIFIED IDEOGRAPH-914D}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 20248 (\N{CJK UNIFIED IDEOGRAPH-4F18}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 21270 (\N{CJK UNIFIED IDEOGRAPH-5316}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 31890 (\N{CJK UNIFIED IDEOGRAPH-7C92}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 23376 (\N{CJK UNIFIED IDEOGRAPH-5B50}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 28388 (\N{CJK UNIFIED IDEOGRAPH-6EE4}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 27874 (\N{CJK UNIFIED IDEOGRAPH-6CE2}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 31934 (\N{CJK UNIFIED IDEOGRAPH-7CBE}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 32454 (\N{CJK UNIFIED IDEOGRAPH-7EC6}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 30495 (\N{CJK UNIFIED IDEOGRAPH-771F}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 23454 (\N{CJK UNIFIED IDEOGRAPH-5B9E}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 38170 (\N{CJK UNIFIED IDEOGRAPH-951A}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 28857 (\N{CJK UNIFIED IDEOGRAPH-70B9}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 26102 (\N{CJK UNIFIED IDEOGRAPH-65F6}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 38388 (\N{CJK UNIFIED IDEOGRAPH-95F4}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 27493 (\N{CJK UNIFIED IDEOGRAPH-6B65}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 35823 (\N{CJK UNIFIED IDEOGRAPH-8BEF}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 24046 (\N{CJK UNIFIED IDEOGRAPH-5DEE}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 20301 (\N{CJK UNIFIED IDEOGRAPH-4F4D}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 32622 (\N{CJK UNIFIED IDEOGRAPH-7F6E}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 26377 (\N{CJK UNIFIED IDEOGRAPH-6709}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 25928 (\N{CJK UNIFIED IDEOGRAPH-6548}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 26679 (\N{CJK UNIFIED IDEOGRAPH-6837}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 26412 (\N{CJK UNIFIED IDEOGRAPH-672C}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 25968 (\N{CJK UNIFIED IDEOGRAPH-6570}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 21464 (\N{CJK UNIFIED IDEOGRAPH-53D8}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 37325 (\N{CJK UNIFIED IDEOGRAPH-91CD}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 37319 (\N{CJK UNIFIED IDEOGRAPH-91C7}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 38408 (\N{CJK UNIFIED IDEOGRAPH-9608}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 20540 (\N{CJK UNIFIED IDEOGRAPH-503C}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 30913 (\N{CJK UNIFIED IDEOGRAPH-78C1}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 22330 (\N{CJK UNIFIED IDEOGRAPH-573A}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 24378 (\N{CJK UNIFIED IDEOGRAPH-5F3A}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 24230 (\N{CJK UNIFIED IDEOGRAPH-5EA6}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 27979 (\N{CJK UNIFIED IDEOGRAPH-6D4B}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 37327 (\N{CJK UNIFIED IDEOGRAPH-91CF}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 19982 (\N{CJK UNIFIED IDEOGRAPH-4E0E}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 39044 (\N{CJK UNIFIED IDEOGRAPH-9884}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 36712 (\N{CJK UNIFIED IDEOGRAPH-8F68}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 36857 (\N{CJK UNIFIED IDEOGRAPH-8FF9}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 23545 (\N{CJK UNIFIED IDEOGRAPH-5BF9}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 27604 (\N{CJK UNIFIED IDEOGRAPH-6BD4}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 31895 (\N{CJK UNIFIED IDEOGRAPH-7C97}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 21305 (\N{CJK UNIFIED IDEOGRAPH-5339}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 37197 (\N{CJK UNIFIED IDEOGRAPH-914D}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 20248 (\N{CJK UNIFIED IDEOGRAPH-4F18}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 21270 (\N{CJK UNIFIED IDEOGRAPH-5316}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 31890 (\N{CJK UNIFIED IDEOGRAPH-7C92}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 23376 (\N{CJK UNIFIED IDEOGRAPH-5B50}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 28388 (\N{CJK UNIFIED IDEOGRAPH-6EE4}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 27874 (\N{CJK UNIFIED IDEOGRAPH-6CE2}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 31934 (\N{CJK UNIFIED IDEOGRAPH-7CBE}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 32454 (\N{CJK UNIFIED IDEOGRAPH-7EC6}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 30495 (\N{CJK UNIFIED IDEOGRAPH-771F}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 23454 (\N{CJK UNIFIED IDEOGRAPH-5B9E}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 38170 (\N{CJK UNIFIED IDEOGRAPH-951A}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 28857 (\N{CJK UNIFIED IDEOGRAPH-70B9}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 35823 (\N{CJK UNIFIED IDEOGRAPH-8BEF}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 24046 (\N{CJK UNIFIED IDEOGRAPH-5DEE}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 20301 (\N{CJK UNIFIED IDEOGRAPH-4F4D}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 32622 (\N{CJK UNIFIED IDEOGRAPH-7F6E}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 26102 (\N{CJK UNIFIED IDEOGRAPH-65F6}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 38388 (\N{CJK UNIFIED IDEOGRAPH-95F4}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 27493 (\N{CJK UNIFIED IDEOGRAPH-6B65}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 26377 (\N{CJK UNIFIED IDEOGRAPH-6709}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 25928 (\N{CJK UNIFIED IDEOGRAPH-6548}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 26679 (\N{CJK UNIFIED IDEOGRAPH-6837}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 26412 (\N{CJK UNIFIED IDEOGRAPH-672C}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 25968 (\N{CJK UNIFIED IDEOGRAPH-6570}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 21464 (\N{CJK UNIFIED IDEOGRAPH-53D8}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 37325 (\N{CJK UNIFIED IDEOGRAPH-91CD}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 37319 (\N{CJK UNIFIED IDEOGRAPH-91C7}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 38408 (\N{CJK UNIFIED IDEOGRAPH-9608}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 20540 (\N{CJK UNIFIED IDEOGRAPH-503C}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 30913 (\N{CJK UNIFIED IDEOGRAPH-78C1}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 22330 (\N{CJK UNIFIED IDEOGRAPH-573A}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 24378 (\N{CJK UNIFIED IDEOGRAPH-5F3A}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 24230 (\N{CJK UNIFIED IDEOGRAPH-5EA6}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 27979 (\N{CJK UNIFIED IDEOGRAPH-6D4B}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 37327 (\N{CJK UNIFIED IDEOGRAPH-91CF}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 19982 (\N{CJK UNIFIED IDEOGRAPH-4E0E}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 39044 (\N{CJK UNIFIED IDEOGRAPH-9884}) missing from font(s) DejaVu Sans. plt.show() 优化完成! PS E:\网页下载> ^C PS E:\网页下载> PS E:\网页下载> e:; cd 'e:\网页下载'; & 'd:\A\python.exe' 'c:\Users\86181\.vscode\extensions\ms-python.debugpy-2025.10.0-win32-x64\bundled\libs\debugpy\launcher' '57107' '--' 'E:\网页下载\Magnetic Matching with ADE and Particle Filter.py' === 开始地磁匹配优化 === 粗匹配完成 (0.00s) ADE优化完成 (0.02s) 时间步 3: 执行重采样 (N_eff=147.4/1200) 时间步 5: 执行重采样 (N_eff=46.4/1200) 时间步 7: 执行重采样 (N_eff=217.0/1200) 时间步 14: 执行重采样 (N_eff=162.6/1200) 时间步 19: 执行重采样 (N_eff=110.8/1200) 时间步 20: 执行重采样 (N_eff=216.5/1200) 时间步 21: 执行重采样 (N_eff=219.9/1200) 时间步 22: 执行重采样 (N_eff=220.4/1200) 时间步 23: 执行重采样 (N_eff=201.4/1200) 警告: 时间步 24 所有权重接近零,执行粒子恢复 时间步 29: 执行重采样 (N_eff=187.7/1200) 时间步 32: 执行重采样 (N_eff=234.9/1200) 时间步 35: 执行重采样 (N_eff=86.6/1200) 时间步 37: 执行重采样 (N_eff=156.7/1200) 时间步 39: 执行重采样 (N_eff=157.2/1200) 时间步 41: 执行重采样 (N_eff=157.8/1200) 时间步 43: 执行重采样 (N_eff=123.0/1200) 时间步 45: 执行重采样 (N_eff=83.3/1200) 时间步 47: 执行重采样 (N_eff=75.8/1200) 时间步 49: 执行重采样 (N_eff=58.0/1200) 时间步 51: 执行重采样 (N_eff=47.7/1200) 时间步 53: 执行重采样 (N_eff=16.4/1200) 警告: 时间步 54 所有权重接近零,执行粒子恢复 时间步 58: 执行重采样 (N_eff=177.3/1200) 粒子滤波完成 (2.26s), 平均有效样本数: 474.7/1200 禁忌搜索完成 (0.00s) 最终轨迹与真实轨迹的平均偏差: 0.21105 总耗时: 2.28s 轨迹完整性检查: 输入INS轨迹点数: 60 粗匹配轨迹点数: 60 粒子滤波轨迹点数: 60 精细轨迹点数: 60 真实轨迹点数: 60 E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 36712 (\N{CJK UNIFIED IDEOGRAPH-8F68}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 36857 (\N{CJK UNIFIED IDEOGRAPH-8FF9}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 23545 (\N{CJK UNIFIED IDEOGRAPH-5BF9}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 27604 (\N{CJK UNIFIED IDEOGRAPH-6BD4}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 31895 (\N{CJK UNIFIED IDEOGRAPH-7C97}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 21305 (\N{CJK UNIFIED IDEOGRAPH-5339}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 37197 (\N{CJK UNIFIED IDEOGRAPH-914D}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 20248 (\N{CJK UNIFIED IDEOGRAPH-4F18}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 21270 (\N{CJK UNIFIED IDEOGRAPH-5316}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 31890 (\N{CJK UNIFIED IDEOGRAPH-7C92}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 23376 (\N{CJK UNIFIED IDEOGRAPH-5B50}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 28388 (\N{CJK UNIFIED IDEOGRAPH-6EE4}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 27874 (\N{CJK UNIFIED IDEOGRAPH-6CE2}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 31934 (\N{CJK UNIFIED IDEOGRAPH-7CBE}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 32454 (\N{CJK UNIFIED IDEOGRAPH-7EC6}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 30495 (\N{CJK UNIFIED IDEOGRAPH-771F}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 23454 (\N{CJK UNIFIED IDEOGRAPH-5B9E}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 38170 (\N{CJK UNIFIED IDEOGRAPH-951A}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 28857 (\N{CJK UNIFIED IDEOGRAPH-70B9}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 26102 (\N{CJK UNIFIED IDEOGRAPH-65F6}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 38388 (\N{CJK UNIFIED IDEOGRAPH-95F4}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 27493 (\N{CJK UNIFIED IDEOGRAPH-6B65}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 35823 (\N{CJK UNIFIED IDEOGRAPH-8BEF}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 24046 (\N{CJK UNIFIED IDEOGRAPH-5DEE}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 20301 (\N{CJK UNIFIED IDEOGRAPH-4F4D}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 32622 (\N{CJK UNIFIED IDEOGRAPH-7F6E}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 26377 (\N{CJK UNIFIED IDEOGRAPH-6709}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 25928 (\N{CJK UNIFIED IDEOGRAPH-6548}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 26679 (\N{CJK UNIFIED IDEOGRAPH-6837}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 26412 (\N{CJK UNIFIED IDEOGRAPH-672C}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 25968 (\N{CJK UNIFIED IDEOGRAPH-6570}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 21464 (\N{CJK UNIFIED IDEOGRAPH-53D8}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 37325 (\N{CJK UNIFIED IDEOGRAPH-91CD}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 37319 (\N{CJK UNIFIED IDEOGRAPH-91C7}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 38408 (\N{CJK UNIFIED IDEOGRAPH-9608}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 20540 (\N{CJK UNIFIED IDEOGRAPH-503C}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 30913 (\N{CJK UNIFIED IDEOGRAPH-78C1}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 22330 (\N{CJK UNIFIED IDEOGRAPH-573A}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 24378 (\N{CJK UNIFIED IDEOGRAPH-5F3A}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 24230 (\N{CJK UNIFIED IDEOGRAPH-5EA6}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 27979 (\N{CJK UNIFIED IDEOGRAPH-6D4B}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 37327 (\N{CJK UNIFIED IDEOGRAPH-91CF}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 19982 (\N{CJK UNIFIED IDEOGRAPH-4E0E}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:498: UserWarning: Glyph 39044 (\N{CJK UNIFIED IDEOGRAPH-9884}) missing from font(s) DejaVu Sans. plt.tight_layout() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 36712 (\N{CJK UNIFIED IDEOGRAPH-8F68}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 36857 (\N{CJK UNIFIED IDEOGRAPH-8FF9}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 23545 (\N{CJK UNIFIED IDEOGRAPH-5BF9}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 27604 (\N{CJK UNIFIED IDEOGRAPH-6BD4}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 31895 (\N{CJK UNIFIED IDEOGRAPH-7C97}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 21305 (\N{CJK UNIFIED IDEOGRAPH-5339}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 37197 (\N{CJK UNIFIED IDEOGRAPH-914D}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 20248 (\N{CJK UNIFIED IDEOGRAPH-4F18}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 21270 (\N{CJK UNIFIED IDEOGRAPH-5316}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 31890 (\N{CJK UNIFIED IDEOGRAPH-7C92}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 23376 (\N{CJK UNIFIED IDEOGRAPH-5B50}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 28388 (\N{CJK UNIFIED IDEOGRAPH-6EE4}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 27874 (\N{CJK UNIFIED IDEOGRAPH-6CE2}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 31934 (\N{CJK UNIFIED IDEOGRAPH-7CBE}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 32454 (\N{CJK UNIFIED IDEOGRAPH-7EC6}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 30495 (\N{CJK UNIFIED IDEOGRAPH-771F}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 23454 (\N{CJK UNIFIED IDEOGRAPH-5B9E}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 38170 (\N{CJK UNIFIED IDEOGRAPH-951A}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 28857 (\N{CJK UNIFIED IDEOGRAPH-70B9}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 35823 (\N{CJK UNIFIED IDEOGRAPH-8BEF}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 24046 (\N{CJK UNIFIED IDEOGRAPH-5DEE}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 20301 (\N{CJK UNIFIED IDEOGRAPH-4F4D}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 32622 (\N{CJK UNIFIED IDEOGRAPH-7F6E}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 26102 (\N{CJK UNIFIED IDEOGRAPH-65F6}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 38388 (\N{CJK UNIFIED IDEOGRAPH-95F4}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 27493 (\N{CJK UNIFIED IDEOGRAPH-6B65}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 26377 (\N{CJK UNIFIED IDEOGRAPH-6709}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 25928 (\N{CJK UNIFIED IDEOGRAPH-6548}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 26679 (\N{CJK UNIFIED IDEOGRAPH-6837}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 26412 (\N{CJK UNIFIED IDEOGRAPH-672C}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 25968 (\N{CJK UNIFIED IDEOGRAPH-6570}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 21464 (\N{CJK UNIFIED IDEOGRAPH-53D8}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 37325 (\N{CJK UNIFIED IDEOGRAPH-91CD}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 37319 (\N{CJK UNIFIED IDEOGRAPH-91C7}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 38408 (\N{CJK UNIFIED IDEOGRAPH-9608}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 20540 (\N{CJK UNIFIED IDEOGRAPH-503C}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 30913 (\N{CJK UNIFIED IDEOGRAPH-78C1}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 22330 (\N{CJK UNIFIED IDEOGRAPH-573A}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 24378 (\N{CJK UNIFIED IDEOGRAPH-5F3A}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 24230 (\N{CJK UNIFIED IDEOGRAPH-5EA6}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 27979 (\N{CJK UNIFIED IDEOGRAPH-6D4B}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 37327 (\N{CJK UNIFIED IDEOGRAPH-91CF}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 19982 (\N{CJK UNIFIED IDEOGRAPH-4E0E}) missing from font(s) DejaVu Sans. plt.show() E:\网页下载\Magnetic Matching with ADE and Particle Filter.py:499: UserWarning: Glyph 39044 (\N{CJK UNIFIED IDEOGRAPH-9884}) missing from font(s) DejaVu Sans. plt.show() 优化完成! PS E:\网页下载> 给你看看终端内容,怎么说,就是可视化图形是不是太密了感觉有点乱码,然后好像数据也有点不行,但比以前好了好像,然后用来实验的数据是不是随机的?我希望是随机的
最新发布
07-24
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值