Spectroscopic imaging with prospective motion correction and retrospective phase correction | Synapse