Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rookiepeng committed Dec 16, 2024
1 parent eb66489 commit 1b39aab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions src/radarsimpy/radar.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,13 +289,13 @@ class Radar:
structured as ``[channels, pulses, samples]``.
Channel order in timestamp (with ``M`` Tx channels and ``N`` Rx channels):
- [0, :, :]: ``Tx[0] → Rx[0]``
- [1, :, :]: ``Tx[0] → Rx[1]``
- [0, :, :] ``Tx[0] → Rx[0]``
- [1, :, :] ``Tx[0] → Rx[1]``
- ...
- [N-1, :, :]: ``Tx[0] → Rx[N-1]``
- [N, :, :]: ``Tx[1] → Rx[0]``
- [N-1, :, :] ``Tx[0] → Rx[N-1]``
- [N, :, :] ``Tx[1] → Rx[0]``
- ...
- [MN-1, :, :]: ``Tx[M-1] → Rx[N-1]``
- [M·N-1, :, :] ``Tx[M-1] → Rx[N-1]``
:ivar dict sample_prop:
Sample-related properties:
Expand Down
14 changes: 7 additions & 7 deletions src/radarsimpy/simulator_radar.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,16 @@ cpdef sim_radar(radar, targets, frame_time=0, density=1, level=None, log_path=No
- **baseband** (*numpy.ndarray*): Time-domain baseband data with shape ``[channels/frames, pulses, samples]``.
The channel/frame order is as follows (with ``K`` frames, ``M`` Tx channels and ``N`` Rx channels):
- [0, :, :]: ``Frame[0] → Tx[0] → Rx[0]``
- [1, :, :]: ``Frame[0] → Tx[0] → Rx[1]``
- [0, :, :] ``Frame[0] → Tx[0] → Rx[0]``
- [1, :, :] ``Frame[0] → Tx[0] → Rx[1]``
- ...
- [N-1, :, :]: ``Frame[0] → Tx[0] → Rx[N-1]``
- [N, :, :]: ``Frame[0] → Tx[1] → Rx[0]``
- [N-1, :, :] ``Frame[0] → Tx[0] → Rx[N-1]``
- [N, :, :] ``Frame[0] → Tx[1] → Rx[0]``
- ...
- [MN-1, :, :]: ``Frame[0] → Tx[M-1] → Rx[N-1]``
- [MN, :, :]: ``Frame[1] → Tx[0] → Rx[0]``
- [M·N-1, :, :] ``Frame[0] → Tx[M-1] → Rx[N-1]``
- [M·N, :, :] ``Frame[1] → Tx[0] → Rx[0]``
- ...
- [KMN-1, :, :]: ``Frame[K-1] → Tx[M-1] → Rx[N-1]``
- [K·M·N-1, :, :] ``Frame[K-1] → Tx[M-1] → Rx[N-1]``
- **noise** (*numpy.ndarray*): Time-domain noise data with the same shape and order as `baseband`.
- **interference** (*numpy.ndarray*): Time-domain interference data (if applicable), with the same shape and order as `baseband`.
Expand Down

0 comments on commit 1b39aab

Please sign in to comment.