neuron_morphology.validation.type_validation

Module Contents

Functions

validate_count_node_parent(morphology, node_type, parent_type, expected_count) This function validates the number of nodes that have a specific type of parent
validate_number_of_soma_nodes(morphology) This function validates the number of type 1 nodes
validate_expected_types(morphology) This function validates the expected types of the nodes
valid_dendrite_parent(morphology, node, valid_parent_type)
validate_node_parent(morphology) This function validates the type of parent node for a specific type of child node
validate_immediate_children_of_soma_cannot_branch(morphology) This function validates that immediate children of soma cannot branch
validate_multiple_axon_initiation_points(morphology) This function validates that the parent of axon (either type 1 or 3) only happens once
validate(morphology)
neuron_morphology.validation.type_validation.valid_types
neuron_morphology.validation.type_validation.validate_count_node_parent(morphology, node_type, parent_type, expected_count)

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

neuron_morphology.validation.type_validation.validate_number_of_soma_nodes(morphology)

This function validates the number of type 1 nodes

neuron_morphology.validation.type_validation.validate_expected_types(morphology)

This function validates the expected types of the nodes

neuron_morphology.validation.type_validation.valid_dendrite_parent(morphology, node, valid_parent_type)
neuron_morphology.validation.type_validation.validate_node_parent(morphology)

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

neuron_morphology.validation.type_validation.validate_immediate_children_of_soma_cannot_branch(morphology)

This function validates that immediate children of soma cannot branch

neuron_morphology.validation.type_validation.validate_multiple_axon_initiation_points(morphology)

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

neuron_morphology.validation.type_validation.validate(morphology)