calculate speed from raw data activation level contours