Gradient scaling of dirgen output

I agree with @bjeurissen : this is correct. I double checked the example vector you provided, and it also has (correctly) an L2 norm of 1.

See for more information also this quote (and the full post that it links to):

and this one just to confirm (comes from the same original thread):

I’ve never had problems creating multi-shell protocols for Siemens scanners in this fashion, always using (combinations of) direction sets from dirgen… Maybe copy paste the text of your problematic scheme here, so we could have a look what could’ve gone wrong.