Sentinel-1 SM raw SAR data focusing

Does anyone know how to focus Sentinel-1 SM raw SAR data? I have downed raw Sentinel-1 data from the website and want to focus it by using Matlab or Python. Many thanks if anyone can help me.

It is a complex process, see: