While reconstructing neuronal trees sudden shifts
in the z-axis may occur.
This function automatically corrects these effects
in a given input tree intree.
Any jump in the z-axis > tZ,
a threshold difference in z,
is subtracted from the entire sub-tree.
Before applying this function,
check that this is really the adequate way to process
these jumps in z.
Example: After introducing a fake jump in the z values of the sub-tree of node #5, „zcorr_tree“ is applied
>> tree = sample2_tree; isub = find (sub_tree (tree, 5));
>> tree.Z(isub) = tree.Z(isub) – 20;
>> zcorr_tree (sample2_tree, 15)
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License