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.

Attributes