Console.scan#
- Console.scan()[source]#
Scan a stored design on the exam’s phantom; return the reconstruction’s status.
emitreceives the scan clock after each span played, as{"clock": s, "duration": s}, then the reconstruction’s images as DICOM,{"dicom": base64, "name": file name}, converting those it returns as MRD, and its texts as{"text": ...}. Withsound, each clock also carries the span’s sound assound, base64 of 16-bit little-endian stereo samples atrateHz. At a speed, the scan is simulated ahead of its clock, and until the clock startsemitreceives{"preparing": s}about twice a second, with the wall-clock time left before it does, ornullbefore there is an estimate. The status is 1 when a text reports a refused or failed series, or when the scan is cancelled.The Fourier engine plays a scan on the phantom’s tissue at
spacing, sampled once an exam, where its excitation pulses excite it.reconnames the reconstruction plugin. Without it, a design of a shipped scanner sequence is reconstructed with the shipped reconstruction paired with it inpulserver._zoo.ZOO_PAIRS. A console that reconstructs nothing ignores it.- Raises:
ValueError – If the console reconstructs,
reconisNoneand the design is not of a shipped scanner sequence, as an imported design is not.