unravel.stream
Created on Wed Aug 16 11:25:30 2023
@author: DELINTE Nicolas
Functions
|
Sets the start and end point of a streamline with arbitrary rules. |
|
Return the streamline with the most density, subsampled into a defined number of nodes. |
|
The start is assumed to be the lowest position along the last axis. |
|
|
|
Create a mask containing the subdivisions of a tract along its mean trajectory. |
|
|
|
Removes streamlines that are outliers for more than half (default) of the bundle trajectory based on the distance to the mean trajectory. |
|
TODO: speed up with something along the lines of 'streams=streams[idx]' |
|
Slightly smooth streamlines. |