SequencerTiming#
- class pulserver.ir.SequencerTiming[source]#
Bases:
objectHow a playout’s sequencer plays the segment instances of a scan.
A property of the playout, not of the sequence: the C library’s
pulseg_sequencer_timing. The sequencer takesgap_usafter every segment instance, in no block, and plays an instance that is not a pure delaytail_uspast its blocks. A pure delay that waits for no trigger gives that time back, playing a shorter wait but never one undermin_wait_us, so the scan keeps the time its file states wherever such a delay follows;played_time()gives what a scan plays.With
quiet_margin_usat 0 or more the sequencer also ends an instance that is not a pure delay inside its quiet tail, the time from its last event to its end: earlier by that tail lessquiet_margin_us, on the raster, by at mostgap_usplustail_us. A segment that ends on at least that much silence then plays exactly its blocks. An RF pulse counts as an event untilrf_tail_usafter it ends and a readout untiladc_tail_usafter its last sample, the time the playout keeps busy after either.- Attributes:
gap_us (int) – Time between two segment instances, in µs.
tail_us (int) – Time an instance that is not a pure delay plays past its blocks, in µs.
min_wait_us (int) – Shortest wait a pure delay plays, in µs.
raster_us (int) – Raster a wait is played on, in µs.
rf_tail_us, adc_tail_us – Time the playout keeps busy after an RF pulse and after a readout, in µs.
quiet_margin_us (int) – Quiet tail an instance keeps when it ends early, in µs; negative, the default, when instances are not ended early.
- Raises:
ValueError – If a time is negative or the raster is not positive.
Methods
Return the timing as the extension takes it, in the order C declares it. |
Attributes
Whether the sequencer ends an instance early inside its quiet tail. |
|