xwr.rsp.numpy
¶
Radar Signal Processing in Numpy.
Tip
We use pyfftw
to perform FFTs, which wraps FFTW. In our
testing for computing 64x3x4x256
range-Doppler frames, this
provides a ~5x speedup over np.fft.fftn
for single frames and a
~10x speedup for batches of 8 frames.
FFTW plans are also cached for efficiency: the first time a particular
shape and axes are requested from RSPNumpy.fft
, a copy of the array
is provided to fftw to create a plan, which is saved by RSPNumpy
.
Warning
This module is not automatically imported; you will need to explicitly import it:
xwr.rsp.numpy.AWR1642Boost
¶
Bases: RSPNumpy
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/numpy/rsp.py
xwr.rsp.numpy.AWR1843AOP
¶
Bases: RSPNumpy
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/numpy/rsp.py
xwr.rsp.numpy.AWR1843Boost
¶
Bases: RSPNumpy
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/numpy/rsp.py
xwr.rsp.numpy.RSPNumpy
¶
Numpy Radar Signal Processing base class.
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. |
{}
|