receive_calibration_sequence#
- pulserver.ir.receive_calibration_sequence()[source]#
Return the prescan-only subsequence a prescan of the chain plays, or None.
It opens, in a parallel-transmit chain, with a tour: for every transmit channel, the RF block that drives it hardest anywhere in the chain (a single waveform with no shim drives every channel), with its blocks up to the next RF pulse, then a rest until its RF energy over its duration is the highest mean RF power of a file of the chain. A pulse is its shape and amplitude, with its shim; its phase and frequency, which RF spoiling changes from play to play, are not part of it.
Where exactly one file reads out and it repeats with the same RF amplitudes, the prescan calibrates on that file from its start after the tour, and the subsequence is the tour alone, its readouts under
NOPRESCAN, or None without pTx. So does it where its only file reads out without repeating and lasts at mostRECEIVE_CALIBRATION_WHOLE_FILE_S: the file is then one repetition played once, a single slice or a single shot, and is its own calibration as the repetition of a repeating file is. A longer such file is its own calibration too where the excitation chosen below does not start and end with every gradient at rest (REST_GRADIENT), as in a train whose blocks join on a gradient: no part of it plays apart. In a chain of several reading files, such an excitation’s blocks are widened to the nearest joins at rest either side, a frame of a balanced train whose frames rest between them. Otherwise no repetition stands for the scan, and the tour is followed by the calibration: the excitation scoring highest on the sine of its flip angle, capped at 90 degrees, times the thickness it excites, the RF bandwidth over the slice-select gradient,COVERAGEwithout one; a parallel-transmit pulse’s flip is taken relative to the 1/sqrt(N) reference drive. Its blocks up to the next excitation are playedFRAMEStimes, each after a rest ofREST, at their own amplitudes, every gradient that varies across the file’s repetitions at zero. The tour’s readouts are then acquired with the calibration’s: a pTx pulse a prescan plays without acquiring it distorts in the scan. Read from relaxed magnetization they carry at least the signal of every readout of the scan the excitation outscores: a steady state, spoiled or balanced, never exceeds the equilibrium magnetization times the sine of its flip. A winner with balanced gradients is logged.Every block is one the scan plays, at the scan’s amplitude, labels left out, so the subsequence drives no channel harder than the scan. It carries
NumGainCalibrationReadoutsand thePRESCAN_ONLYdefinition, which the conversion writes into the cache.- Parameters:
chain (Sequence[pypulseqpp.Sequence]) – The files of the chain, in play order, in the logical frame.
system (pypulseqpp.Opts) – Limits and rasters of the subsequence.
- Return type:
pypulseqpp.Sequence or None