some messing to get ripley data in a numpy array format that is easy to save