The present disclosure relates to a computer implemented method for providing a SAR image with attenuated sidelobes and ghost targets caused by grating lobes, left-right ambiguity observed across the radar's boresight, or a combination thereof. The present disclosure further relates to a computer program product, a computer readable storage medium comprising instructions for performing the computer implemented method, and a SAR imaging system programmed for carrying out the computer implemented method.