Skip to content
Snippets Groups Projects
Verified Commit d50728ca authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

bval is trace of bmat

parent 88d8b6a0
No related branches found
No related tags found
No related merge requests found
......@@ -177,6 +177,6 @@ Only gradients active while the spins are in the transverse plane are considered
By default gradients that are affected by user-provided `scale` or `rotate` parameters (e.g., bvals/bvecs) are ignored.
You can set `scale` and/or `rotate` to specific symbols to only consider gradients that are affected by speficic `scale`/`rotate` parameters
"""
bval(pathway::Pathway; scale=nothing, rotate=nothing) = norm(bmat(pathway; scale, rotate))
bval(pathway::Pathway; scale=nothing, rotate=nothing) = tr(bmat(pathway; scale, rotate))
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment