Chunk

Contents

Chunk#

class pulserver.virtual.Chunk[source]#

Bases: object

A span of a virtual scan between two block boundaries.

Attributes:
  • start, stop – Its bounds, in s of scan time.

  • readouts (tuple[numpy.ndarray, …]) – What each coil receives in the readouts of its blocks, in play order, as simulate() returns them.

  • sound (numpy.ndarray) – (2, n) stereo audio of the gradients it plays, sample k of the scan at k / sample_rate s; (2, 0) without sound.

Attributes