natverse / nat

NeuroAnatomy Toolbox: An R package for the (3D) visualisation and analysis of biological image data, especially tracings of single neurons.
https://natverse.org/nat/
64 stars 28 forks source link

optimise stitching neurons function #435

Open SridharJagannathan opened 4 years ago

SridharJagannathan commented 4 years ago

Consider optimising thestitch_neurons_mst function by computing the mst only on the fragmented nodes like below: https://github.com/connectome-neuprint/neuprint-python/blob/b4dfd061bb12bf8d4834b9db05727b44cbd29c59/neuprint/utils.py#L469