你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-06 20:46:52 +08:00
Updated docs on tools.
这个提交包含在:
33
docs/source/utils.rst
普通文件
33
docs/source/utils.rst
普通文件
@@ -0,0 +1,33 @@
|
||||
.. _utils:
|
||||
|
||||
***************
|
||||
Other utilities
|
||||
***************
|
||||
|
||||
This section provides information on how to use the other Python modules in the ``tools`` package to help manage gprMax files.
|
||||
|
||||
inputfile_old2new.py
|
||||
--------------------
|
||||
|
||||
This modules assists with the process of migrating input files from the syntax of the old (pre v.3) version of gprMax to the new syntax. It will produce a new input file with the old syntax (attempted to be!) translated to the new syntax. Usage (from the top-level gprMax directory) is:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
python -m tools.inputfile_new2old inputfile
|
||||
|
||||
where ``inputfile`` is the name of input file including the path.
|
||||
|
||||
|
||||
outputfiles_merge.py
|
||||
--------------------
|
||||
|
||||
gprMax produces a separate output file for each trace (A-scan) in a B-scan. This module combines the separate output files into a single file, and offers to remove the separate output files afterwards. Usage (from the top-level gprMax directory) is:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
python -m tools.outputfiles_merge basefilename modelruns
|
||||
|
||||
where:
|
||||
|
||||
* ``basefilename`` is the base name file of the output file series, e.g. for ``myoutput1.out``, ``myoutput2.out`` the base file name would be ``myoutput``
|
||||
* ``modelruns`` is the number of output files to combine
|
在新工单中引用
屏蔽一个用户