neuron_morphology.validation.radius_validation module

neuron_morphology.validation.radius_validation.slope_linear_regression_branch_order_avg_radius(orders, avg_radius)[source]

Use linear regression to find the slope of the best fit line

neuron_morphology.validation.radius_validation.validate(morphology)[source]
neuron_morphology.validation.radius_validation.validate_constrictions(morphology)[source]

This function checks if the radius of basal dendrite and apical dendrite nodes is smaller 2.0px

neuron_morphology.validation.radius_validation.validate_extreme_taper(morphology)[source]

This function checks whether there is an extreme taper. Extreme taper occurs when for each segment, the average radius of the first two nodes is more than two times the average radius of the last two nodes.

Note: This tests is limited to segments of at lease 8 nodes.
neuron_morphology.validation.radius_validation.validate_radius_has_negative_slope_dendrite(morphology, dendrite)[source]

This function checks whether the radius for dendrite nodes decreases when you are going away from the soma.

neuron_morphology.validation.radius_validation.validate_radius_threshold(morphology)[source]

This function validates the radius for types 1, 3, and 4