Skip to content

Troubleshooting

The window does not open

ModuleNotFoundError: No module named 'PySide6'. The plain package has no interface. Install it with pip install "radarsim[gui]".

Linux: qt.qpa.plugin: Could not load the Qt platform plugin "xcb". Qt needs a few system libraries that a minimal installation lacks. On Debian and Ubuntu:

sudo apt install libxcb-cursor0 libxkbcommon-x11-0 libegl1

Over SSH or in a container without a display, the interface cannot run. Use radarsim --headless, or set QT_QPA_PLATFORM=offscreen for the tests.

macOS: "RadarSim.app is damaged" or "cannot be opened". The application is not signed with an Apple developer certificate. Remove the quarantine flag that the browser put on the download:

xattr -dr com.apple.quarantine RadarSim.app

Windows: SmartScreen warns about an unknown publisher. For the same reason. More info → Run anyway starts it. The archive's checksum is on the release page for comparison.

The 3D tab shows a note instead of a scene

The view needs OpenGL. Remote desktops and some virtual machines do not provide it. Everything else works without it.

The display is slow

View → Performance → Light fixes 30 frames a second and turns off antialiasing and the afterglow. The range–Doppler view is the most expensive part of a step: leave it off unless you are looking at it. With very many objects the tracker takes most of the time; View → Frame statistics shows how long a step takes.

The simulation itself does not slow down with the display: simulated time advances in fixed steps, and a slow screen only shows fewer of them.

A scenario does not load, or loads with warnings

The message names the key. An unknown key is a warning and is ignored, with a suggestion when it looks like a typo. A value the models cannot use is an error: a surface model outside its range of validity, a phase code that does not fit the pulse, two radars with the same name.

From the command line the warnings go to standard error:

radarsim --headless my_scenario.yaml --duration 1

Nothing is detected

Select the target and read the inspector, or write the looks to a file (--out looks.csv) and look at the columns:

What you see What it means
no looks at all the beam never reaches the target: a sector scan that does not cover it, or an elevation outside the antenna's coverage
below_horizon 4.12 (√h_radar + √h_target) km is shorter than the range
terrain_masked a ridge is in the way; the RHI shows it
large eclipsing_loss_db the echo returns while the transmitter is on
range_trip above 0 the target is beyond \(c/2f_p\) and shows at the folded range
mti_response_db strongly negative a blind speed of the canceller, or no radial velocity
large surface_clutter_loss_db clutter; try the canceller
large jammer_loss_db jamming
none of these and a low snr_db the radar equation: the target is too small or too far

Results differ from 4.x

They should. Version 5 added the horizon, range ambiguity, the hits per dwell from the scan, beam-shape loss and noise plots to every run. The changelog lists what changed and which keys bring back the old behaviour where there is one.

Two runs give different numbers

Without a seed every run draws new noise. Give --seed, set engine.seed, or put seed: in the scenario.

Recording fails with Recordings need the h5py package

Recordings need h5py: pip install "radarsim[recording]". The desktop installation includes it.

Something else

Open an issue at https://github.com/SpaceEngineerSS/RadarSim/issues with the scenario file, the seed, the version (radarsim --version) and what you expected. If a model disagrees with a book or a paper, say which: that is the kind of report that gets fixed first.