channel_drives

Contents

channel_drives#

pulserver.ir.channel_drives()[source]#

Return the largest drive each transmit channel receives in the scan, or in a prescan.

A drive is the RF amplitude times the channel’s waveform peak, times the channel’s shim magnitude under a shim; a sequence holding any parallel-transmit RF plays a single waveform with no shim on every channel. Without prescan, over every block of the scan; with it, over what that prescan plays: a prescan-only subsequence it plays first, then the calibration up to the instance completing its readouts. A prescan drives every channel as hard as the scan where no entry of channel_drives(path, prescan) is below channel_drives(path).

Parameters:
  • seq_path (Path | str) – The first file of the chain; the cache is the file beside it.

  • prescan (Prescan, default=None) – The prescan to read the drives of; None reads the scan’s.

  • cache_ext (str, default='.pseg') – Extension of the cache, dot included.

Returns:

Per transmit channel, the largest drive in Hz; one entry without parallel-transmit RF.

Return type:

numpy.ndarray