get data ready for MR analysis