Magnetomotive dynamics of magnetic particles for optical imaging contrast and elastography