preprocessing workflow for adjoint tomography