xwr.rsp.torch
¶
Radar Signal Processing in Pytorch.
Info
This module mirrors the functionality of xwr.rsp.numpy
.
Warning
This module is not automatically imported; you will need to explicitly import it:
Since pytorch is not declared as a required dependency, you will also need
to install torch
yourself (or install the torch
extra with
pip install xwr[torch]
).
xwr.rsp.torch.AWR1642Boost
¶
Bases: RSPTorch
Radar Signal Processing for the AWR1642 or AWR1843 with TX2 disabled.
Antenna Array
The TI AWR1642Boost (or AWR1843Boost with TX2 disabled) has a 1x8 linear MIMO array:
Parameters:
Name | Type | Description | Default |
---|---|---|---|
window
|
bool | dict[Literal['range', 'doppler', 'azimuth', 'elevation'], bool]
|
whether to apply a hanning window. If |
False
|
size
|
dict[Literal['range', 'doppler', 'azimuth', 'elevation'], int]
|
target size for each axis after zero-padding, specified by axis. If an axis is not spacified, it is not padded. |
{}
|
Source code in src/xwr/rsp/torch/rsp.py
xwr.rsp.torch.AWR1843AOP
¶
Bases: RSPTorch
Radar Signal Processing for AWR1843AOP.
Antenna Array
In the TI AWR1843AOP, the MIMO virtual array is arranged in a 2D grid:
Parameters:
Name | Type | Description | Default |
---|---|---|---|
window
|
bool | dict[Literal['range', 'doppler', 'azimuth', 'elevation'], bool]
|
whether to apply a hanning window. If |
False
|
size
|
dict[Literal['range', 'doppler', 'azimuth', 'elevation'], int]
|
target size for each axis after zero-padding, specified by axis. If an axis is not spacified, it is not padded. |
{}
|
Source code in src/xwr/rsp/torch/rsp.py
xwr.rsp.torch.AWR1843Boost
¶
Bases: RSPTorch
Radar Signal Processing for AWR1843Boost.
Antenna Array
In the TI AWR1843Boost, the MIMO virtual array has resolution 2x8, with a single 1/2-wavelength elevated middle antenna element:
Parameters:
Name | Type | Description | Default |
---|---|---|---|
window
|
bool | dict[Literal['range', 'doppler', 'azimuth', 'elevation'], bool]
|
whether to apply a hanning window. If |
False
|
size
|
dict[Literal['range', 'doppler', 'azimuth', 'elevation'], int]
|
target size for each axis after zero-padding, specified by axis. If an axis is not spacified, it is not padded. |
{}
|
Source code in src/xwr/rsp/torch/rsp.py
xwr.rsp.torch.RSPTorch
¶
Base Radar Signal Processing with common functionality.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
window
|
bool | dict[Literal['range', 'doppler', 'azimuth', 'elevation'], bool]
|
whether to apply a hanning window. If |
False
|
size
|
dict[Literal['range', 'doppler', 'azimuth', 'elevation'], int]
|
target size for each axis after zero-padding, specified by axis. If an axis is not spacified, it is not padded. |
{}
|