QMRITools`GradientTools`
QMRITools`GradientTools`

FinalGrads

FinalGrads[grtxt,{int,intn},{rand,order}] finalizes the gradient txt file. grtxt is the output from the function ConvertGrads, which convert the grad to txt format. int is True or False, if set to True it interleaves b=0 gradients every intn directions. rand indicates if the gradients need to be randomized, for this it uses the order which is the output of FindOrder.