你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
18 行
444 B
Python
18 行
444 B
Python
"""gprMax.__main__: executed when gprMax directory is called as script."""
|
|
|
|
import gprMax.gprMax
|
|
|
|
if __name__ == '__main__':
|
|
gprMax.gprMax.main()
|
|
|
|
# Code profiling
|
|
# Time profiling
|
|
# import cProfile, pstats
|
|
# cProfile.run('gprMax.gprMax.main()','stats')
|
|
# p = pstats.Stats('stats')
|
|
# p.sort_stats('time').print_stats(25)
|
|
|
|
# Memory profiling - use in gprMax.py
|
|
# from memory profiler import profile
|
|
# add @profile before function to profile
|