Scan#
- class pulserver.virtual.Scan[source]#
Bases:
objectThe cache beside a sequence file acquired of a phantom’s tissue by the Fourier engine, against a scan clock.
The blocks are acquired as
FourierPlayeracquires them.- Parameters:
seq_path (Path | str) – The first file of the sequence’s chain, beside its cache.
tissue (Tissue) – The phantom’s tissue.
cache_ext (str, default='.pseg') – The extension of the cache beside each file.
rotation (np.ndarray, default=None) –
(3, 3)rotation of the prescription from logical to physical axes, a reflection included; the identity by default.centre (np.ndarray, default=None) –
(3,)the prescription’s centre along the physical axes, in m; the isocentre by default.device (str, default=None) – Where the Fourier engine runs, as
FourierPlayertakes it.motion (RigidMotion, default=None) – How the subject moves, as
FourierPlayertakes it.girf (Girf, default=None) – The gradients’ impulse response, as
FourierPlayertakes it.
Methods
Play the scan in spans of whole blocks; yield each once released. |
Attributes
The scan's duration, in s. |