你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-06 20:46:52 +08:00
Added ability to rotate antenna models 90 degrees CCW in the x-y plane.
这个提交包含在:
@@ -29,18 +29,18 @@ Module overview
|
||||
How to use the module
|
||||
=====================
|
||||
|
||||
The antenna models can be accessed from within a block of Python code in an input file. The models must be used with cubic spatial resolutions of either 1mm (default) or 2mm.
|
||||
The antenna models can be accessed from within a block of Python code in an input file. The models must be used with cubic spatial resolutions of either 1mm (default) or 2mm by setting the keyword argument, e.g. ``resolution=0.002``. The antenna models can be rotated 90 degrees counter-clockwise (CCW) in the x-y plane by setting the keyword argument ``rotate90=True``.
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
To include an antenna model similar to a GSSI 1.5 GHz antenna at a location 0.125m, 0.094m, 0.100m (x,y,z):
|
||||
To include an antenna model similar to a GSSI 1.5 GHz antenna at a location 0.125m, 0.094m, 0.100m (x,y,z) using a 2mm cubic spatial resolution:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
#python:
|
||||
from user_libs.antennas import antenna_like_GSSI_1500
|
||||
antenna_like_GSSI_1500(0.125, 0.094, 0.100)
|
||||
antenna_like_GSSI_1500(0.125, 0.094, 0.100, resolution=0.002)
|
||||
#end_python:
|
||||
|
||||
.. figure:: images/antenna_like_GSSI_1500.png
|
||||
|
在新工单中引用
屏蔽一个用户