neuron_morphology.feature_extractor.utilities
¶
A collection of miscellaneous tools used by the feature extractor
Module Contents¶
Functions¶
unnest (inputs: Dict[str, Any], _prefix=’’) → Dict[str, Any] |
Convert nested dictionaries (with string keys) to a dot-notation flat |
-
neuron_morphology.feature_extractor.utilities.
unnest
(inputs: Dict[str, Any], _prefix='') → Dict[str, Any]¶ Convert nested dictionaries (with string keys) to a dot-notation flat dictionary.
inputs: The dictionary to unnest. Must have all string keys _prefix : Used during recursion to build up a dot-notation prefix. Don’t
argue this yourself!Returns: - a flattened dictionary