Deriving flow velocity and initial concentration from Liesegang-like patterns