Least-squares migration (LSM) images the subsurface through an inversion process and seeks the reflectivity model that best explains the measured data.