Sequence.waveforms#
- Sequence.waveforms()[source]#
Return gradient corners as time (s) over amplitude (Hz/m), per axis.
- Parameters:
- Returns:
One
(2, n)array of time over amplitude per axis, empty where an axis plays nothing, then the RF channel when asked for; the first value waveforms_and_times returns.- Return type:
list[NDArray]
Examples
>>> import pypulseqpp as pp >>> seq = pp.Sequence(pp.Opts()) >>> seq.add_block(pp.make_trapezoid("x", flat_area=1000, flat_time=3.2e-3)) 1 >>> gx, gy, gz = seq.waveforms() >>> gx.shape, gy.shape ((2, 4), (2, 0))