diameter_synthesis.morph_functions

Morphology extraction functions.

Functions

add_additional_attributes(data, neurite[, ...])

From a data and a type of additional, return both within some bounds.

compute_diameter_power_relation(neurite[, ...])

Compute the Rall deviation the diameter of the segments of a tree (neurom only).

compute_sibling_ratios(neurite[, method, ...])

Compute the sibling ratios of a neurite (neurom only).

diameter_power_relation_factor(...)

Compute the reduction factor for bifurcation diameter.

get_additional_attribute(attribute_name[, ...])

Return the value of an additional attribute of a parameter, given a neurite or a section.

get_total_length(neurite)

Get total length or a neurite (morphio only).

lengths_from_origin(section)

Path lengths from first point of section (morphio only).

max_diameter(neurite[, attribute_name, bounds])

Get the max diameter of a neurite (neurom only).

min_diameter(neurite[, attribute_name, bounds])

Get the min diameter of a neurite (neurom only).

n_children_downstream(section)

Get the number of children of a section (morphio only).

partition_asymmetry_length(section)

Compute partition asymmetry with lengths (morphio).

sec_length(section)

Length of a section (morphio only).

taper(neurite, params[, attribute_name])

Get the taper rates (neurom only).

terminal_diameters(neurite[, method, ...])

Compute the terminal diameters of a neurite (neurom only).

trunk_diameter(neurite[, attribute_name, ...])

Get the trunc diameters (neurom only).

diameter_synthesis.morph_functions.add_additional_attributes(data, neurite, attribute_name=None, bounds=None)

From a data and a type of additional, return both within some bounds.

diameter_synthesis.morph_functions.compute_diameter_power_relation(neurite, method='mean', attribute_name=None, bounds=None)

Compute the Rall deviation the diameter of the segments of a tree (neurom only).

diameter_synthesis.morph_functions.compute_sibling_ratios(neurite, method='mean', attribute_name=None, bounds=None)

Compute the sibling ratios of a neurite (neurom only).

diameter_synthesis.morph_functions.diameter_power_relation_factor(diameter_power_relation, sibling_ratio)

Compute the reduction factor for bifurcation diameter.

diameter_synthesis.morph_functions.get_additional_attribute(attribute_name, neurite=None, section=None)

Return the value of an additional attribute of a parameter, given a neurite or a section.

diameter_synthesis.morph_functions.get_total_length(neurite)

Get total length or a neurite (morphio only).

diameter_synthesis.morph_functions.lengths_from_origin(section)

Path lengths from first point of section (morphio only).

diameter_synthesis.morph_functions.max_diameter(neurite, attribute_name=None, bounds=None)

Get the max diameter of a neurite (neurom only).

diameter_synthesis.morph_functions.min_diameter(neurite, attribute_name=None, bounds=None)

Get the min diameter of a neurite (neurom only).

diameter_synthesis.morph_functions.n_children_downstream(section)

Get the number of children of a section (morphio only).

diameter_synthesis.morph_functions.partition_asymmetry_length(section)

Compute partition asymmetry with lengths (morphio).

WARNING: This function is not complete, and requires to divide by total length of dendrite, which is done later in the code as we don’t have access to whole dendrite here.

diameter_synthesis.morph_functions.sec_length(section)

Length of a section (morphio only).

diameter_synthesis.morph_functions.taper(neurite, params, attribute_name=None)

Get the taper rates (neurom only).

diameter_synthesis.morph_functions.terminal_diameters(neurite, method='mean', threshold=1.0, attribute_name=None, bounds=None)

Compute the terminal diameters of a neurite (neurom only).

diameter_synthesis.morph_functions.trunk_diameter(neurite, attribute_name=None, bounds=None, method='last')

Get the trunc diameters (neurom only).