# Hacking axisymmetric DKI into DIPY Diffusion Weighted MRI (dMRI) is a cool technology that has improved our understanding of brain microstructure and disease. In research, there are multiple approaches to model microstructure from dMRI data. For example, Diffusion Kurtosis Imaging (DKI) calculates quantitative metrics that potentially explain the brain's complex microstructural configuration. Here at Western, members of the CFMM have developed improvements for DKI making it more robust to noise while also reducing their acquisition time in the MRI scanner. However, these implementations were done on a closed platform (Matlab). This project aims to disseminate open science practices and research done here at Western, integrating these developments into the open source DIPY ecosystem (Python). We hope to give back powerful tools to the neuroscience community to tackle complex questions with dMRI. **Skills for project:** Familiarity with matlab, python, git, dMRI... But not really, everyone is welcome. If you are interested in any of these topics you can join. Skill level doesn't matter. ### Overall plan #### Day 1 1. Introduction. Hands on on `nii2kurt.m` and DIPY DKI fitting. 2. Undestand how `nii2kurt.m` operates. Identify the axysimmetric DKI fitting. 3. Translate the `nii2kurt.m` axisymmetric DKI fitting algorithm from MATLAB to Python. [Day 1 Git Repository](https://github.com/RicardoRios46/axdki) #### Day 2 4. Integrate implementation into DIPY following the existing class architecture. 5. Validate outputs against the MATLAB reference implementation. 6. Provide tests and a tutorial notebook for the DIPY community. [Day 2 Git Repository](https://github.com/RicardoRios46/dipy/tree/axdki) ### Code to Port - **Source (MATLAB):** [`nii2kurt.m` in MatMRI](https://gitlab.com/cfmm/matlab/matmri/-/blob/master/dMRI/nii2kurt.m) - **Target (Python):** Mirror the structure of [`dipy/reconst/dki.py`](https://github.com/dipy/dipy/blob/master/dipy/reconst/dki.py) and [`dipy/reconst/msdki.py`](https://github.com/dipy/dipy/blob/master/dipy/reconst/msdki.py) ## Relevant links: - [Project repository](https://github.com/RicardoRios46/axdki) - [matMRI](https://gitlab.com/cfmm/matlab/matmri) (Matlab package where the method was originally implemented in function nii2kurt.m): - [Dipy](https://dipy.org/). Python ecosystem for models fitting and general proccessing of dMRI data. - Dipy [devolpers documentation](https://docs.dipy.org/stable/devel/index.html#development)