QTrajectory¶
Import in python using from mcutils.scripts.MDE.btensor import QTrajectory
Documentation
-
class
mcutils.scripts.MDE.btensor.
QTrajectory
(gradients, times=None)[source]¶ Describes a Q-space trajectory
-
__init__
(gradients, times=None)[source]¶ Produces a Q-space trajectory out of N parts
- Parameters
gradients – N (M_n, 3) arrays of the gradients sequences
times – (N + (N-1)) timings for the gradient waveforms and the pauses
Methods
btensor
()N (M_n, 3, 3) arrays with the b-tensor trajectory
plot
(target[, axes])Plots the target in RGB
qvec
()N (M_n, 3) arrays with the q-vector
Attributes
n_parts
-