Skip to main content

tensor_maps

Function tensor_maps 

Source
pub fn tensor_maps(tensor: &SusceptibilityTensor, mask: &[u8]) -> TensorMaps
Expand description

Eigen-decompose the tensor and derive MMS, MSA and the principal eigenvector.

Only voxels inside mask are decomposed; everything else is left zero.