I also have a small example that starts from both the raw dwi and the cfa for faster computation. The fact that it starts from the dwi is merely a relic of the old script I was relying on. I can easily switch it to accept a tensormodel instead.

It also let's you use the cfa, this is the second function in the file. This way you can more easily use it in an external call, but it's true that they are the same. The function from the dwi is mostly a convenience, so we need to see if we remove it (I don't really care, it's just convenient like I said), but it saves you some small stuff.