API References#

Core#

Core sequence representation.

pulserver.Sequence

Intermediate representation of a Pulseq sequence.

pulserver.Opts

System limits of an MR scanner.

Blocks#

Subroutines for the generation of sequence blocks, e.g., preparation modules, rf pulses, phase encoding, readout.

RF Pulses#

Non-adiabatic RF pulses blocks, including both the RF events and (for spatially-selective pulses), the accompanying gradient event.

pulserver.blocks.make_hard_pulse

Create a block (RECT or hard) pulse.

pulserver.blocks.make_slr_pulse

Creates a radio-frequency SLR pulse event using the sigpy rf pulse library.

pulserver.blocks.make_spsp_pulse

Design a spectral-spatial RF pulse.

Readout#

Readout blocks, including both the gradient (either trapezoidal or arbitrary, e.g., for spiral imaging), and the accompanying adc events.

pulserver.blocks.make_line_readout

Prepare line readout for Cartesian, EPI or Radial imaging.

pulserver.blocks.make_spiral_readout

Prepare spiral readout.

Phase Encoding#

Phase encoding blocks, including phase blips for EPI sampling.

pulserver.blocks.make_phase_encoding

Prepare phase encoding gradient for a given resolution.

Miscellaneous#

Miscellaneous blocks such as gradient spoiling.

pulserver.blocks.make_spoiler_gradient

Prepare spoiler gradient with given dephasing across the given spatial length.