:mod:`neuron_morphology.validation.radius_validation` ===================================================== .. py:module:: neuron_morphology.validation.radius_validation Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: neuron_morphology.validation.radius_validation.validate_radius_threshold neuron_morphology.validation.radius_validation.validate_extreme_taper neuron_morphology.validation.radius_validation.validate_radius_has_negative_slope_dendrite neuron_morphology.validation.radius_validation.slope_linear_regression_branch_order_avg_radius neuron_morphology.validation.radius_validation.validate_constrictions neuron_morphology.validation.radius_validation.validate .. function:: validate_radius_threshold(morphology) This function validates the radius for types 1, 3, and 4 .. !! processed by numpydoc !! .. function:: 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. .. !! processed by numpydoc !! .. function:: 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. .. !! processed by numpydoc !! .. function:: slope_linear_regression_branch_order_avg_radius(orders, avg_radius) Use linear regression to find the slope of the best fit line .. !! processed by numpydoc !! .. function:: validate_constrictions(morphology) This function checks if the radius of basal dendrite and apical dendrite nodes is smaller 2.0px .. !! processed by numpydoc !! .. function:: validate(morphology)