neuron_morphology.validation.radius_validation

Module Contents

Functions

validate_radius_threshold(morphology) This function validates the radius for types 1, 3, and 4
validate_extreme_taper(morphology) This function checks whether there is an extreme taper.
validate_radius_has_negative_slope_dendrite(morphology, dendrite) This function checks whether the radius for dendrite nodes decreases
slope_linear_regression_branch_order_avg_radius(orders, avg_radius) Use linear regression to find the slope of the best fit line
validate_constrictions(morphology) This function checks if the radius of basal dendrite and apical dendrite
validate(morphology)
neuron_morphology.validation.radius_validation.validate_radius_threshold(morphology)

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

neuron_morphology.validation.radius_validation.validate_extreme_taper(morphology)

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)

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

neuron_morphology.validation.radius_validation.slope_linear_regression_branch_order_avg_radius(orders, avg_radius)

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

neuron_morphology.validation.radius_validation.validate_constrictions(morphology)

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

neuron_morphology.validation.radius_validation.validate(morphology)