mri.py