neuron_morphology.validation.type_validation module

neuron_morphology.validation.type_validation.valid_dendrite_parent(morphology, node, valid_parent_type)[source]
neuron_morphology.validation.type_validation.validate(morphology)[source]
neuron_morphology.validation.type_validation.validate_count_node_parent(morphology, node_type, parent_type, expected_count)[source]

This function validates the number of nodes that have a specific type of parent

neuron_morphology.validation.type_validation.validate_expected_types(morphology)[source]

This function validates the expected types of the nodes

neuron_morphology.validation.type_validation.validate_immediate_children_of_soma_cannot_branch(morphology)[source]

This function validates that immediate children of soma cannot branch

neuron_morphology.validation.type_validation.validate_multiple_axon_initiation_points(morphology)[source]

This function validates that the parent of axon (either type 1 or 3) only happens once

neuron_morphology.validation.type_validation.validate_node_parent(morphology)[source]

This function validates the type of parent node for a specific type of child node

neuron_morphology.validation.type_validation.validate_number_of_soma_nodes(morphology)[source]

This function validates the number of type 1 nodes