You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Create a Pulseq 3D-GRE sequence with arbitrary gradient waveform designed
87
+
to follow a given k-space trajectory.
88
+
89
+
The sequence is designed to
90
+
The
91
+
92
+
Parameters
93
+
----------
94
+
trajectory : np.ndarray
95
+
The k-space trajectory as a numpy array of shape (n_shots, n_samples, 3),
96
+
where the last dimension corresponds to the x, y, and z coordinates in k-space.
97
+
TR: float
98
+
The repetition time in milliseconds (ms).
99
+
TE: float
100
+
The echo time in milliseconds (ms).
101
+
FA: float, optional, incompatible with `rf_pulse`
102
+
The flip angle in degrees (°).
103
+
TE_pos: float, optional
104
+
The relative (0-1) position of the echo time within each kspace_shot.
105
+
rf_pulse: SimpleNamespace, optional, incompatible with `FA`
106
+
A custom radio-frequency pulse object. If not provided, a block pulse with the specified flip angle and a duration of 4 ms will be created. see `pypulseq.make_block_pulse` or `pypulseq.make_arbitrary_rf` for more details.
107
+
rf_spoiling_inc: float, optional
108
+
The increment in the RF phase (in degree) for spoiling. Default is 0.0, which means no spoiling.
109
+
110
+
osf: int, optional
111
+
The oversampling factor for the ADC. Default is 1, which means no oversampling.
112
+
113
+
system : pypulseq.Opts, optional
114
+
The system options for the Pulseq sequence. Default is `pp.Opts.default`.
115
+
116
+
Notes
117
+
-----
118
+
The Sequence cycle can be summarized as follows:
119
+
1. RF pulse
120
+
2. Delay to sync TE
121
+
3. Gradients plays: The gradients consist in a prewind to the first point of the trajectory, the trajectory itself, and a rewind to the edge of k-space.
122
+
3bis. The ADC is opened on the trajectory points (ignoring the prewind and rewinds parts)
123
+
4. Gradient spoilers
124
+
5. Delay to sync the next TR
125
+
126
+
Returns
127
+
-------
128
+
pp.Sequence
129
+
A Pulseq sequence object with the specified arbitrary gradient waveform.
0 commit comments