2D echo-planar imaging

2D echo-planar imaging#

Family:

Echo-planar imaging

Dimensionality:

2D, multi-slice

Sampling:

Cartesian

Readout:

One blipped echo train per excitation

Multi-slice 2D gradient-echo EPI: single-shot or segmented, optionally multiband.

Prescription#

pypulseqpp.sequences.epi2D_sequence()#

Multi-slice 2D gradient-echo EPI: single-shot or segmented, optionally multiband.

With phase_reference, the last dummy shot of each slice (of each FLEET slice, its dummy shot) is a reference train for odd/even phase correction: the shot’s own train with every phase-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 cycle of them 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. The trains are ramp-sampled with the blips on the read ramps. Segmented shots interleave on the phase-encode lattice, each delayed by a fraction of the echo spacing so the echo time grows smoothly across k-space; te is the echo time of the centre line.

Slices (under multiband, slice groups) are excited once per shot in packets, even ones first. With one frame, slices one TR cannot hold are dealt round-robin into packets; a time series must fit every slice in one. A multiband shot excites multiband slices at once and a blipped-CAIPI train encodes the band in PAR.

Two prescans are linked ahead of the imaging: the calibration of the central n_acs_y lines (REF) at CALIBRATION_FLIP_DEG, single band, when undersampled or multiband; 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 those lines 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. The shots of a slice follow one another after FLEET_DUMMY_SHOTS unsampled ones, forward (SET = 0) and then reversed (SET = 1), so each phase-encode polarity has its own. The gradient-echo calibration reads one line 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 and the phase encode (m).

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

  • n_x (int, default=128) – Readout matrix size.

  • n_y (int, default=128) – Phase-encode matrix size.

  • n_slices (int, default=1) – Number of slices.

  • slice_thickness (float, default=0.005) – Slice thickness (m).

  • slice_spacing (float, default=0.0) – Gap between adjacent slices (m); zero is contiguous.

  • flip_angle_deg (float, default=70.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 slice. None is as short as possible, and puts every slice in one packet.

  • 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) – Phase-encode undersampling: one line in every ry is read, the centre line among them.

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

  • n_shots (int, default=1) – Interleaved shots each volume’s phase encode is split into.

  • multiband (int, default=1) – Slices excited at once. It must divide n_slices.

  • fat_saturation (bool, default=False) – Saturate fat before every shot, at the flip fat_null_flip_deg() gives, which leaves it at zero when the shot’s excitation comes.

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

  • 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) – Phase-encode lines of the calibration; FLEET rounds them up to a whole number of lines per shot.

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

  • 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 of each slice, 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 or multiband, 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 partial_fourier_y is outside [0.5, 1], calibration is unknown, a count is below one, multiband does not divide n_slices, the shots cannot share the lines, the TE is shorter than the train admits, or the TR cannot hold one slice, or every slice when n_frames is above one.

Examples

>>> from pypulseqpp import sequences
>>> *prescans, seq = sequences.epi2D_sequence(n_x=32, n_y=16, n_dummy=0)
>>> [prescan.definitions["Name"] for prescan in prescans]
['epi_2d_reference']
>>> seq.check_timing()[0]
True
>>> seq.definitions["EPIFactor"], seq.definitions["Name"]
([16.0], 'epi_2d')

Designed and drawn#

Echo planar imaging

Echo planar imaging

2D echo-planar imaging

2D echo-planar imaging

See also#

Other echo-planar imaging sequences: epi3D_sequence.

The same sampling in another family: gre2D_sequence, gre3D_sequence, gre_multiecho2D_sequence, gre_multiecho3D_sequence, se2D_sequence, se3D_sequence, fse3D_sequence, mprage3D_sequence, bssfp2D_sequence, bssfp3D_sequence.

Every shipped sequence is listed in the catalogue.