ccf_streamlines.metrics.measure_streamline_layer_thicknesses#
- ccf_streamlines.metrics.measure_streamline_layer_thicknesses(layer_volume, paths, resolution)#
Measure the start, end, and thickness of layers
- Parameters
layer_volume (array) – 3D volume with annotated layers
paths (array) – Streamline paths
resolution (tuple) – 3-tuple of voxel size in x, y, z
- Returns
thicknesses – Dictionary keyed on layers with start, end, and thickness of layers
- Return type
dict