3D echo-planar imaging

3D echo-planar imaging#

Family:

Echo-planar imaging

Dimensionality:

3D, slab-selective

Sampling:

Cartesian, skipped-CAIPI when undersampled

Readout:

One blipped echo train per (shot, shell)

3D gradient-echo EPI: one train per (shot, shell), skipped-CAIPI sampled.

Prescription#

pypulseqpp.sequences.epi3D_sequence()#

3D gradient-echo EPI: one train per (shot, shell), skipped-CAIPI sampled.

The views sampled form a CAIPIRINHA lattice holding the centre of k-space: line y is read when (y - n_y // 2) % ry == 0, at the partitions z with (z - n_z // 2 - d * j) % rz == 0, j being the line’s lattice index and d the shift caipi_shift() picks. A shell is rz consecutive partitions, and each of its lines holds one lattice partition. Shot s of a shell reads every n_shots-th lattice line from the s-th, blipping to that line’s partition (skipped-CAIPI, Stirnberg and Stöcker, Magn Reson Med 2021, doi:10.1002/mrm.28486); one shot per shell is blipped-CAIPI. A volume is every shot of every shell, shots outer and shells centre-out inner.

With phase_reference, the last dummy shot (the FLEET calibration’s dummy shot) is a reference train for odd/even phase correction: the shot’s own train with every phase- and partition-encode prewinder, blip and rewinder at zero, its lines acquired (PHASECORR). Every train line carries its position in the train in ECHO_COUNTER, which matches an imaging line to the reference line of the same echo. A scan without dummy shots plays one for the reference. Each shot can also read navigator_lines centre lines without blips (NAV) before its train, after one unsampled lobe that lets the read axis settle. Every line carries REV for its read polarity, and shots are delayed by successive fractions of the echo spacing so the echo time grows smoothly across the lines; te is the echo time of the centre line. Acquisitions carry LIN, PAR, SEG (the shot) and REP.

Two prescans are linked ahead of the imaging: the calibration, when undersampled, of the central n_acs_y x n_acs_z rectangle (REF) at CALIBRATION_FLIP_DEG; and the reference, one volume with the phase encode reversed (SET = 1), for distortion correction. The FLEET calibration (Polimeni et al., Magn Reson Med 2016, doi:10.1002/mrm.25628) reads the lines of each partition in n_shots * ry interleaved EPI shots, which step as far per echo spacing as an imaging shot, with its read lobe, navigator, blip and echo time, so the calibration is distorted as the imaging is. A partition’s shots follow one another, forward (SET = 0) and then reversed (SET = 1), after FLEET_DUMMY_SHOTS unsampled ones that open the calibration. The gradient-echo calibration reads one view per excitation, undistorted.

Parameters:
  • system (pypulseqpp.Opts, default=None) – System limits, held under the module’s MAX_GRAD (80 mT/m) and MAX_SLEW (200 T/m/s). None is pypulseqpp.Opts().

  • fov_x (float, default=0.22) – Field of view along the readout (m).

  • fov_y (float, default=0.22) – Field of view along the phase encode (m).

  • fov_z (float, default=0.096) – Field of view along the partition encode (m). The slab excited is fov_z thick.

  • n_x (int, default=128) – Matrix size along the readout.

  • n_y (int, default=128) – Matrix size along the phase encode.

  • n_z (int, default=32) – Matrix size along the partition encode.

  • flip_angle_deg (float, default=20.0) – Excitation flip angle (degrees) of the imaging and the reference; the calibration plays CALIBRATION_FLIP_DEG.

  • te (float | None, default=None) – Echo time of the centre line (s). None is as short as the train, and its navigator lines when there are any, admit.

  • tr (float | None, default=None) – Volume repetition time (s): every shot of every shell. None is as short as possible.

  • n_frames (int, default=1) – Volumes in the time series, each carrying its REP counter.

  • readout_bandwidth_hz (float, default=500000.0) – Requested receiver bandwidth (Hz).

  • ry (int, default=1) – Undersampling along the phase and the partition encode; rz is also the shell height.

  • rz (int, default=1) – Undersampling along the phase and the partition encode; rz is also the shell height.

  • partial_fourier_y (float, default=1.0) – Fraction of the phase- and partition-encode extent read, in [0.5, 1]. Truncates the lines and the shells before the centre.

  • partial_fourier_z (float, default=1.0) – Fraction of the phase- and partition-encode extent read, in [0.5, 1]. Truncates the lines and the shells before the centre.

  • n_shots (int, default=1) – Interleaved shots each shell’s lines are split into.

  • n_dummy (int | None, default=None) – Non-acquiring volumes before a time series; with one frame, non-acquiring shots. None plays as many as bring the steady state within 1 % (steady_state_dummies()).

  • excitation ({'slab', 'nonselective', 'spsp'}, default='slab') – A slab-selective SLR pulse, a hard pulse, or a slab- and water-selective spectral-spatial pulse.

  • readout_oversampling (float, default=1.0) – Minimum EPI readout oversampling factor, at least one. Additional samples preserve the requested dwell under the gradient limits.

  • n_acs_y (int, default=24) – Extent of the calibration rectangle along the phase encode; FLEET rounds it up to a whole number of lines per shot.

  • n_acs_z (int, default=16) – Extent of the calibration rectangle along the partition encode.

  • calibration ({'fleet', 'gre'}, default='fleet') – The calibration played when undersampled: FLEET, segmented EPI at the imaging train’s echo spacing, or a gradient echo per view.

  • volume_output (bool, default=False) – Play a digital output on OUTPUT_CHANNEL at the first excitation of every volume, dummy volumes included.

  • phase_reference (bool, default=False) – Acquire a blip-free reference train in a dummy shot, for odd/even phase correction.

  • navigator_lines (int | None, default=None) – Centre lines read without blips at the start of every shot, for odd/even phase correction. None is NAVIGATOR_LINES without phase_reference and none with it.

Returns:

The designed sequences in play order: the calibration when undersampled, the reference, then the scan, which is the main sequence. sequences.write writes them as files linked through NextSequence.

Return type:

list of pypulseqpp.Sequence

Raises:

ValueError – If excitation or calibration is unknown, a partial Fourier fraction is outside [0.5, 1], a count is below one, the shots cannot share the lines or the partitions hold no shell, or the TE or TR is shorter than the shots take.

Examples

>>> from pypulseqpp import sequences
>>> *prescans, seq = sequences.epi3D_sequence(n_x=32, n_y=16, n_z=4, n_dummy=0)
>>> [prescan.definitions["Name"] for prescan in prescans]
['epi_3d_reference']
>>> seq.check_timing()[0]
True
>>> seq.definitions["Matrix"], seq.definitions["Name"]
([32.0, 16.0, 4.0], 'epi_3d')

Designed and drawn#

Echo planar imaging

Echo planar imaging

3D echo-planar imaging

3D echo-planar imaging

See also#

Other echo-planar imaging sequences: epi2D_sequence.

Every shipped sequence is listed in the catalogue.