ExamImage#
- class pulserver.recon.ExamImage[source]#
Bases:
objectAn image measured by one series and read by later series of the exam.
A calibration series stores a map with the geometry it was measured on, as
context.b1_map = ExamImage.measured(b1, context, data), and a later series reads it resampled onto its own grid withcontext.b1_map.on(context, data). The resampling uses the two geometries alone, no registration:bartorch.tools.reslice().- Attributes:
data (ndarray) –
(..., z, y, x):xthe readout,ythe phase encode,zthe partition or slice.header (str) – The MRD XML header of the series that measured it; empty offline.
geometry (dict or tuple of dict) – Where
datalies, as the fields of an MRDImageHeader:position(mm, the centre of voxeln // 2along each axis),read_dir,phase_dir,slice_dir,field_of_view(mm, read, phase, slice) andmatrix_size(read, phase, slice). One for the volume, or a tuple of one per plane alongzfor a stack of slices.
Methods
Return |
|
Return the image resampled onto the reconstruction grid of |
Attributes