How to replace Carla's Radar Sensor with a different Radar Sensor

Can I replace Carla’s Radar Sensor with a different Radar Sensor (different math equations)? Have anyone tried this ?