AthenaEPI / dmipy

The open source toolbox for reproducible diffusion MRI-based microstructure estimation
MIT License
96 stars 30 forks source link

Invariants PR #44

Closed maurozucchelli closed 5 years ago

maurozucchelli commented 5 years ago

This is the invariants pull request implementing the soon to be published rotation invariants feature for dMRI data.

The goal of this function is to have SH coefficients (as a multidimensional numpy array) and the list of desired invariants as input and it returns the invariants.

Accessory function computes SH coefficients from data with Laplace-Beltrami regularization and another function calculates the list of algebraically independent invariants given the SH order.

rutgerfick commented 5 years ago

Awesome work @maurozucchelli! The code is already in quite good shape!

I will add specific comments in the code, but as some general suggestions:

I'm very excited for this PR! Let's get this baby in perfect shape!