Skip to content

Commit aa7a863

Browse files
committed
radius scaling in pulseq traj
1 parent ebc8cbb commit aa7a863

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/trajN/mlTrajFromPulseq.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,13 @@
5454
% before eliminating non-steady state shots and self navigation segs
5555
% to match the calculation with monalisa bmTraj*
5656
% scale the range to [-0.5, 0.5-1/N] --> scale up to 0.5*N*dK == 0.5*N/FoV
57-
k_trj = k_trj/max(abs(k_trj(:)))*0.5*N/FoV;
5857

58+
% compute distances from the k space center for each sampled point
59+
distances = vecnorm(k_trj, 2,1);
60+
% R: the maximum distance of the point from the trajectory in k-space to
61+
% the center
62+
R = max(distances(:));
63+
k_trj = k_trj/R*0.5*N/FoV;
5964

6065
% 9) Filter out SI projections and non steady state readouts
6166
if flagSelfNav

0 commit comments

Comments
 (0)