hbp_nrp_commons.bibi_functions module

This module provides helper functions for the Brain and Body Integrator model (BIBI)

docstring_parameter(*sub)[source]

Helper functions to include variables in docstrings using the @docstring_parameter decorator

Parameters

sub – List of variables to be included in the docstring.

find_changed_strings(list_a, list_b)[source]

Returns a list that contains changed population names, i.e. strings from list_a are searched for in list_b. Not found strings are returned.

Parameters
  • list_a – looked up strings to be found in list_b

  • list_b – looked up strings are compared against strings in list_a

Returns

a list of strings

get_all_neurons_as_dict(populations)[source]

Gets the indexing operator for the given neuron selector

Parameters

populations – All populations

Returns

A dict with population name and slice()/list/None