Evaluation

Contents

Evaluation#

class pulserver.design.Evaluation[source]#

Bases: object

The outcome of SequencePlugin.evaluate() for a valid protocol.

Attributes:
  • protocol (pulserver.design._entries.Protocol) – The protocol the console shows back, holding the values the design achieves, such as the shortest echo time.

  • duration (float) – Scan time in seconds. 0.0 states no estimate and is not invalid; the reply then reports an unknown scan time.

  • info (str) – A note shown with the valid protocol. Whitespace, newlines included, is folded to single spaces on the wire.

  • rf_layout (pulserver.design._rf.RfLayout | tuple[()]) – The RF one TR of the protocol plays, from which a scanner estimates the RF of a protocol before it is designed. () or [], the default, states no estimate and is not invalid. Every control of the layout must be an entry of SequencePlugin.protocol whose value in protocol is positive, or the protocol is invalid.

  • sequence (pypulseqpp._sequence.Sequence | None) – A representative design of the protocol, such as the repetitions or the echo train the evaluation designed, in the logical frame: the ones whose gradients are the largest of the scan, such as the views at the edges of k-space, so that what is read on it bounds what the scan plays. The design service checks nerve stimulation and slew rate on it before the scan is designed, and lowers the slew rate the protocol is designed under where they exceed their limits, so that the console shows what will play. None, the default, states none: the slew rate is then lowered only when the generated design fails the check.

  • echo_spacing (float | None) – The spacing of the echoes of the train the protocol plays, in seconds, which a console shows; None, the default, states none. An EPI or FSE train states it; a gradient-echo train does not.

  • pixel_bandwidth (float | None) – The receive bandwidth across one pixel of the readout field of view, in Hz: the sampling rate over the samples that span it. None, the default, leaves a console to divide the bandwidth by the readout matrix, which only an oversampled readout needs to correct.

  • frame_time (float | None) – The time one frame of a scan of several takes, in seconds: the volume TR of a time series, the frame of a cine. None, the default, states none.

Attributes