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 inECHO_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 readnavigator_linescentre lines without blips (NAV) before its train, after one unsampled lobe that lets the read axis settle. Every line carriesREVfor 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;teis 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 excitesmultibandslices at once and a blipped-CAIPI train encodes the band inPAR.Two prescans are linked ahead of the imaging: the
calibrationof the centraln_acs_ylines (REF) atCALIBRATION_FLIP_DEG, single band, when undersampled or multiband; and thereference, 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 inn_shots * ryinterleaved 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 afterFLEET_DUMMY_SHOTSunsampled 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) andMAX_SLEW(200 T/m/s).Noneispypulseqpp.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).
Noneis 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.
Noneis as short as possible, and puts every slice in one packet.n_frames (int, default=1) – Volumes in the time series, each carrying its
REPcounter.readout_bandwidth_hz (float, default=500000.0) – Requested receiver bandwidth (Hz).
ry (int, default=1) – Phase-encode undersampling: one line in every
ryis 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.
Noneplays 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_CHANNELat 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.
NoneisNAVIGATOR_LINESwithoutphase_referenceand none with it.
- Returns:
The designed sequences in play order: the
calibrationwhen undersampled or multiband, thereference, then the scan, which is the main sequence.sequences.writewrites them as files linked throughNextSequence.- Return type:
- Raises:
ValueError – If
partial_fourier_yis outside[0.5, 1],calibrationis unknown, a count is below one,multibanddoes not dividen_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 whenn_framesis 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#
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.