SequenceApp.scan_time#
- SequenceApp.scan_time()[source]#
Return the time the whole chain of prescans and main sequence plays, in seconds.
This is
durationwheninit_sequencesets it, and nothing is designed; a stated duration can include waits for a trigger, which the blocks of a file do not time. Otherwise every file of the chain is designed, aswrite()designs them, which leaves the main sequence inseq.- Returns:
The summed duration of the files of the chain, in seconds.
- Return type:
Examples
>>> from pypulseqpp import sequences >>> app = sequences.gre2D_sequence.Gre2DApp(n_x=32, n_y=16, tr=50e-3, n_dummy=0) >>> app.scan_time() 0.8 >>> round(app.design().duration()[0], 9) 0.8