unravel.core
Created on Fri Mar 11 11:05:25 2022
@author: DELINTE Nicolas
Functions
|
Computes the angle difference between n vectors. |
|
|
|
Computes the relative contributions of the segments in vf to vs using angular weighting. |
|
Computes the relative contributions of the segments in vf to vs using the closest-fixel-only approach. |
|
Computes the voxels containing a segment (defined by the start and finish) and the segment length that is contained within them. |
|
Function creating a diffusion tensor from three orthogonal components. |
|
Computes the relative contribution of each fixel k based on its fraction ff in voxel (point). |
|
Get the fixel weights from a tract specified in trk_file. |
|
Get the fixel weights from a tract specified in trk_file and the tensors obtained from DIAMOND. |
|
Get the fixel weights from a tract specified in trk_file and the peaks obtained from Microsrcuture Fingerprinting. |
|
Returns a 3D volume representing the microstructure map |
|
|
|
Returns the mean value of a microstructure map using either a voxel or total segment length (tsl) weighing method. |
|
TODO: unify with get_microstructure_map and total_segment_length Outdated. |
|
Ouputs a map representing the most aligned fixel. |
|
Takes peaks, such as the ones obtained with Microstructure Fingerprinting, and return the corresponding tensor, in the format used in DIAMOND. |
|
Plots the evolution of a metric along the course of a single streamline. |
|
Plots the evolution of a metric along the course of a single streamline. |
|
Computes the relative contributions of the segments in vList to vs using relative angular weighting, which attributes less weight to fixel perpendicular to the streamline segment. |
|
(6,17,1,15) with info on 0,2,5 to (17,1,15,3) |
Takes peaks, such as the ones obtained with DIAMOND, and returns the corresponding tensor, in the format used in Microstructure Fingerprinting. |
|
|
|
|
Return a list with the position of each step of each streamline from a tractogram. |
|
|
|
Returns the distance between two voxels in multiple dimensions. |
|
Computes the voxels containing a segment (defined by the position 1 and 2) and the segment length that is contained within them. |
|
Return the weighted means and standard deviation from list of metric maps and corresponding fixel weights. |