The weight step of the sensor_model. The real lidar (fixed) gives the observed scan.
Each virtual lidar pose ray-casts the same map for its expected scan, and is scored by how well the two match.
W = ∏ p(zk) = — · log W — · rays within σ —1/squash_factor power to keep them from becoming razor-sharp.
The field shows W over all positions at the current virtual heading: rotate θ away from truth and even the true spot dims, because heading has to match too.
The sensor model table plots each ray at (expected, observed): a good pose lands every dot on the bright zobs=zexp diagonal, a bad pose scatters them into the dark, and σ sets the ridge width.