beamformed_range_azimuth = rf.compute_range_azimuth(raw_radar)
ca_cfar_detections = range_azimuth_ca_cfar(beamformed_range_azimuth)
plt.figure(figsize=(5, 8))
plt.imshow(np.log(np.abs(beamformed_range_azimuth)))
plt.scatter(np.where(ca_cfar_detections == 1)[1], np.where(ca_cfar_detections == 1)[0], marker='x', c='r')
plt.show()
os_cfar_detections = range_azimuth_os_cfar(beamformed_range_azimuth)
plt.figure(figsize=(5, 8))
plt.imshow(np.log(np.abs(beamformed_range_azimuth)))
plt.scatter(np.where(os_cfar_detections == 1)[1], np.where(os_cfar_detections == 1)[0], marker='x', c='r')
plt.show()