Reconstruction plugins#
The interface a reconstruction is written against, and the runtime that drives it over an MRD stream.
A plugin file defines a ReconPlugin subclass and a module-level
PLUGIN instance of it. The same hooks run over a live MRD stream in a worker
of the reconstruction proxy, over an ISMRMRD HDF5 file
(ReconPlugin.run()) and over an assembled
AcquisitionBucket (calling the instance). The plugin
reconstructs one unit of readouts at a time, as ReconData. Writing one
is described in Reconstruction plugins. The image a
ReconResult becomes takes its geometry from its unit and its values
from its array, as Raw-data enrichment and routing states. Coil
sensitivity maps, noise prewhitening and coil compression are the subject of
Calibration, noise and coil compression.
Plugin#
Object |
Description |
|---|---|
Base class for reconstruction plugins. |
|
One per-acquisition step, run before a readout is placed. |
|
Import a plugin file and return its |
Readout gadgets#
Object |
Description |
|---|---|
Zero-fill a partial echo to the full echo that is symmetric about its |
|
Whiten the channels of each readout with the stream’s noise measurement. |
|
Crop a full echo to the readout field of view of the reconstruction. |
Scan context#
Object |
Description |
|---|---|
Header, exam cache and configuration passed to every hook. |
|
Thread-safe store of artifacts shared by the series of one exam. |
|
A map one series measured, with its geometry, resampled onto a later series’ grid. |
|
Where a calibration scan leaves the off-resonance map, in Hz, for the series that follow. |
|
Where a calibration scan leaves the transmit field map, as a fraction of what was asked for. |
|
Where a calibration scan leaves the receive coil sensitivities, a |
|
Where a noise scan leaves the prewhitening of the exam, for the series that follow. |
|
The maps a context carries as attributes of itself, each its own key in the exam cache. |
Calibration#
Object |
Description |
|---|---|
Return the coil sensitivities of a unit from its calibration k-space, the stream or the exam. |
|
Receive coil sensitivity maps with the coils, prewhitening, compression and geometry they were estimated in. |
|
No source holds coil sensitivities the unit can use. |
|
Reduce the receive channels of a unit’s k-space to virtual channels. |
Buffers and results#
Object |
Description |
|---|---|
The readouts of one reconstruction unit: imaging and calibration k-space, counters and waveforms. |
|
K-space of one encoding space, filled one acquisition at a time, with the acquisition nearest the k-space centre. |
|
Image array the runtime packages as an MRD image or DICOM dataset, with the acquisition its geometry is taken from and the rescale of its DICOM pixels. |