Viscoacoustic least-squares migration with a blockwise Hessian matrix: an effective Q approach