create_sbr_radar_from_json#

Hfss.create_sbr_radar_from_json(radar_file, name, offset=None, speed=0.0, use_relative_cs=False, relative_cs_name=None)[source]#

Create an SBR+ radar setup from a JSON file.

Example of input JSON file:

{
    "name": "Example_1Tx_1Rx",
    "version": 1,
    "number_tx":"1",
    "number_rx":"1",
    "units":"mm",
    "antennas": {
        "tx1": {
            "antenna_type":"parametric",
            "mode":"tx",
            "offset":["0" ,"0" ,"0"],
            "rotation_axis":null,
            "rotation":null,
            "beamwidth_elevation":"10deg",
            "beamwidth_azimuth":"60deg",
            "polarization":"Vertical"
            },
        "rx1": {
            "antenna_type":"parametric",
            "mode":"rx",
            "offset":["0" ,"1.8" ,"0"],
            "rotation_axis":null,
            "rotation":null,
            "beamwidth_elevation":"10deg",
            "beamwidth_azimuth":"60deg",
            "polarization":"Vertical"
            }
    }
}
Parameters:
radar_filestr

Path to the directory with the radar file.

namestr

Name of the radar file.

offsetlist, optional

Offset relative to the global coordinate system.

speedfloat, optional

Radar movement speed relative to the global coordinate system if greater than 0.

use_relative_csbool, optional

Whether to use the relative coordinate system. The default is False.

relative_cs_namestr

Name of the relative coordinate system to link the radar to. The default is None, in which case the global coordinate system is used.

Returns:
pyaedt.modeler.actors.Radar

Radar class object.

References

AEDT API Commands.

>>> oEditor.CreateRelativeCS
>>> oModule.SetSBRTxRxSettings
>>> oEditor.CreateGroup