你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Added mention of 'inputdirectory' variable available for Python scripting.
这个提交包含在:
@@ -11,15 +11,16 @@ Constants/variables
|
|||||||
|
|
||||||
You can access the following built-in constants from your Python code:
|
You can access the following built-in constants from your Python code:
|
||||||
|
|
||||||
* ``c`` which is the speed of light in vacuum :math:`c=2.9979245 \times 10^8` m/s
|
* ``c`` is the speed of light in vacuum :math:`c=2.9979245 \times 10^8` m/s
|
||||||
* ``e0`` which is the permittivity of free space :math:`\epsilon_0=8.854187 \times 10^{-12}` F/m
|
* ``e0`` is the permittivity of free space :math:`\epsilon_0=8.854187 \times 10^{-12}` F/m
|
||||||
* ``m0`` which is the permeability of free space :math:`\mu_0=1.256637 \times 10^{-6}` H/m
|
* ``m0`` is the permeability of free space :math:`\mu_0=1.256637 \times 10^{-6}` H/m
|
||||||
* ``z0`` which is the impedance of free space :math:`z_0=376.7303134` Ohms
|
* ``z0`` is the impedance of free space :math:`z_0=376.7303134` Ohms
|
||||||
|
|
||||||
You can access the following built-in variables from your Python code:
|
You can access the following built-in variables from your Python code:
|
||||||
|
|
||||||
* ``current_model_run`` which is the current run number of the model that is been executed.
|
* ``current_model_run`` is the current run number of the model that is been executed.
|
||||||
* ``number_model_runs`` which is the total number of runs specified when the model was initially executed, i.e. from ``python -m gprMax my_input_file -n number_of_model_runs``
|
* ``number_model_runs`` is the total number of runs specified when the model was initially executed, i.e. from ``python -m gprMax my_input_file -n number_of_model_runs``
|
||||||
|
* ``inputdirectory`` is the path to the directory where your input file is located.
|
||||||
|
|
||||||
Antenna models
|
Antenna models
|
||||||
==============
|
==============
|
||||||
|
在新工单中引用
屏蔽一个用户