nifreeze.data.dmri module¶
Representing data in hard-disk and memory.
- class nifreeze.data.dmri.DWI(self, dataobj=None, affine=None, brainmask=None, bzero=None, gradients=None, em_affines=None, fieldmap=None, filepath=NOTHING) None [source]¶
Bases:
object
Data representation structure for dMRI data.
Method generated by attrs for class DWI.
- 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.