Download Prebuilt Module
Quote for Source Code
What’s New?
🧩 One module for CPU and GPU
Until now you had to pick between a CPU package and a GPU package. From v15.6.0 the Windows and Linux packages are CUDA builds that fall back to the CPU on their own, so the same install works on a laptop without a GPU and on a workstation with one. To make that clear, the packages are now named *_CPU_GPU instead of *_GPU.
You also no longer need the CUDA Toolkit installed. The CUDA runtime is linked statically, so a recent NVIDIA driver is enough for GPU runs.
Two smaller things came with this:
gpu_available()now returnsFalsefor cards the module wasn’t built for, such as Pascal or Volta GPUs with the CUDA 13 build. Before, it saidTrueand the simulation then failed.- CPU runs of the CUDA build used to be up to 1.4x slower than a CPU-only build. That gap is gone.
🐧 Linux ARM64
Since v15.5.0 there are packages for Ubuntu 22.04, 24.04 and 26.04 on ARM64. In v15.6.0 they get the same GPU/CPU fallback as the x86-64 packages.
⚡ Faster simulation
v15.5.0 moved most of the math to single precision. Range, delay and phase still use double precision, because that is where precision matters. On our RTX 3050 laptop, the baseband step of a mesh simulation runs about 4x faster on the GPU. Point-target and interference simulations are 1.1x to 2.6x faster on the GPU and 1.05x to 4.4x faster on the CPU.
Interference simulation on the CPU was single-threaded until now; it now uses all cores.
The trade-off is small. Mesh results move by less than −113 dBc, and point-target and interference results by less than −145 dBc.
🔁 Back propagation, redone
With back_propagating=True, direct and back-propagated returns are now computed in a single pass. Each back-propagated return is checked against the surfaces it bounces off, so blocked paths are dropped. This also fixes multi-bounce returns that showed up too close. For example, with two plates 30 m and 20 m from the radar, a return that belongs at 50 m used to appear at 40 m. If you don’t use back propagation, your results are unchanged.
🎯 Bug fixes
A few of these could quietly give you wrong results:
- In pulsed radar, a target beyond the unambiguous range could produce a ghost return with a random amplitude.
- Waveform modulation started one sample early, so a 21-sample pulse came out 22 samples long.
- With some pulse lengths (41, 47, 55 samples, …) the first sample of a pulse was wrong.
- Mesh simulation on the GPU crashed when phase noise was enabled. This was a regression in v15.4.0.
sim_radar also used to return an incomplete result when a scene produced more scattering points than it could store. It now raises an error and tells you what to change.
📚 Documentation
The User Guide has grown a lot. It has new pages on the system model, transmitter, receiver and mutual interference, plus sections on pulsed waveforms and on simultaneous transmit channels. We also rewrote the coordinate systems page and redrew all the figures. In v15.6.0 we went through the whole guide again to fix wording and errors.
Platform changes
- Python 3.11 or newer is required. Python 3.10 reached end of life in October, and some dependencies have stopped releasing security fixes for it.
- We no longer build packages for Intel Macs. Apple Silicon is still fully supported.
Changelog Summary
v15.6.0
Changed
- One CUDA-enabled module on Windows and Linux that falls back to the CPU. Packages are renamed from
*_GPUto*_CPU_GPU. - The CUDA runtime is linked statically; the CUDA Toolkit is no longer required.
gpu_available()returnsFalsefor unsupported GPUs.- CPU runs of the CUDA build are up to 1.4x faster.
- User Guide revised throughout.
Removed
- Python 3.10.
- Intel Mac packages.
v15.5.0
Added
- Linux ARM64 packages for Ubuntu 22.04, 24.04 and 26.04.
- An error (
[ERROR_PO_LUT_OVERFLOW]) when a scene has more scattering points than can be stored. radarsimpy.lib.np_float, the NumPy dtype matching the module’s precision.RADARSIMX_DEVICE_PARITY, a build option for source builds that makes GPU results match the CPU exactly.- User Guide pages on the system model, transmitter, receiver and mutual interference.
Changed
- Mixed-precision math: about 4x faster mesh baseband on the GPU, and faster point-target and interference simulation.
- Multi-threaded interference simulation on the CPU.
- Back propagation computes direct and back-propagated returns in one pass.
ray_filtercounts every reflection on the path, including the way back.
Fixed
- Back-propagated multi-bounce returns at too short a range.
- Ghost returns from targets beyond the unambiguous range in pulsed radar.
- Waveform modulation applied one sample early.
- Wrong first sample for some pulse lengths.
- CUDA error in GPU mesh simulation with phase noise.
- Documentation errors about simultaneous transmit channels,
thetaandpitch, andmod_tspacing.