eddymotion.data.dmri module¶
Representing data in hard-disk and memory.
- class eddymotion.data.dmri.DWI(dataobj=None, affine=None, brainmask=None, bzero=None, gradients=None, em_affines=None, fieldmap=None, filepath=NOTHING)[source]¶
Bases:
object
Data representation structure for dMRI data.
- affine¶
Best affine for RAS-to-voxel conversion of coordinates (NIfTI header).
- brainmask¶
A boolean ndarray object containing a corresponding brainmask.
- bzero¶
A b=0 reference map, preferably obtained by some smart averaging. If the \(B_0\) fieldmap is set, this b=0 reference map should also be unwarped.
- dataobj¶
A numpy ndarray object for the data array, without b=0 volumes.
- em_affines¶
List of
nitransforms.linear.Affine
objects that bring DWIs (i.e., no b=0) into alignment.
- fieldmap¶
A 3D displacements field to unwarp susceptibility distortions.
- gradients¶
A 2D numpy array of the gradient table in RAS+B format.