neurots.utils

NeuroTS utils used by multiple tools.

Functions

convert_from_legacy_neurite_type(data)

Convert legacy neurite type names, basal -> basal_dendrite and apical -> apical_dendrite.

format_values(obj[, decimals])

Format values of an object recursively.

neurite_type_warning(key)

Print a deprecation warning for old neurite_type key.

Exceptions

NeuroTSError

Raises NeuroTS error.

exception neurots.utils.NeuroTSError

Bases: Exception

Raises NeuroTS error.

neurots.utils.convert_from_legacy_neurite_type(data)

Convert legacy neurite type names, basal -> basal_dendrite and apical -> apical_dendrite.

neurots.utils.format_values(obj, decimals=None)

Format values of an object recursively.

neurots.utils.neurite_type_warning(key)

Print a deprecation warning for old neurite_type key.